CVS on redhat


 
Thread Tools Search this Thread
Operating Systems Linux Red Hat CVS on redhat
# 1  
Old 04-23-2008
CVS on redhat

Hi all,

i am trying to set up a CVS server on linux and to remote access the repository using WinCVS. I am facing some problem and i am unsure whether is it the client or the server not set up properly.

In my winCVS client, i clicked Admin ->login and i specify my CVSROOT to be ": pserver:username:@a.b.c.d:2401/usr/mycvs/env1/CVSROOT", (there is not supposed to be a space between ':' and 'pserver', i had to add the space otherwise a smiley comes out) then i got an error message
Code:
cvs [login aborted]: Error reading from server a.b.c.d: -1: Unknown error

In my /var/log/message i get
Code:
xinetd[23451]: START: cvspserver pid=28566 from=i.j.k.l
xinetd[28566]: libwrap refused connection to cvspserver (libwrap=cvs) from i.j.k.l
xinetd[28566]: FAIL: cvspserver libwrap from=i.j.k.l
xinetd[23451]: EXIT: cvspserver status=0 pid=28566 duration=0(sec)


On my server side my /etc/xinetd.d/cvspserver is below. I've checked on net, some resources say i need to name the file cvs, while some say cvspserver. Which is correct?
Code:
# default: off
# description: The CVS service can record the history of your source \
#              files. CVS stores all the versions of a file in a single \
#              file in a clever way that only stores the differences \
#              between versions.
service cvspserver
{
        disable                 = no
        port                    = 2401
        socket_type             = stream
        protocol                = tcp
        wait                    = no
        user                    = root
        passenv                 = PATH
        server                  = /usr/bin/cvs
        env                     = HOME=/usr/mycvs
        server_args             = -f --allow-root=/usr/mycvs/test pserver

}

Currently, my passwd file in my /usr/mycvs/test/CVSROOT has an entry
Code:
username:encrypted_password:os_user

where os_user is a valid OS login and has permission on the /usr/mycvs directories.

Would appreciate if anyone can tell me what is incorrect.
# 2  
Old 04-23-2008
Your error log posted seems to suggest that something like tcpwrappers blocked the connection. Have you checked the relevant configuration?
# 3  
Old 04-23-2008
Hi cbkihong, how to i check that?
# 4  
Old 04-24-2008
I'm not too familiar with tcpwrappers. I suggest you to start with the tcpd manpage, and look into the files /etc/hosts.allow and /etc/hosts.deny.
# 5  
Old 04-24-2008
Do you really need to use pserver, or could you run with :ext: over ssh instead? It's probably better in a number of ways.
# 6  
Old 04-24-2008
hosts.allow and hosts.deny are the relevant files under /etc. Plenty of docs on them.
Tcpwrappers (as already explained) is the issue..not xinetd.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

Help With CVS - Not enough space

Hi, I am having a strange issue with CVS. The output shows that there is not enough space for the .cvspass. the .cvspass is in the users home dir, which has 4GB available. Error Message: cvs status: cannot read /home/<user>/.cvspass: Not enough space cvs status: authorization... (6 Replies)
Discussion started by: techy1
6 Replies

2. UNIX for Advanced & Expert Users

Sort command results are different in Redhat 4 vs Redhat 5

Hi, I am having a text file with the following contents ########### File1 ########### some page1.txt text page.txt When I sort this file on Red Hat 5, then I get the following output ########### File1 ########### page1.txt page.txt some (3 Replies)
Discussion started by: sarbjit
3 Replies

3. AIX

Using cvs on AIX

Hello. I am using CVS on my AIX 6.1 box. I have gotten the repository setup and everything is working from command line. Now I want to use CVS on my Windows 7 machine using the remote repository on my AIX box. Has anyone else tried this? Why can't I get this to work? I have tried using... (3 Replies)
Discussion started by: hpodhrad
3 Replies

4. Red Hat

CVS Configuration Help

Hello, I have read a great deal of documentation on CVS and I hope I have not overlooked what I need but I have certain issues with CVS that I cannnot resolve. The setup for the /etx/xinetd.d file I have is as follows: # default: off # description: The CVS service can record the history... (2 Replies)
Discussion started by: mojoman
2 Replies

5. Debian

What is CVS...?

Hi everyone... Could one of you kind Linux experts please let me know what CVS is In return I will kindly give you a thumbs up :b: a good trade I feel!! (1 Reply)
Discussion started by: TonyChapman
1 Replies

6. Solaris

cvs error

dear all I'm one of the CVS administrators here at my company and i have this cvs error in the messages Sep 18 07:20:37 dev cvs: Dying gasps received from client. can any one help me about this error ............. thanks murad jaber (1 Reply)
Discussion started by: murad.jaber
1 Replies

7. UNIX for Advanced & Expert Users

Cvs Cr-lf

I've experienced a problem with CVS when I've checked out sh script. When new build was created sources were checked out from CVS under Windows. Later this build was deployed under Linux und I recieved error from shell becouse of CR-LF EOL in file. I've tryed command dos2unix and become script... (7 Replies)
Discussion started by: Hitori
7 Replies

8. UNIX for Dummies Questions & Answers

CVS on UNIX

Hey guys, I am trying to setup CVS to run with an SSH connection, but am hitting a brick wall. I seem to be getting CVS to login correctly, but when I attempt to check out a module I am getting the following error: ksh: cvs: not found This is kinda implying to me that its not loading... (2 Replies)
Discussion started by: LiquidChild
2 Replies

9. UNIX for Advanced & Expert Users

Regarding Synchronizing 2 CVS.

Hi As a System Admin, I have to handle synchronzing 2 CVS. But I'm new to CVS & hardly have any knowledge of such tools. Please help me, is there any way, that can automatize the process for synchronizing the 2 remotely residing CVS database with out manual intervension. Ex:- CVA... (1 Reply)
Discussion started by: S.Vishwanath
1 Replies

10. Shell Programming and Scripting

CVS, Perl and VI

I am trying to write a Perl script to cover a few CVS commands (setup specifically), however the VI screen that pops up and requests a comment, what is the best way of entering the text automatically (will be a variable name) and then saving that cvs notification from my Perl program? Help is... (2 Replies)
Discussion started by: Shakey21
2 Replies
Login or Register to Ask a Question