2008年7月19日星期六

CVS pserver安装的错误

CVS pserver安装好后,连接的时候,会显示错误信息:
cvs [login aborted]: reading from server: Connection reset by peer
参考 http://ximbiot.com/cvs/wiki/CVS--Concurrent%20Versions%20System%20v1.12.12.1:%20Troubleshooting 后,用telnet直接连接,有
$ telnet 210.45.121.131 2401
Trying 210.45.121.131...
Connected to 210.45.121.131.
Escape character is '^]'.
Connection closed by foreign host.
断定inetd.conf有问题,仔细check后,发现
2401  stream  tcp  nowait  cvsroot  /usr/local/bin/cvs cvs -f --allow-root=/home/cvsroot pserver
中的/usr/local/bin/cvs是从网上拷贝的,应该是 /usr/bin/cvs ,而后,一切正常

--
6G免费网络U盘: http://www.orbitfiles.com/signup/rleon

没有评论: