2004-6-22 21:04
carol
连接的内容如下:<br /><br /><!--QuoteBegin--><div class='quotetop'>QUOTE</div><div class='quotemain'><!--QuoteEBegin-->On Thursday 24 July 2003 12:41, James D. Parra wrote: <br />> Hello, <br />> <br />> I am trying to get a connection to a remote cvs server with the <br />> pserver protocol. I keep getting "no such repository". Do I need to <br />> create a file under /etc/xinitd.d called cvspserver, and if so, what <br />> exactly should be in there? I've tried several from the web, but none <br />> solved the problem. Any suggestions or additional info would be <br />> appreciated. <br />> <br />> I ran "cvs -d /data/cvs init" and it created the CVSROOT directory <br />> with all of the files. I used the webmin CVS module to create user <br />> accounts. Everything appears to be okay, but something is obviously <br />> missing. <br />> <br />> Thank you in advance for your input. <br />> <br />> James D. Parra <br />> JamesP@MusicReports.com <br /><br /><br />Yes, you need to create the xinetd files. See the manual at: <br /><a href='http://www.cvshome.org/docs/manual/cvs-1.11.6/cvs_2.html#SEC30' target='_blank'>http://www.cvshome.org/docs/manual/cvs-1.1...vs_2.html#SEC30</a> assuming <br />you're using the lastest released version. My working <br />/etc/xinetd.d/cvspserver is below for reference. (Your path may be <br />different since I use the tarball rather than RH9's distribution). <br /><br /><br />service cvspserver <br />{ <br /> port = 2401 <br /> socket_type = stream <br /> protocol = tcp <br /> wait = no <br /> user = root <br /> passenv = PATH <br /> server = /usr/local/bin/cvs <br /> server_args = -f --allow-root=<full_path_to_repository> pserver <br />} <br /><br /><br />Regards, Mike Klinke <br /><br /><br /><!--QuoteEnd--></div><!--QuoteEEnd-->