QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 699|回复: 1

cvsd error,help!

[复制链接]
发表于 2004-10-4 15:47:11 | 显示全部楼层 |阅读模式
When i try cvs -t -d :pserver:[email protected]:/home/cvsroot login
get
-> main loop with CVSROOT=:pserver:[email protected]:/home/cvsroot
Logging in to :pserver:[email protected]:2401/home/cvsroot
CVS password:
-> Connecting to localhost(127.0.0.1):2401
cvs [login aborted]: reading from server: Connection reset by peer
-> Lock_Cleanup()

Information:

0)emerge cvs
1)/etc/xinet.d/cvspserver

service cvspserver
{
disable = no
socket_type = stream
wait = no
user = root
group = cvs
log_type = FILE /var/log/cvspserver
protocol = tcp
env = '$HOME=/home/cvsroot'
log_on_failure += USERID
port = 2401
server = /usr/bin/cvs
server_args = -f --allow-root=/home/cvsroot pserver
}

2)cvs -d /home/cvsroot init
3)groupadd cvs
4)edit /etc/group and add mmm876 and root to cvs group
4)chgrp -R cvs /home/cvsroot
5)chmod -R 770 /home/cvsroot
6)add to /home/cvsroot/CVSROOT/passwd line mmm876:fsdfsdffsd--> i generated
password using [ http://www.flash.net/cgi-bin/pw.pl ] util.
7)/etc/init.d/xinetd restart
netstat -tap
tcp 0 0 *:cvspserver *:* LISTEN 753/cvsd

28581/xinetd
bash-2.05b# netstat -lnp|grep 2401
tcp 0 0 :::2401 :::* LISTEN 753/cvsd

9)i try telnet localhost 2401
Trying 127.0.0.1...
Connected to localhost.localdomain.
Escape character is '^]'.
Connection closed by foreign host.

this result tell me xinetd permit localhost:2401 connections.

What is wrong?
how can fix it?

Thanks in advance.
 楼主| 发表于 2004-10-8 18:03:30 | 显示全部楼层
help me!!!!!F!......................
F1.......................
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

GMT+8, 2024-11-6 22:35 , Processed in 0.076863 second(s), 16 queries .

© 2021 Powered by Discuz! X3.5.

快速回复 返回顶部 返回列表