I tried to config cvs under Redhat 7.1, but failed. Following the steps I
followed.

1. In /etc/profile I put

CVSROOT=/usr/local/cvsroot
export CVSROOT

2. source /etc/profile

3. cvs init

4. under "/etc/xinitd.d" I created a file called "cvspserver" and put these
lines
service cvspserver
{
   disable     = no
   port        = 2401
   socket_type = stream
   protocol    = tcp
   wait        = no
   user        = root
   passenv     =
   server      = /usr/local/bin/cvs
   server_args = -f --allow-root=/usr/local/cvsroot pserver
}

5. added a user call "cvs"

5. put a "passwd" file under (a copy of /etc/shadow)
/usr/local/cvsroot/CVSROOT

6. restarted the "xinetd" service issuing the command
service xinetd restart

7. listed ports using nmap tool
nmap localhost

It shows the follwing list.


Starting nmap V. 3.00 ( www.insecure.org/nmap/ )
Interesting ports on localhost.localdomain (127.0.0.1):
(The 1595 ports scanned but not shown below are in state: closed)
Port       State       Service
22/tcp     open        ssh
111/tcp    open        sunrpc
139/tcp    open        netbios-ssn
1024/tcp   open        kdm
1025/tcp   open        NFS-or-IIS
6000/tcp   open        X11



So this shows cvs server is not started at port 2401? what is the mistake I
did?

Please help me.


Thanks.

Sajeewa Chandrasekera.







-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to