1825801 Members
2407 Online
109687 Solutions
New Discussion

Re: inetd deamon

 
SOLVED
Go to solution
Francois Bariselle_3
Regular Advisor

inetd deamon

I modified inetd.conf on k580 server (Hp-Ux 10.20) to add a new service.
Is it possible to restart inetd deamon without corrupt existing connections.

Thanks in advance

frank.
Fais la ...
3 REPLIES 3
steven Burgess_2
Honored Contributor
Solution

Re: inetd deamon

Hi Frank

inetd -c

will get inetd to re read config file and make any ammendments. Shouldn' affect open sessions

HTH

Steve
take your time and think things through
Paul Sperry
Honored Contributor

Re: inetd deamon

dont re-start it just reconfigure it with the
-c option

-c Reconfigure the Internet daemon; in other words, force the
current inetd to reread /etc/inetd.conf. This option sends
the signal SIGHUP to the Internet daemon that is currently
running. Any configuration errors that occur during the
reconfiguration are logged to the syslogd daemon facility.


/usr/sbin/inetd -c
Steven E. Protter
Exalted Contributor

Re: inetd deamon

with 11.00, I just did a inetd -k while logged in via telnet.

I did it to get users off a database so it could be backed up prior to year end processing.

The inetd -k DID NOT stop my session. As root, I wiped out the other sessions and then smoothly completed my task, unfettered by users that could not read an email that said please don't log on.

I could have just as easily reconfigured the daemon as well.

inetd -c is as noted above used if you don't want to block new connections while you're working and just want the new service available without user dirruption.

Steve
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com