The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > OS Specific Forums > Linux
Google UNIX.COM


Linux RedHat, Ubuntu, SUSE, Fedora, Debian, Mandriva, Slackware, Gentoo linux, PCLinuxOS. All Linux questions here!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
redhat boyep Linux 1 01-03-2007 07:07 AM
SCO Vs Redhat homerjj UNIX for Advanced & Expert Users 3 09-27-2006 08:39 AM
redhat keliy1 Linux 1 09-13-2004 08:04 AM
RedHat merlin UNIX for Dummies Questions & Answers 3 06-13-2002 07:22 AM
redhat 7.1 GUI tlcrowder UNIX for Dummies Questions & Answers 2 10-02-2001 10:33 PM

Reply
 
Submit Tools LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 04-23-2008
Registered User
 

Join Date: Jan 2006
Posts: 124
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit! Stumble this Post!Spurl this Post!
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.
Reply With Quote
Forum Sponsor
  #2 (permalink)  
Old 04-23-2008
Moderator
 

Join Date: Sep 2002
Location: Hong Kong, China
Posts: 1,387
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit! Stumble this Post!Spurl this Post!
Your error log posted seems to suggest that something like tcpwrappers blocked the connection. Have you checked the relevant configuration?
Reply With Quote
  #3 (permalink)  
Old 04-23-2008
Registered User
 

Join Date: Jan 2006
Posts: 124
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit! Stumble this Post!Spurl this Post!
Hi cbkihong, how to i check that?
Reply With Quote
  #4 (permalink)  
Old 04-24-2008
Moderator
 

Join Date: Sep 2002
Location: Hong Kong, China
Posts: 1,387
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit! Stumble this Post!Spurl this Post!
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.
Reply With Quote
  #5 (permalink)  
Old 04-24-2008
era era is online now
Herder of Useless Cats
 

Join Date: Mar 2008
Location: /there/is/only/bin/sh
Posts: 2,249
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit! Stumble this Post!Spurl this Post!
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.
Reply With Quote
  #6 (permalink)  
Old 04-24-2008
Registered User
 

Join Date: Dec 2007
Location: Virginia, USA.
Posts: 211
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit! Stumble this Post!Spurl this Post!
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.
Reply With Quote
Google UNIX.COM
Reply

Tags
linux

Thread Tools
Display Modes


The 50 most popular UNIX and Linux searches.
Google Search Cloud for The UNIX and Linux Forums
421 service not available, remote server has closed connection ^m automate ftp autosys awk trim bash eval bash for loop boot: cannot open kernel/sparcv9/unix command copy/move folder in unix curses.h cut command in unix daemon process find grep find mtime find null character in a unix file from ip can we get machine name +unix glance unix grep multiple lines grep or grep recursive how to redirect console logs in unix inaddr_any inappropriate ioctl for device lynx javascript mailx attachment mget mtime perl array length ping port remove first character from string in k shell replace space by comma , perl script scp recursive segmentation fault(coredump) sftp script snoop unix stale nfs file handle syn_sent tar exclude tar extract to folder unix unix .profile unix forum unix forums unix internals unix interview questions unix mtime unix simulator unix.com vi substitute while loop within while loop shell script


All times are GMT -7. The time now is 12:27 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008 The CEP Blog All Rights Reserved -Ad Management by RedTyger Visit The Global Fact Book

Content Relevant URLs by vBSEO 3.2.0

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101