Question about xinetd?
I just added a service to my xinet.d directory
Then I issue the command /etc/rc.d/init.d/xinetd restart But how can I actually verify that a service starting through xinetd is running. The services in xinet.d directory dont' seem to list seperately in a ps -aux Ta |
Nope, the point of xinetd is to have one process only running (handy if you havew a bunch of little used network servers) that farms off connections to the actual server when required. Can you just try connecting to your service? Also, if you look at the logs, they will tell you how many services xinetd started -- check that it matches the number you expect.
|
K, anywhere where I can log xinetd specifically?
Fedora system btw |
Hmmm ... assuming you're using the default /etc/syslog.conf, I think that the xinetd log messages show up in /var/log/messages.
|
Deviating a bit from my original question but that all seems to be OK, his service is starting on port 5666, if it's starting
I also put an entry in services, but I keep getting a connection refused on that port, there is no firewall running so I can only assume that xinitd didn't start my service. Been working a bit with the netstat command to find whether I can see if there is any service sitting on port 5666 but maybe I'm not using the right syntax. How can I see which services are running on a particular port? |
Run this command and it will tell you what services are listening.
#netstat -altpu |
All times are GMT -5. The time now is 10:09 PM. |