Simpler Navigation coming for Servers and Operating Systems
Coming soon: a much simpler Servers and Operating Systems section of the Community. We will combine many of the older boards, and you won't have to click through so many levels to get at the information you need. If you are looking for an older board and do not find it, check the consolidated boards, as the posts are still there.
Networking
cancel
Showing results for 
Search instead for 
Did you mean: 

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
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