Solved

Installing a cvs server (pserver) on Red Hat 7.3

Posted on 2002-07-11
4
238 Views
Last Modified: 2013-12-15
Does anyone know of a HOWTO for installing CVS on RH 7.3.

I tried to follow this one, but I'm having a hard time making the pserver a service and starting it.

http://www.taursys.com/howto/cvs/

Thanks,

Matt
0
Comment
Question by:mraible
  • 2
  • 2
4 Comments
 
LVL 51

Expert Comment

by:ahoffmann
ID: 7148667
if you successfully completed step2 1-7, you should be able to login and checkout.
Other steps described are only necessary if you want to use cvs' private passwd file (which must be configured in the cvs config files in CVSROOT).

What's going wrong? please post commands and results.
0
 
LVL 1

Author Comment

by:mraible
ID: 7148900
The problem is that when I get to step #6, there is no file at: /etc/inetd.conf

So I put this information:

#
# CVS PServer
#
cvspserver stream tcp nowait cvs /usr/bin/cvs cvs --allow-root=/usr/local/cvsroot pserver

In a cvspserver file in /etc/init.d/cvspserver - but it won't start as a service, and if I use a GUI to try and configure it, it won't show up - even though this line:

cvspserver 2401/tcp #CVS PServer

is in /etc/services.
0
 
LVL 51

Accepted Solution

by:
ahoffmann earned 150 total points
ID: 7150148
oops, it's RH (should have read carefully)
RH uses xinetd, not inetd, so you need to have a
  /etc/xinetd.d/cvs
file with following content:
# default: on
# description: cvs
service cvspserver
{
    port          = 2401
    socket_type   = stream
    wait          = no
    user          = root
    server        = /usr/bin/cvs
    server_args   = -f --allow-root=/usr/local/cvsroot pserver
    log_on_failure += USERID
    disable       = no
}

Then restart xinetd with
  kill -1 <pid of xinetd>
0
 
LVL 1

Author Comment

by:mraible
ID: 7150689
Awesome, and much faster than on my Windows 2000 box with double the RAM!

Thanks for your help!
0

Featured Post

Active Directory Webinar

We all know we need to protect and secure our privileges, but where to start? Join Experts Exchange and ManageEngine on Tuesday, April 11, 2017 10:00 AM PDT to learn how to track and secure privileged users in Active Directory.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

rdate is a Linux command and the network time protocol for immediate date and time setup from another machine. The clocks are synchronized by entering rdate with the -s switch (command without switch just checks the time but does not set anything). …
Linux users are sometimes dumbfounded by the severe lack of documentation on a topic. Sometimes, the documentation is copious, but other times, you end up with some obscure "it varies depending on your distribution" over and over when searching for …
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

830 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question