info-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: cvs pserver problem and xinetd. connection refused


From: Guus Leeuw jr.
Subject: RE: cvs pserver problem and xinetd. connection refused
Date: Wed, 19 Jan 2005 00:07:46 +0100

> -----Original Message-----
> From: address@hidden [mailto:info-cvs-
> address@hidden On Behalf Of
> address@hidden
> Sent: mardi 18 janvier 2005 23:19

[snip]

> 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
> }

[snip]

> 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.

Moah yes... According to 3. above there is no service given for the block...
So, that's the reason why xinetd complains.

Some other comments:
1) You generally don’t need to include the service config in xinetd.conf,
but rather in its own file in /etc/xinetd.d/ (as you seem to do *also*)
2) You should not need the port assignment in your config... Given the
proper service directive and name, xinetd should be able to figure the port
number through nsswitch and friends.

Guus


-- 
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.300 / Virus Database: 265.6.13 - Release Date: 16/01/2005
 



--
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.300 / Virus Database: 265.6.13 - Release Date: 16/01/2005





reply via email to

[Prev in Thread] Current Thread [Next in Thread]