[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
cvs pserver problem and xinetd. connection refused
From: |
matthias |
Subject: |
cvs pserver problem and xinetd. connection refused |
Date: |
Tue, 18 Jan 2005 14:18:49 -0800 |
User-agent: |
Internet Messaging Program (IMP) 3.2.2 |
Hey guys,
these are the steps I've taken so far to run pserser in cvs 1.11.18 (redhat 9);
however, I always get the message:
"cvs [login aborted]: connect to ##address##(##address##):2401 failed:
Connection refused"
1. created $CVSROOT and exported it. repository is set to /cvs
2. initialized the repository with init
3. added following line to the /etc/xinetd.conf file so xinetd listens to port
2401 and knows to run command cvs pserver when it receives a connection:
{
port = 2401
socket_type = stream
protocol = tcp
user = root
wait = no
type = UNLISTED
server = /usr/bin/cvs
server_args = -f --allow-root=/cvs pserver
disable = no
}
4. made sure /etc/services has the symbolic service name like below
cvspserver 2401/tcp
cvspserver 2401/udp
5. created file /etc/xinetd.d/cvspserver containing the following service
cvspserver
{
port = 2401
socket_type = stream
protocol = tcp
wait = no
user = root
env = HOME=/cvs
server = /usr/bin/cvs
server_args = -f --allow-root=/cvs pserver
disable = no
}
6. restart xinetd
7. created file $CVSROOT/CVSROOT/passwd with username:password in its
own line for every user.
When I run the following command "netstat -anp", I don't see "cvspserver"
running on 2401, there is nothing running on that port!
Lastly, I've looked at the /var/log/messages file and do not see
anything of use to me in this matter. There is absolutely nothing in
this file about cvspserver or pserver. The only thing I see is the
following when xinetd is restarted:
Jan 19 15:05:01 emobilebugzilla xinetd[8501]: missing service keyword [line=21]
If anyone has any sort of clue as to why this is happening please let
me know. Most importantly, if someone knows how to fix it I will be
extremely grateful. Thank you for your time.
- cvs pserver problem and xinetd. connection refused,
matthias <=