Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
xinetd not working
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
dgrant
Apprentice
Apprentice


Joined: 28 May 2003
Posts: 158
Location: Vancouver, BC, Canada

PostPosted: Thu Jul 22, 2004 6:10 am    Post subject: xinetd not working Reply with quote

cvspserver and hotwayd both aren't working and I'm pretty sure it's xinetd's fault since both of them work on their own. For example, cvs works with ssh instead and hotwayd works when I run it from the command line. Can anyone give me a hand?
Back to top
View user's profile Send private message
devon
l33t
l33t


Joined: 23 Jun 2003
Posts: 943

PostPosted: Thu Jul 22, 2004 6:26 am    Post subject: Reply with quote

Can you post the relevant xinetd error messages and your xinetd.d/ files for cvspserver and hotwayd?
Back to top
View user's profile Send private message
dgrant
Apprentice
Apprentice


Joined: 28 May 2003
Posts: 158
Location: Vancouver, BC, Canada

PostPosted: Thu Jul 22, 2004 7:10 am    Post subject: Reply with quote

Code:
service cvspserver
{
        disable         = no
        socket_type     = stream
        wait            = no
        user            = root
        log_type        = FILE /var/log/cvspserver
        protocol        = tcp
        env             = HOME=/var/cvsroot
        log_on_failure  += USERID
        port            = 2401
        server          = /usr/bin/cvs
        server_args     = -f --allow-root=/var/cvsroot pserver
}

Code:

service hotwayd
{
        only_from               = localhost
        socket_type             = stream
        wait                    = no
        user                    = nobody
        port                    = 110
        server                  = /usr/sbin/hotwayd
        server_args             = -s
        log_on_success          += USERID
        log_on_failure          += USERID
        disable                 = no
}


Code:

defaults
{
        only_from      = localhost
        instances      = 60
        log_type       = SYSLOG authpriv info
        log_on_success = HOST PID
        log_on_failure = HOST
        cps            = 25 30
}

includedir /etc/xinetd.d


Sorry I don't the error messages, where can I find them?
Back to top
View user's profile Send private message
devon
l33t
l33t


Joined: 23 Jun 2003
Posts: 943

PostPosted: Thu Jul 22, 2004 11:53 am    Post subject: Reply with quote

I would try adding the following to your cvspserver and hotwayd xinetd.d conf files
Code:
type = unlisted
Back to top
View user's profile Send private message
dgrant
Apprentice
Apprentice


Joined: 28 May 2003
Posts: 158
Location: Vancouver, BC, Canada

PostPosted: Thu Jul 22, 2004 4:52 pm    Post subject: Reply with quote

What does that do? I tried it for hotwayd but it still doesn't work.
Back to top
View user's profile Send private message
devon
l33t
l33t


Joined: 23 Jun 2003
Posts: 943

PostPosted: Thu Jul 22, 2004 5:03 pm    Post subject: Reply with quote

man xinetd.conf wrote:
type Any combination of the following values may be used:

RPC if this is an RPC service

INTERNAL if this is a service provided by xinetd.

TCPMUX/TCPMUXPLUS if this is a service that will be started according to the RFC 1078 protocol on the TCPMUX well-known port. See the section describing TCPMUX services below.

UNLISTED if this is a service not listed in a standard system file (like /etc/rpc for RPC services, or /etc/services for non-RPC services).

Any errors in /var/log/messages?
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum