Operating System - HP-UX
1826203 Members
3016 Online
109691 Solutions
New Discussion

net start net stop and inetd

 
SOLVED
Go to solution
Doug_3
Frequent Advisor

net start net stop and inetd

Our new sysadmin is using net stop and net start to recycle the inetd services. He will edit the inetd.conf file and change the ip on the nic's, then execute the stop/start commands to swap identical hp-ux boxes ip addresses.
Is this the correct way to do this? In the past we had reset the nic's and then forced the inetd to re-read the conf file or just re-boot. Are there other issues that are not being addressed with this technique?
I am concerned that other dependent services are not being reset correctly. Since we tried this we have had some serious performance issues with a report writer tool that uses odbc, ip and rpc to talk to the database server.
Thanks in advance,
Doug
3 REPLIES 3
Steven E. Protter
Exalted Contributor
Solution

Re: net start net stop and inetd

If all you want to do is restart the inetd daemon:

inetd -c

Don't start/stop net

There are other components to the network that are not being reset properly and are probably causing the problems you report.

SEP
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
Pete Randall
Outstanding Contributor

Re: net start net stop and inetd

Doug,

Being basically cowardly when it comes to changing things, I've always used the /sbin/set_parms command to set first the hostname, then the ip_address - then rebooted. I can't think of any drawbacks to net stop/start, I guess, but my cautious nature is going to stick to my tried and true method.


Pete

Pete
Sridhar Bhaskarla
Honored Contributor

Re: net start net stop and inetd

Hi Doug,

No. /sbin/init.d/net stop and start will not affect inetd. If at all he wants to use /sbin scripts, he should be using /sbin/init.d/inetd. net start and stop can help to reconfigure the IPs and the default gateway.

I would run 'inetd -c' to re-read the configuration.

-Sri

You may be disappointed if you fail, but you are doomed if you don't try