Re: Trouble making a connection to a CVS server

2000-04-11 Thread Magne Østlyngen

Jay Corrales wrote:
 I am having no luck connecting the cvs client to the server. The cvs server
 gets kicked off by the internet daemon on our SunOS 5.7(=? Solaris 2.7)
 while servicing port 2401 requests. I check the process list and see the
 following line:
 
 solaris2% ps -efl | grep cvs
  8 S root 16263   155  0  41 20?278? 05:24:59 ?
 0:00 cvs -td /usr/local/cvsroot --allow--root=/usr/local/cvsroot pserver

Probably is that you've spelled --allow-root wrong (you have -- between
allow and root).

-- 
Magne Østlyngen [EMAIL PROTECTED]
[EMAIL PROTECTED]




RE: Trouble making a connection to a CVS server

2000-04-11 Thread Jay Corrales

Greetings,
Sorry I cut-and-pasted the line incorrectly. I do actually have the correct
line in the log file. The only other thing I can think of at this point is
to attach a debugger to the process.
Thanks,
-Jay


solaris2% ps -efl | grep cvs
 8 S root 16263   155  0  41 20?278? 05:24:59 ?
0:00 cvs -td /usr/local/cvsroot --allow-root=/usr/local/cvsroot pserver


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Magne Østlyngen
Sent: Tuesday, April 11, 2000 8:15 AM
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Subject: Re: Trouble making a connection to a CVS server


Jay Corrales wrote:
 I am having no luck connecting the cvs client to the server. The cvs
server
 gets kicked off by the internet daemon on our SunOS 5.7(=? Solaris 2.7)
 while servicing port 2401 requests. I check the process list and see the
 following line:

 solaris2% ps -efl | grep cvs
  8 S root 16263   155  0  41 20?278? 05:24:59 ?
 0:00 cvs -td /usr/local/cvsroot --allow--root=/usr/local/cvsroot pserver

Probably is that you've spelled --allow-root wrong (you have -- between
allow and root).

--
Magne Østlyngen [EMAIL PROTECTED]
[EMAIL PROTECTED]




RE: Trouble making a connection to a CVS server

2000-04-11 Thread Chris Cameron

On Wednesday, April 12, 2000 12:54 AM, Jay Corrales 
[SMTP:[EMAIL PROTECTED]] wrote:
 Hello,
 I am having no luck connecting the cvs client to the server. The cvs 
server
 gets kicked off by the internet daemon on our SunOS 5.7(=? Solaris 2.7)
 while servicing port 2401 requests. I check the process list and see the
 following line:

 solaris2% ps -efl | grep cvs
  8 S root 16263   155  0  41 20?278? 05:24:59 ?
 0:00 cvs -td /usr/local/cvsroot --allow--root=/usr/local/cvsroot pserver

 However the client never passes the authentication state. For example if 
I
 try:

 telnet solaris2 2401

 After connecting, I send any text (for example "foo" followed by return).
 CVS does not respond at all; instead the telnet session hangs without
 feedback.

 solaris2% cvs -version
 Concurrent Versions System (CVS) 1.10 `Halibut' (client/server)
 ...
 solaris2% cat config
 # Set this to "no" if pserver shouldn't check system users/passwords
 #SystemAuth=no

 # Set `PreservePermissions' to `yes' to save file status information
 # in the repository.
 #PreservePermissions=no

 # Set `TopLevelAdmin' to `yes' to create a CVS directory at the top
 # level of the new working directory when using the `cvs checkout'
 # command.
 #TopLevelAdmin=no
 solaris2%

Are you running the pserver as root or another user (in the inetd.conf 
file)?  Solaris uses a shadow file to store passwords and only root has 
read access (by default) to this file.  So if pserver is running as root 
and SystemAuth=yes (the default) everything works fine.  But if pserver is 
running as another user, it cannot read the shadow file and therefore 
cannot authenticate the password.  In this case, you have to create a 
password file in CVSROOT.


***
Chris CameronOpen Telecommunications NZ Ltd
Software Development Team Leader
[EMAIL PROTECTED]   P.O.Box 10-388
  +64 4 495 8403 (DDI)  The Terrace
fax:  +64 4 495 8419 Wellington
cell: +64 21 650 680New Zealand
Life, don't talk to me about life (Marvin - HHGTTG)





RE: Trouble making a connection to a CVS server

2000-04-11 Thread Jay Corrales

The internet daemon does run the process as root. Also I tried to connect
with both SystemAuth set to "yes" and "no" within the CVSROOT/config file.
Thanks,
-Jay

-Original Message-
From: Chris Cameron [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, April 11, 2000 1:33 PM
To: '[EMAIL PROTECTED]'; [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Subject: RE: Trouble making a connection to a CVS server


On Wednesday, April 12, 2000 12:54 AM, Jay Corrales
[SMTP:[EMAIL PROTECTED]] wrote:
 Hello,
 I am having no luck connecting the cvs client to the server. The cvs
server
 gets kicked off by the internet daemon on our SunOS 5.7(=? Solaris 2.7)
 while servicing port 2401 requests. I check the process list and see the
 following line:

 solaris2% ps -efl | grep cvs
  8 S root 16263   155  0  41 20?278? 05:24:59 ?
 0:00 cvs -td /usr/local/cvsroot --allow--root=/usr/local/cvsroot pserver

 However the client never passes the authentication state. For example if
I
 try:

 telnet solaris2 2401

 After connecting, I send any text (for example "foo" followed by return).
 CVS does not respond at all; instead the telnet session hangs without
 feedback.

 solaris2% cvs -version
 Concurrent Versions System (CVS) 1.10 `Halibut' (client/server)
 ...
 solaris2% cat config
 # Set this to "no" if pserver shouldn't check system users/passwords
 #SystemAuth=no

 # Set `PreservePermissions' to `yes' to save file status information
 # in the repository.
 #PreservePermissions=no

 # Set `TopLevelAdmin' to `yes' to create a CVS directory at the top
 # level of the new working directory when using the `cvs checkout'
 # command.
 #TopLevelAdmin=no
 solaris2%

Are you running the pserver as root or another user (in the inetd.conf
file)?  Solaris uses a shadow file to store passwords and only root has
read access (by default) to this file.  So if pserver is running as root
and SystemAuth=yes (the default) everything works fine.  But if pserver is
running as another user, it cannot read the shadow file and therefore
cannot authenticate the password.  In this case, you have to create a
password file in CVSROOT.


***
Chris CameronOpen Telecommunications NZ Ltd
Software Development Team Leader
[EMAIL PROTECTED]   P.O.Box 10-388
  +64 4 495 8403 (DDI)  The Terrace
fax:  +64 4 495 8419 Wellington
cell: +64 21 650 680New Zealand
Life, don't talk to me about life (Marvin - HHGTTG)




RE: Trouble making a connection to a CVS server

2000-04-11 Thread Chris Cameron

On Wednesday, April 12, 2000 11:01 AM, Jay Corrales [SMTP:[EMAIL PROTECTED]] 
wrote:
 The internet daemon does run the process as root. Also I tried to connect
 with both SystemAuth set to "yes" and "no" within the CVSROOT/config file.
 Thanks,
 -Jay


What is the line in your inetd.conf?
 
 -Original Message-
 From: Chris Cameron [mailto:[EMAIL PROTECTED]]
 Sent: Tuesday, April 11, 2000 1:33 PM
 To: '[EMAIL PROTECTED]'; [EMAIL PROTECTED]
 Cc: [EMAIL PROTECTED]
 Subject: RE: Trouble making a connection to a CVS server
 
 
 On Wednesday, April 12, 2000 12:54 AM, Jay Corrales
 [SMTP:[EMAIL PROTECTED]] wrote:
  Hello,
  I am having no luck connecting the cvs client to the server. The cvs
 server
  gets kicked off by the internet daemon on our SunOS 5.7(=? Solaris 2.7)
  while servicing port 2401 requests. I check the process list and see the
  following line:
 
  solaris2% ps -efl | grep cvs
   8 S root 16263   155  0  41 20?278? 05:24:59 ?
  0:00 cvs -td /usr/local/cvsroot --allow--root=/usr/local/cvsroot pserver
 
  However the client never passes the authentication state. For example if
 I
  try:
 
  telnet solaris2 2401
 
  After connecting, I send any text (for example "foo" followed by return).
  CVS does not respond at all; instead the telnet session hangs without
  feedback.
 
  solaris2% cvs -version
  Concurrent Versions System (CVS) 1.10 `Halibut' (client/server)
  ...
  solaris2% cat config
  # Set this to "no" if pserver shouldn't check system users/passwords
  #SystemAuth=no
 
  # Set `PreservePermissions' to `yes' to save file status information
  # in the repository.
  #PreservePermissions=no
 
  # Set `TopLevelAdmin' to `yes' to create a CVS directory at the top
  # level of the new working directory when using the `cvs checkout'
  # command.
  #TopLevelAdmin=no
  solaris2%
 
 Are you running the pserver as root or another user (in the inetd.conf
 file)?  Solaris uses a shadow file to store passwords and only root has
 read access (by default) to this file.  So if pserver is running as root
 and SystemAuth=yes (the default) everything works fine.  But if pserver is
 running as another user, it cannot read the shadow file and therefore
 cannot authenticate the password.  In this case, you have to create a
 password file in CVSROOT.
 


***
Chris CameronOpen Telecommunications NZ Ltd
Software Development Team Leader
[EMAIL PROTECTED]   P.O.Box 10-388
  +64 4 495 8403 (DDI)  The Terrace
fax:  +64 4 495 8419 Wellington
cell: +64 21 650 680New Zealand
Life, don't talk to me about life (Marvin - HHGTTG)





RE: Trouble making a connection to a CVS server

2000-04-11 Thread Jay Corrales

#
# CVS Daemon (added by JSC 04/10/00)
#
cvspserver stream tcp nowait root /usr/local/bin/cvs cvs -td
/usr/local/cvsroot --allow-root=/usr/local/cvsroot pserver

-Original Message-
From: Chris Cameron [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, April 11, 2000 4:05 PM
To: '[EMAIL PROTECTED]'; [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Subject: RE: Trouble making a connection to a CVS server


On Wednesday, April 12, 2000 11:01 AM, Jay Corrales
[SMTP:[EMAIL PROTECTED]] wrote:
 The internet daemon does run the process as root. Also I tried to connect
 with both SystemAuth set to "yes" and "no" within the CVSROOT/config file.
 Thanks,
 -Jay


What is the line in your inetd.conf?

 -Original Message-
 From: Chris Cameron [mailto:[EMAIL PROTECTED]]
 Sent: Tuesday, April 11, 2000 1:33 PM
 To: '[EMAIL PROTECTED]'; [EMAIL PROTECTED]
 Cc: [EMAIL PROTECTED]
 Subject: RE: Trouble making a connection to a CVS server


 On Wednesday, April 12, 2000 12:54 AM, Jay Corrales
 [SMTP:[EMAIL PROTECTED]] wrote:
  Hello,
  I am having no luck connecting the cvs client to the server. The cvs
 server
  gets kicked off by the internet daemon on our SunOS 5.7(=? Solaris 2.7)
  while servicing port 2401 requests. I check the process list and see the
  following line:
 
  solaris2% ps -efl | grep cvs
   8 S root 16263   155  0  41 20?278? 05:24:59 ?
  0:00 cvs -td /usr/local/cvsroot --allow--root=/usr/local/cvsroot pserver
 
  However the client never passes the authentication state. For example if
 I
  try:
 
  telnet solaris2 2401
 
  After connecting, I send any text (for example "foo" followed by
return).
  CVS does not respond at all; instead the telnet session hangs without
  feedback.
 
  solaris2% cvs -version
  Concurrent Versions System (CVS) 1.10 `Halibut' (client/server)
  ...
  solaris2% cat config
  # Set this to "no" if pserver shouldn't check system users/passwords
  #SystemAuth=no
 
  # Set `PreservePermissions' to `yes' to save file status information
  # in the repository.
  #PreservePermissions=no
 
  # Set `TopLevelAdmin' to `yes' to create a CVS directory at the top
  # level of the new working directory when using the `cvs checkout'
  # command.
  #TopLevelAdmin=no
  solaris2%
 
 Are you running the pserver as root or another user (in the inetd.conf
 file)?  Solaris uses a shadow file to store passwords and only root has
 read access (by default) to this file.  So if pserver is running as root
 and SystemAuth=yes (the default) everything works fine.  But if pserver is
 running as another user, it cannot read the shadow file and therefore
 cannot authenticate the password.  In this case, you have to create a
 password file in CVSROOT.



***
Chris CameronOpen Telecommunications NZ Ltd
Software Development Team Leader
[EMAIL PROTECTED]   P.O.Box 10-388
  +64 4 495 8403 (DDI)  The Terrace
fax:  +64 4 495 8419 Wellington
cell: +64 21 650 680New Zealand
Life, don't talk to me about life (Marvin - HHGTTG)