/etc/init.d/xinetd restart joelja On Wed, 11 Feb 2004, 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 :-) > > > -- -------------------------------------------------------------------------- Joel Jaeggli Unix Consulting joelja@xxxxxxxxxxxxxxxxxxxx GPG Key Fingerprint: 5C6E 0104 BAF0 40B0 5BD3 C38B F000 35AB B67F 56B2