Solved

Installing a cvs server (pserver) on Red Hat 7.3

Posted on 2002-07-11
4
241 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

Question has a verified solution.

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

This is the error message I got (CODE) Error caused by incompatible libmp3lame 3.98-2 with ffmpeg I've googled this error message and found out sometimes it attaches this note "can be treated with downgrade libmp3lame to version 3.97 or 3.98" …
If you have a server on collocation with the super-fast CPU, that doesn't mean that you get it running at full power. Here is a preamble. When doing inventory of Linux servers, that I'm administering, I've found that some of them are running on l…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial

728 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