Try dropping the trailing slash on the allow-root option value.

-- Matthew Brown

----- Original Message ----- 
From: "Phil Shrimpton" <[EMAIL PROTECTED]>
To: "Larry Jones" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Wednesday, March 01, 2000 1:34 PM
Subject: RE: Password or Set-up Problem?


> > From: Larry Jones [mailto:[EMAIL PROTECTED]]
> 
> Hi,
> 
> > Phil Shrimpton writes:
> > >
> > > Same error as before : recv() ... Connect reset by peer
> > >
> > it's almost surely an inetd problem -- either the path to cvs is
> > wrong in inted.conf (check it very carefully), cvs is not executable, or
> > it's crashing immediately.  Many version of inetd log error messages
> > using syslog() -- see if you can find any.  If not, try running inetd
> > with debugging turned on.  I assume you've run cvs on the server by
> > hand?
> 
> OK, here is what I have tried and the results (the results are the same
> doing it from the local machine or a Windows box on the network)...
> 
> 1)CVS works (--help etc.) without crashing.
> 
> 2)If I telnet to servername 4201 I get...
> 
> "Unable to connect to remote host:Connection Refused"
> 
> 3)If I telnet to servername cvspserver, it connects then I get...
> 
> "Connection Closed by foreign Host"
> 
> 4)If I change my inetd.conf entry to:
> 
> 'cvspserver stream tcp nowait root /home/phil/cvs-1.10.8/cvs  cvs'
> 
> ...when I try to log in I get the cvs 'usage details', so I guess my path is
> correct
> 
> 5)When I add '--allow-root=/cvsmaster/ pserver' to the inetd.conf entry
> above, when I try to login cvs prompts for a password and then I get either:
> 
> 'cvs [login aborted]: received broken pipe signal' or
> 'cvs [login aborted]: recv() from myserver: Connection reset by peer'
> 
> It seams random when I get either error message.
> 
> Not sure if that gives any clues?
> 
> Cheers
> 
> Phil
> 
> 

Reply via email to