[Top][All Lists]

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

RE: Standalone CVS pserver

From: John Scott - Outlook
Subject: RE: Standalone CVS pserver
Date: Fri, 2 Mar 2001 10:32:17 -0000

We have CVS listening on port 11001 on AIX because something else of IBMs
has grabbed 2401.

This was done without changing the source. All I had to do was add an entry
to the /etc/services file as follows:

cvspserver      11001/tcp       # cvspserver

This would also need to be done on the client too.

The downside of this is that you cannot talk to pservers listening on a
different port number (though I expect this is the same if you modify the
CVS_AUTH_PORT and recompile).

I had talked to somebody a while back (can't remember their name now) who
was looking at makeing a patch to cvs to allow you to specify the port
number on the command line. Something like setting CVSROOT env var to

Also I didn't think that pserver listened on a port for you. It was designed
so that inetd would listen on the port and spawn the cvs pserver command
when a connection was made, after tying the socket connection to the stdin
stream of the spawned process. - This is only what I have observed and I may
well be way off the mark...

This is acomplished by putting the following in the inetd.conf file (all on
one line):

cvspserver      stream tcp nowait root /path_to_cvs/cvs cvs
--allow-root=/mware/cvsroot -f pserver

Remember to replace the path_to_* stuff above with the correct path
(appologies if I am teaching you how to suck eggs)...

John Scott
Senior Middleware Technical Specialist
IS Enterprise Services
Argos Ltd

> -----Original Message-----
> From: Darren Young [mailto:address@hidden
> Sent: 01 March 2001 16:22
> To: address@hidden
> Subject: Standalone CVS pserver
> I read a thread from last year that mentioned the same type of issue 
> I am looking to resolve, although I did not find any appropriate 
> answers. I am looking to set up a cvs pserver, however it will be 
> located on my hosting provider's machine. I have shell access and 
> have compiled/installed 1.11 with --prefix=$HOME. Now, what I would 
> like to do is something like this:
>    $HOME/bin/cvs --allow-root=$HOME/cvsroot -T$HOME/tmp -f pserver &
> It seems to start fine, although if I touch my keyboard it stops. In 
> a second shell session, netstat -na | grep 2401 doesn't show me 
> listening() either.?
> Also, I'd like to change the default port from 2401 to something 
> else, from what I have seen I need to modify CVS_AUTH_PORT in 
> client.h and recompile, correct? It seems as though there is no way 
> to set this at run-time.
> Has anyone successfully done this, if so, what details am I missing? 
> By the way, the machine that I am running this on is a RedHat 
> 6.2/2.2.16-3.
> Thanks in advance, 
> Darren Young
> _______________________________________________
> Info-cvs mailing list
> address@hidden


Click here to visit the Argos home page

The information contained in this message or any of its attachments may be 
privileged and confidential, and is intended exclusively for the addressee.
The views expressed may not be official policy, but the personal views of the 
If you are not the addressee, any disclosure, reproduction, distribution, 
dissemination or use of this communication is not authorised.
If you have received this message in error, please advise the sender by using 
the reply facility in your e-mail software.
All messages sent and received by Argos Ltd are monitored for virus, high risk 
file extensions, and inappropriate content.  As a result users should be aware 
that mail may be accessed.


reply via email to

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