1834172 Members
2597 Online
110064 Solutions
New Discussion

Re: inetd ????

 
Not applicable

inetd ????

Dear All,

when we install to internet service deamon(inetd) which r correct from following ???

1. reboot the system
2. inetd -e
3. inetd -r

3 REPLIES 3
Jim Moffitt_1
Valued Contributor

Re: inetd ????

Try this:

/usr/sbin/inetd -c

From the inetd man page:

This will reconfigure the Internet daemon if will 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.
James R. Ferguson
Acclaimed Contributor

Re: inetd ????

Hi:

If you make changes to /etc/inetd.conf then you can cause it to be reread by the 'inetd' daemon by doing:

# /usr/sbin/inetd -c

...JRF...
Patrick Wallek
Honored Contributor

Re: inetd ????

For an HP-UX machine NONE of your answer choices are correct. In HP-UX the '-e' and '-r' are not valid options to the inetd command. If you add a new service to /etc/services and /etc/inetd.conf, you should NOT have to reboot either.

As has been stated previously, you should do an 'inetd -c' to force the inet daemon to re-read its configuration files.