LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 08-04-2005, 02:33 PM   #1
Yig
Member
 
Registered: Aug 2005
Location: Montreal, Qc
Distribution: CentOs 4.5/5.0
Posts: 113

Rep: Reputation: 15
Need help with CVS 1.12.12 on CentOs 4.1


I managed to successfully compile and install 1.12.12 on CentOS 4.1.

I ran "cvs init" and gave permissions to /usr/local/cvsroot to the cvs group that I created.

I can't access it from Eclipse on my Windows station.

I get the "Cannot connect to host" error message.

I think that it is because port is 2401 is closed. Nmap report it as closed but I allow inbound traffic thru port 2401 in Firestarter (Iptables is disabled). CVS is the only app that I can't access.

What should I do next?

How can I open port 2401 without using Iptables ?

Thanks.

Simon
 
Old 08-05-2005, 08:03 AM   #2
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,163
Blog Entries: 1

Rep: Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032
Are you sure that the daemon is running? Do you run it, through (x)inetd? Run "netstat -tan" in the box you installed cvs to see if port 2401 is LISTENing.
 
Old 08-05-2005, 09:19 AM   #3
Yig
Member
 
Registered: Aug 2005
Location: Montreal, Qc
Distribution: CentOs 4.5/5.0
Posts: 113

Original Poster
Rep: Reputation: 15
I think that this is the problem....

Would adding this to xinetd.conf works: cvspserver stream tcp nowait root /usr/local/bin/cvs cvs --allow-root=/usr/local/cvs pserver

?
 
Old 08-05-2005, 10:29 AM   #4
Yig
Member
 
Registered: Aug 2005
Location: Montreal, Qc
Distribution: CentOs 4.5/5.0
Posts: 113

Original Poster
Rep: Reputation: 15
Nevermind, I got it to work

I created a cvspserver file in /etc/xinetd.d which contains:

service cvspserver
{
socket_type = stream
protocol = tcp
wait = no
user = root
passenv =
server = /usr/bin/cvs
server_args = -f --allow-root=/usr/local/cvsroot pserver
disable = no
}

Whew, I'm pretty happy now

Thanks for poiting me in the right direction.
 
  


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
create a cvs repository with existing files to cvs powah Linux - Software 1 08-19-2005 09:19 AM
Whats the differnce between Centos and CentOS? duffmckagan cAos 1 06-12-2005 12:23 PM
update centos 4 rc1 to centos 4 trou yum? maxut cAos 2 03-04-2005 02:36 AM
Obtaining sources by CVS - no cvs access cybrjackle *BSD 0 01-18-2005 08:28 AM
cvs wine. Unable to download. Error "cvs: command not found" gonus Debian 5 08-03-2004 07:13 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 10:06 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