info-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: pserver problem


From: Larry Jones
Subject: Re: pserver problem
Date: Thu, 12 Sep 2002 11:06:40 -0400 (EDT)

James P. Schmidt writes:
> 
> > cvs -d :pserver:(address@hidden):/usr/local/cvsrepos login
> (Logging in to (address@hidden))
> CVS password: <correct password>
> cvs [login aborted]: unrecognized auth response from (host): Unknown
> command: `pserver'

That means that your newly created server doesn't support pserver mode
for some reason.  On the server machine, run CVS with a bogus command:

        /usr/um/bin/cvs xxx

That will give you a list of the valid commands -- you'll note that
pserver isn't in the list.  If "server" isn't on the list either, the
problem is that configure couldn't find your TCP/IP socket library.  If
it is, then the problem is that configure couldn't find the crypt()
function that's used for encrypting passwords for pserver.  Check your
configure output and post it here if you can't figure out how to fix it.
You may also want to check with some knowledgeable Solaris people to see
if crypt() is in a special library or if you have to install some
special package to get it.

> Hmm, I just noticed that tcpwrappers appear to be in use on this machine.
> Changing /etc/inetd.conf to
> 
> cvspserver      stream  tcp     nowait  root    /usr/sbin/tcpd
> /usr/um/bin/cvs cvs --allow-root=/usr/local/cvsrepos pserver

That's incorrect -- you need to get rid of the "cvs" when using
tcpwrappers:

  cvspserver  stream  tcp  nowait  root  /usr/sbin/tcpd /usr/um/bin/cvs 
--allow-root=/usr/local/cvsrepos pserver

> and... I get a different error:
> 
> cvs [login aborted]: recv() from server (host): EOF

That implies that tcpwrappers denied your connection.  Check your
hosts.allow and hosts.deny files for the appropriate rules.  I strongly
suggest getting it working without tcpwrappers first so you minimize the
number of things that can go wrong.

-Larry Jones

Life's a lot more fun when you're not responsible for your actions. -- Calvin




reply via email to

[Prev in Thread] Current Thread [Next in Thread]