Operating System - HP-UX
1748252 Members
3916 Online
108760 Solutions
New Discussion

Re: network service restart in HP-UX 11.11

 
rajesh73
Super Advisor

network service restart in hp-ux 11.11

how to restart the network service in hp-ux 11.11 server

 

in below mentioned command which command is wright , and please confirm we need to run this command in MP login or direct putty terminal.

 

 

inetd -c

 

or

 

/sbin/init.d/net stop

/sbin/init.d/net start

 

 

3 REPLIES 3
Dennis Handly
Acclaimed Contributor

Re: network service restart in HP-UX 11.11

I would just use inetd with the -c option to reread its config file.

 

>please confirm we need to run this command in MP login or direct putty terminal.

 

Any one would work.

 

 

Patrick Wallek
Honored Contributor

Re: network service restart in HP-UX 11.11

An 'inetd -c' will NOT restart anything.  It will cause inted to reread its configuration file (/etc/inted.conf) and listen, or not listen, for services defined there as appropriate.

 

Running "/sbin/init.d/net stop" will shut down any network interfaces you have, so you better run it while logged into the MP.

 

What type of "network service" do you want to restart?  Using /sbin/init.d/net will not affect anything other than the network card itself. If you need to stop a specific service you need to find the script for it.

rajesh73
Super Advisor

Re: network service restart in HP-UX 11.11

thanks for your reply,

customer requirment is restart the network service.

i will plan to run this command in MP login

/sbin/init.d/net stop , /sbin/init.d/net start