LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
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
 
LinkBack Search this Thread
Old 04-01-2007, 10:05 PM   #1
Winanjaya
Member
 
Registered: Sep 2003
Posts: 196

Rep: Reputation: 30
Question RTNETLINK answers: File exists


Dear All,

When restarting network service on my FC6, I met RTNETLINK answers: File exists..
Could any body please help .. what should I do?.
googled but got nothing I am stuck ..

Thanks & Regards
Winanjaya

[root@samquid devices]# /etc/rc.d/init.d/network restart
Shutting down interface eth0: [ OK ]
Shutting down loopback interface: [ OK ]
Disabling IPv4 packet forwarding: net.ipv4.ip_forward = 0
[ OK ]
Bringing up loopback interface: [ OK ]
Bringing up interface eth0: RTNETLINK answers: File exists
[ OK ]
[root@samquid devices]#
 
Old 04-02-2007, 01:13 AM   #2
rhoekstra
Member
 
Registered: Aug 2004
Location: The Netherlands
Distribution: RedHat 2, 3, 4, 5, Fedora, SuSE, Gentoo
Posts: 332

Rep: Reputation: 39
What does your configuration look like?
Can you post the content of /etc/sysconfig/network-scripts/ifcfg-eth0 and /etc/sysconfig/network?
 
Old 02-21-2011, 11:26 AM   #3
mattymcfatty
LQ Newbie
 
Registered: Feb 2011
Posts: 3

Rep: Reputation: 0
I had the same problem.

I know this thread is super old, but it came first in a google search, so i thought I would post how I solved it.

In /etc/sysconfig/network-scripts/ifcfg-eth1 I had accidentially set DEVICE=eth0. Since the eth0 device already exists, that is why I received the error. Hope this will help someone else looking for a solution.

Cheers,
Matt South
Kansas City Computer Repair Tech
gone.south.computing
 
Old 02-16-2012, 11:15 AM   #4
wiren
LQ Newbie
 
Registered: Jan 2012
Posts: 3

Rep: Reputation: Disabled
Arrow [SOLVED?] Re: RTNETLINK answers: File exists

ABSTRACT:

file:
Code:
/etc/sysconfig/network-scripts/ifcfg-$interface
where $interface is your interface, i.e.: eth0, p3p1, etc.

Contains old MAC address of the interface, but the script file exists, therefore conflict in configuration.
ie.: Service tries to use detected setings, but ifcfg script exists, therefore "File exists" error.


SOLUTION:

Fix the MAC address in the script file, with MAC address from:
Code:
ifconfig $interface

--> If I find better solution, than fixing by hand, I may update this post.
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
RTNETLINK answers: Invalid argument rebel Linux - Newbie 1 04-24-2011 10:52 PM
server ifup: RTNETLINK answers: Network is unreachable problem evasion81 Linux - Networking 5 07-07-2005 08:44 AM
SIOCADDRT: File exists SIOCCADDRT: File Exists Failed to bring up eth0. opsraja Linux - Networking 0 01-10-2005 08:29 AM
RTNETLINK answers: Invalid argument j-me Linux - Networking 1 04-23-2004 03:38 AM
eth0 and eth1 RTNETLINK answers: File existslike RT trouble....need some helpHello pierrot Linux - Networking 0 08-09-2003 03:23 PM


All times are GMT -5. The time now is 02:06 AM.

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