Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 08-10-2008, 07:29 PM   #1
LQ Newbie
Registered: Aug 2008
Posts: 1

Rep: Reputation: 0
Red Hat 9 CVS Server Setup Problem

Hello everyone. I am new to Red Hat 9 setup and with CVSNT as well. When I am initializing a directory as repository, but I keep on getting the error "..Couldn't connect to lock server" and probably pertaining with port 2402.. Would someone help me on this? Thanks in advance.
Old 08-10-2008, 07:45 PM   #2
LQ Guru
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.9, Centos 7.3
Posts: 17,406

Rep: Reputation: 2396Reputation: 2396Reputation: 2396Reputation: 2396Reputation: 2396Reputation: 2396Reputation: 2396Reputation: 2396Reputation: 2396Reputation: 2396Reputation: 2396
If you've really got RH9 (codename shrike), its been unsupported for yrs, inc no updates, so its ripe for exploitation. If possible, get a modern distro eg RH Fedora 8 or 9.
cat /etc/issue
uname -a
to check
Also, since very few people have it anymore, you won't find many people who can help, and much modern SW won't install/run.
Old 08-11-2008, 01:07 AM   #3
Registered: Sep 2005
Location: Baltimore, MD, USA
Distribution: Fedora, Gentoo, Debian, Slackware, IRIX, OS X
Posts: 192

Rep: Reputation: 32
The RH9 repos are kinda dead. If you really need stuff from the old ones, you *could* in theory link it to download from
Old 08-11-2008, 05:42 AM   #4
LQ Newbie
Registered: Jul 2008
Posts: 7

Rep: Reputation: 0

Can you tell me the steps u haven taken to configure CVS Repository.

Or follow this steps to create CVS Repository.

1.Install the package CVS
2. cvs -d /home/cvsrepo (cvsrepo = path where to create repository, here eg. i have taken a directory called cvsrepo)
3. After executing the above cmd new direcotry called "CVSROOT" will create in /home/cvsrepo
4. cd /home/cvsrepo/CVSROOT
5. creat a file "passwd" to add cvsusers. It should be encrypted. follow the simple steps to create cvs encrypted users.
#htpasswd -c passwd u1(username)
6. c is to create file "passwd" U1 "cvsusername"
7. Edit the file /etc/inetd.conf
And add the following lines to inetd.conf
#CVS PServer
Cvspserver stream tcp nowait cvs /usr/bin/cvs cvs --allow-root=/home/cvsrepo pserver
8. Restart the system or use the cmd to update the inted.conf
#killall -hup
9.check the /etc/services for cvspserver tcp/udp port no 2041 is existing or not. If it is not then add
#Cvspserver 2401 /tcp #cvs pserver
10.execute the cmd for cvs login
#cvs -d server:u1@localhost:/home/cvsrepo login
#export CVSROOT=server:u1@locaalhost:/home/cvsrepo (localhost = you sys IP or hostname)
#cvs login
11. You can successfully login into CVS........
I hope it will help you

Thanks & Cheers


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to setup CVS server in Fedora7 and CVS client in Windows Xp? yashavanth_kumar Linux - Newbie 2 01-28-2008 08:48 PM
Setup local red hat updates server ginda Linux - Enterprise 3 04-20-2007 08:28 AM
how do I setup a secure IMAP server on Red Hat 8.0? canegames Linux - Software 2 06-27-2006 12:20 AM
Red Hat Linux 9.0 and RoadRunner: NIC Setup problem ikuomanero Linux - Networking 0 04-12-2004 11:39 AM
Strange Red Hat 8 setup problem moger Linux - General 20 03-03-2003 10:31 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:15 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration