Re: restarting xinetd

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

 



On Wed, 2004-02-11 at 22:11, don 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 :-)
> 
Hi Don, and welcome to the wonderful world of Linux :)
Try "service xinetd restart", it will tell you xinetd is shutting down
and starting up again....
"service <name of service> start/stop/restart/reload/status is very
useful....

Sturla




[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux