Operating System - Linux
1828297 Members
3972 Online
109975 Solutions
New Discussion

Re: service netwqork restart

 
sandeep mathur
Respected Contributor

service netwqork restart


Hi all,

service network restart is not working properly.but it is pinging localhost. when i give that service network restart command it suddenly moves to the command prompt without showing any services start or not.please help me out.points assured.
3 REPLIES 3
Alexander Chuzhoy
Honored Contributor

Re: service netwqork restart

Do you have network interfaces on this machine and if so are they installed properly?

what is the output from `cat /etc/modprobe.conf`

what is the outpuf from
`ifup eth0`
skt_skt
Honored Contributor

Re: service netwqork restart

was that working ealier? Or setting up new one?

check files like /etc/sysconfig/network, /etc/sysconfig/static-routes,
folder /etc/sysconfig/network-scripts

Don Vanco - Linux Ninja
Regular Advisor

Re: service netwqork restart

You can try to capture both standard error and standard out (to a file) when evoking a command.

Like this:
service network restart > foo.txt 2>&1

You won't see anything on screen, but when the command prompt comes back look at the file (cat foo.txt) and see if it shows any messages.....


If you're doing this over SSH it might explain why you only see a blip....