LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Enterprise Linux Forums > Linux - Enterprise
User Name
Password
Linux - Enterprise This forum is for all items relating to using Linux in the Enterprise.

Notices


Reply
  Search this Thread
Old 09-22-2006, 05:05 AM   #1
sumesh96
LQ Newbie
 
Registered: Sep 2006
Posts: 1

Rep: Reputation: 0
How to setup a CVS server in Linux Advanced Enterprise 4


Hello
how can i setup a CVS server on Linux Advanced Enterprise 4, I am very new to this platform, Can any body help me in it ..any documents in this will help me

Thanks in advance
 
Old 09-22-2006, 02:19 PM   #2
MensaWater
LQ Guru
 
Registered: May 2005
Location: Atlanta Georgia USA
Distribution: Redhat (RHEL), CentOS, Fedora, CoreOS, Debian, FreeBSD, HP-UX, Solaris, SCO
Posts: 7,831
Blog Entries: 15

Rep: Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669
You probably want to do Subversion rather than CVS.

Have a look at the following as it explains why and appears to go into how to get started with Subversion for RHEL.

FYI: Advance Server sounds like you mean RedHat Enterprise Linux (RHEL) AS. Rather than just saying "Advance Server" you need to make sure you say RHEL if that's what it is as it will help insure people will know which distro you're talking about.
 
Old 02-22-2007, 02:55 AM   #3
SianZronG
LQ Newbie
 
Registered: Oct 2006
Distribution: RHEL Enterprise 4 ES , AS , WS
Posts: 15

Rep: Reputation: 0
I have exactly the same problem as the thread starter.
Newbie here with the same RHEL AS fresh from install.

CVS was already preinstalled in the installation.
Question is how to get it working.
Played around with it, set the CVSROOT to /usr/cvs_repository/

Checked if the xinetd ran the cvspserver in the etc/xinetd.d directory

The file was there and running checked the netstat -npl and found that the service was running.

ran "cvs init".

Went inside /usr/cvs_repository found that cvs created a CVSROOT directory. ok Somehow is guess the repository was created.

Tried to connnect VIA pserver but found out that the the firewall was blocking port 2401.

Opened the connection VIA iptables config file.

Now finally i can connect to the server VIA wincvs using pserver. BUT i ended up with this msg.

"cvs [login aborted]: authorization failed: server 10.110.0.21 rejected access to /usr/cvs_repository for user cvs"

Help?

Thanks.
 
Old 02-22-2007, 08:45 AM   #4
MensaWater
LQ Guru
 
Registered: May 2005
Location: Atlanta Georgia USA
Distribution: Redhat (RHEL), CentOS, Fedora, CoreOS, Debian, FreeBSD, HP-UX, Solaris, SCO
Posts: 7,831
Blog Entries: 15

Rep: Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669
Check to make sure xinetd is actually running (ps -ef |grep xinetd).

Don't know that it's an issue on RHAS but I just realized yesterday that FC versions 5 and 6 at least don't automatically install xinetd rpm. They create some files in /etc/xinetd.d but these aren't used if xinetd daemon isn't running.

Also do you have SELinux enabled? It causes many weird security issues. You may want to look at disabling it (which requires a reboot).

Finally see what you have in iptables (the default firewall software for RH & FC). For a quick check of whether this is your problem just run "/etc/init.d/iptables stop" to turn it off then do your test. If it works you know you need to modify your firewall rules or leave iptables turned off.

Note: From my earlier post it appears I meant to input a link but didn't. I have no clue now what link I was referring too. We aren't actively using subversion now.
 
Old 02-22-2007, 07:49 PM   #5
SianZronG
LQ Newbie
 
Registered: Oct 2006
Distribution: RHEL Enterprise 4 ES , AS , WS
Posts: 15

Rep: Reputation: 0
Quote:
Originally Posted by jlightner
Check to make sure xinetd is actually running (ps -ef |grep xinetd).

Don't know that it's an issue on RHAS but I just realized yesterday that FC versions 5 and 6 at least don't automatically install xinetd rpm. They create some files in /etc/xinetd.d but these aren't used if xinetd daemon isn't running.

Also do you have SELinux enabled? It causes many weird security issues. You may want to look at disabling it (which requires a reboot).

Finally see what you have in iptables (the default firewall software for RH & FC). For a quick check of whether this is your problem just run "/etc/init.d/iptables stop" to turn it off then do your test. If it works you know you need to modify your firewall rules or leave iptables turned off.

Note: From my earlier post it appears I meant to input a link but didn't. I have no clue now what link I was referring too. We aren't actively using subversion now.
Thanks for the reply,
I ran ps -ef |grep xinetd. it shows that it was running. I'm sure the port is also open as i did some port scanning and showed that the 2401 for cvspserver is open.

I have also turned off the SElinux to test the cvs login.

I'm still getting the msgs below.
"cvs [login aborted]: authorization failed: server 10.110.0.21 rejected access to /usr/cvs_repository for user cvs"

Thanks.
 
Old 02-23-2007, 08:36 AM   #6
MensaWater
LQ Guru
 
Registered: May 2005
Location: Atlanta Georgia USA
Distribution: Redhat (RHEL), CentOS, Fedora, CoreOS, Debian, FreeBSD, HP-UX, Solaris, SCO
Posts: 7,831
Blog Entries: 15

Rep: Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669
The message suggests it is in fact getting to the server - I should have read it more carefully. It appears from the message it is CVS itself that is rejecting the connection.

Perhaps there is a config file within CVS that tells it which connections to allow and deny? It might be worthwhile to start a new thread about this so it gets the attention of a CVS expert. Since you're responding to a long dormant thread people don't see it in the "zero replies". As I noted we don't use CVS here - we were working on Subversion but even that I haven't used for a while.
 
  


Reply



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
cvs server setup axelmang Linux - Newbie 2 08-19-2005 05:43 AM
Redhar Enterprise Linux Advanced Server on HP nx9000 sudhindram Linux - Laptop and Netbook 0 11-10-2004 06:50 AM
mysql 4.0.20 on a redhat enterprise advanced server 3 box. sathysudhakar Linux - Software 2 08-16-2004 12:14 AM
CVS Server setup harisankar Linux - Software 0 08-06-2004 08:07 AM
Difference between RH Linux Enterprise Edition AND RH Linux Advanced Workstation faizulla Linux - Software 2 03-25-2004 09:57 AM

LinuxQuestions.org > Forums > Enterprise Linux Forums > Linux - Enterprise

All times are GMT -5. The time now is 09:24 PM.

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