restarting xinetd

Don Levey fedora-list at the-leveys.us
Wed Feb 11 21:17:00 UTC 2004


fedora-list-admin at redhat.com wrote:
> I added a new "service definition" to /etc/xinetd.d directory and now
> I want to restart xinetd so the new definition is picked up.
> 
> How can I tell if xinetd actually restarted?
> I use su - to get to root, then kill -s SIGHUP <pid>
> where <pid> is the pid for xinetd as returned by ps -A|grep inet
> 
> I was expecting some messages like "xinetd shutting down/restarting",
> but the kill command just ends and I'm back at a command prompt.
> 
> Then I thought maybe it does it "quietly", but the pid number never
> changed.... maybe it just re-reades the config file without saying
> anything...
> 
> So, then I tried to connect to my new service, and the connection was
> refused (I have iptables off) ... so that means 1 or a couple of
> things: 
> - xinetd did not restart as I expected
> - xinetd restarted but my new config is incorrect
> 
> Any suggestions as to where I can find more information? I've read
> "man xinetd" and "man xinetd.conf"...
> 
> Thanks,
> Don "newbie" Russell :-)

How about "service xinetd restart"?
 -Don (also newbie) Levey





More information about the fedora-list mailing list