LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices



Reply
 
Search this Thread
Old 11-24-2010, 04:45 PM   #1
cmlorentz
LQ Newbie
 
Registered: Nov 2007
Posts: 2

Rep: Reputation: 0
Getting "SIOCADDRT: No such process" when running "service network restart"


I am running Fedora Core 7, starting the other day, every time I run service network restart, I get the following output:

Shutting down interface eth0: [ OK ]
Shutting down loopback interface: [ OK ]
Bringing up loopback interface: [ OK ]
Bringing up interface eth0: [ OK ]
SIOCADDRT: No such process

Everything works fine. I can connect to Internet, all my shares are fine, etc. I've done some poking around and found this issue in numerous postings, and it ALL seems to point to an issue with my IP and gateway. I've triple checked all my config files looking for an error and everything "appears" fine, but I can't seem to get rid of that "SIOCADDRT: No such process" error. Below are the contents of the respective files:

/etc/sysconfig/network-scripts/ifcfg-eth0
DEVICE=eth0
ONBOOT=yes
BOOTPROTO=static
IPADDR=10.0.24.27
NETMASK=255.255.255.0
GATEWAY=10.0.24.1

/etc/sysconfig/network
NETWORKING=yes
HOSTNAME=rx30.localdomain

/etc/resolv.conf
; generated by /sbin/dhclient-script
nameserver 192.168.0.87
nameserver 192.168.0.156

Any advice on how to get rid of that pesky "SIOCADDRT: No such process" error would be great.
 
Old 11-26-2010, 02:06 PM   #2
Touch
LQ Newbie
 
Registered: Oct 2009
Distribution: RHEL & Fedora
Posts: 25

Rep: Reputation: 0
Try moving the GATEWAY line from the ifcfg-eth0 file and putting it into the network file. Then add

Code:
NETWORK=10.0.24.0
to the ifcfg-eth0 file
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How do I disable "shutdown" and "restart" options in KDE logout screen for all users? maxgsp Linux - Distributions 1 12-12-2008 04:18 PM
LXer: Displaying "MyComputer", "Trash", "Network Servers" Icons On A GNOME Desktop LXer Syndicated Linux News 0 04-02-2007 09:31 AM
difference between "service smb restart" and "/etc/rc.d/init.d/smb" powah Linux - Software 1 01-17-2007 06:17 PM
counter part of "service network restart" b0nd Slackware 5 10-10-2005 07:47 AM
User "list" running process "python" TroelsSmit Linux - Newbie 2 02-22-2005 05:55 AM


All times are GMT -5. The time now is 08:54 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration