LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Password
Red Hat This forum is for the discussion of Red Hat Linux.

Notices


Reply
  Search this Thread
Old 02-20-2011, 07:26 PM   #1
carlosinfl
Senior Member
 
Registered: May 2004
Location: Orlando, FL
Distribution: Arch
Posts: 2,905

Rep: Reputation: 77
Question Network Interface Configuration File Re-written


This past Friday as I was performing regular maintenance on my RHEL / CentOS servers, I ran yum upgrades on them and when they rebooted, I realized there were network issues and I could not longer access them via Ping or SSH. When I jumped on the console, I realized that it created a new 'ifcfg-eth0' file with none of my static information & the old 'ifcfg-eth0' file with all my static info had been renamed to 'ifcfg-eth0.bak'.

It appears that the MAC address on the new file and the old .bak file are different and I have no idea why. I have no changed or altered anything on the server.

Anyone know what could have caused this?
 
Old 02-20-2011, 07:36 PM   #2
corp769
LQ Guru
 
Registered: Apr 2005
Location: /dev/null
Posts: 5,818

Rep: Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007
Do you remember what packages all got updated?
 
Old 02-20-2011, 07:53 PM   #3
carlosinfl
Senior Member
 
Registered: May 2004
Location: Orlando, FL
Distribution: Arch
Posts: 2,905

Original Poster
Rep: Reputation: 77
Sadly I do not. I'm sure I can check /var/log for a list but I'm just wondering what would cause this...
 
Old 02-20-2011, 08:07 PM   #4
corp769
LQ Guru
 
Registered: Apr 2005
Location: /dev/null
Posts: 5,818

Rep: Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007
Honestly, that would actually depend on what packages got updated, so we could know what all got modified. Could you post your /var/log/messages output from the day you updated?
 
Old 02-21-2011, 09:03 PM   #5
carlosinfl
Senior Member
 
Registered: May 2004
Location: Orlando, FL
Distribution: Arch
Posts: 2,905

Original Poster
Rep: Reputation: 77
Code:
Feb 18 16:05:40 mail yum: Updated: clamav-db-0.97-1.el5.rf.x86_64
Feb 18 16:05:42 mail yum: Updated: clamav-0.97-1.el5.rf.x86_64
Feb 18 16:05:44 mail yum: Updated: kernel-headers-2.6.18-194.32.1.el5.x86_64
Feb 18 16:05:45 mail yum: Updated: clamd-0.97-1.el5.rf.x86_64
Feb 18 16:05:45 mail yum: Updated: unrar-4.0.6-1.el5.rf.x86_64
Feb 18 16:05:45 mail yum: Updated: perl-version-0.88-1.el5.rf.x86_64
Feb 18 16:06:01 mail yum: Installed: kernel-2.6.18-194.32.1.el5.x86_64
Feb 18 16:06:01 mail yum: Updated: perl-Compress-Raw-Bzip2-2.033-1.el5.rf.x86_64
Feb 18 16:06:02 mail yum: Updated: clamav-devel-0.97-1.el5.rf.x86_64
Feb 18 16:06:02 mail yum: Updated: perl-Digest-SHA-5.50-1.el5.rf.x86_64
Feb 18 16:06:02 mail yum: Updated: perl-Compress-Raw-Zlib-2.033-1.el5.rf.x86_64
 
Old 02-21-2011, 09:15 PM   #6
corp769
LQ Guru
 
Registered: Apr 2005
Location: /dev/null
Posts: 5,818

Rep: Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007
Hmm, nothing looks odd enough to do that, except maybe the updated kernel... If I were you, I would copy ifcfg-eth0.bak to ifcfg-eth0. I think you would be safe to do so. Make sure to update that brand new ifcfg-eth0 file just incase....

And lastly, could you pastebin ifcfg-eth0 and ifcfg-eth0.bak?
 
  


Reply



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
[SOLVED] Is there any other file(not interface) that stores the network configuration content? photonxp Ubuntu 3 11-02-2010 09:55 AM
Network Interface Configuration Paris Heng Solaris / OpenSolaris 10 06-30-2008 11:11 PM
network interface configuration remirez83 Linux - Newbie 14 05-29-2008 07:42 AM
network interface configuration tovis Debian 6 12-24-2007 07:26 AM
Network interface configuration problem on SUSE 9.1 martinwe Linux - Hardware 4 09-07-2004 04:46 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat

All times are GMT -5. The time now is 05:22 AM.

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
Open Source Consulting | Domain Registration