weishengshou 发表于 2004-10-4 15:47:11

cvsd error,help!

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 : 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
8)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.

weishengshou 发表于 2004-10-8 18:03:30

help me!!!!!F!......................
F1.......................
页: [1]
查看完整版本: cvsd error,help!