View previous topic :: View next topic |
Author |
Message |
dgrant Apprentice
Joined: 28 May 2003 Posts: 158 Location: Vancouver, BC, Canada
|
Posted: Thu Jul 22, 2004 6:10 am Post subject: xinetd not working |
|
|
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 |
|
|
devon l33t
Joined: 23 Jun 2003 Posts: 943
|
Posted: Thu Jul 22, 2004 6:26 am Post subject: |
|
|
Can you post the relevant xinetd error messages and your xinetd.d/ files for cvspserver and hotwayd? |
|
Back to top |
|
|
dgrant Apprentice
Joined: 28 May 2003 Posts: 158 Location: Vancouver, BC, Canada
|
Posted: Thu Jul 22, 2004 7:10 am Post subject: |
|
|
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 |
|
|
devon l33t
Joined: 23 Jun 2003 Posts: 943
|
Posted: Thu Jul 22, 2004 11:53 am Post subject: |
|
|
I would try adding the following to your cvspserver and hotwayd xinetd.d conf files
|
|
Back to top |
|
|
dgrant Apprentice
Joined: 28 May 2003 Posts: 158 Location: Vancouver, BC, Canada
|
Posted: Thu Jul 22, 2004 4:52 pm Post subject: |
|
|
What does that do? I tried it for hotwayd but it still doesn't work. |
|
Back to top |
|
|
devon l33t
Joined: 23 Jun 2003 Posts: 943
|
Posted: Thu Jul 22, 2004 5:03 pm Post subject: |
|
|
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 |
|
|
|