LinuxQuestions.org
Help answer threads with 0 replies.
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 01-25-2014, 11:38 PM   #1
LYC
Member
 
Registered: Jan 2014
Posts: 109

Rep: Reputation: Disabled
eth0 and eth1 missing - Newbie


Hi,

We had our server HP DL380 running Redhat version 5 (physical server not VM) relocated and after the server powered up, eth0 and eth1 are missing.

The following was performed with the output:
#ifconfig eth0 up
eth0: unknown interface: no such device

#/etc/init.d/network restart
Bringing up interfac eth0: device eth0 does not seem to present, delaying initialisation

What could be the problem? Is there a way to scan and verify the health of the physical network card and its availability?

Any advise is appreciated.
 
Old 01-25-2014, 11:57 PM   #2
chantk
LQ Newbie
 
Registered: Sep 2008
Distribution: Slackware, FreeBSD, NomadBSD
Posts: 12

Rep: Reputation: 0
Check your /etc/udev/rules.d/70-persistent-net.rules. The chances are eth0 and eth1 have got mapped to the old NICs.

If you want your new NICs to map to eth0 and eth1, just remove the lines in the file and reboot.
 
Old 01-26-2014, 12:17 AM   #3
LYC
Member
 
Registered: Jan 2014
Posts: 109

Original Poster
Rep: Reputation: Disabled
Hi,

Don't have 70-persistent-net.rules in /etc/udev/rules.d.

There is no new NIC added.

Last edited by LYC; 01-26-2014 at 12:18 AM.
 
Old 01-26-2014, 12:42 AM   #4
chantk
LQ Newbie
 
Registered: Sep 2008
Distribution: Slackware, FreeBSD, NomadBSD
Posts: 12

Rep: Reputation: 0
eth0 and eth1 missing - Newbie

Run "ethtool ethX" and see what you've got (where X is 0 or 1 etc).

No udev? Which version of RedHat are you using? What does "cat /etc/redhat-release" say?
 
Old 01-26-2014, 01:04 AM   #5
LYC
Member
 
Registered: Jan 2014
Posts: 109

Original Poster
Rep: Reputation: Disabled
Hi,

ethtool eth0
Settings for eth0:
Cannot get device settings: No such device
Cannot get wake-on-lan settings: No such device
Cannot get message level:No such device
Cannot get link status: No such device

ethtool eth1
Settings for eth1:
Cannot get device settings: No such device
Cannot get wake-on-lan settings: No such device
Cannot get message level:No such device
Cannot get link status: No such device

cat /etc/redhat-release
Red Hat Enterprise Linux Server release 5.3 (Tikanga)
 
Old 01-26-2014, 01:15 AM   #6
chantk
LQ Newbie
 
Registered: Sep 2008
Distribution: Slackware, FreeBSD, NomadBSD
Posts: 12

Rep: Reputation: 0
It's also a good idea to post your dmesg and /var/log/messages.

dmesg and /var/log/message tell a great deal of what's going on with the hardware.

Last edited by chantk; 01-26-2014 at 01:59 AM.
 
Old 01-26-2014, 03:05 AM   #7
LYC
Member
 
Registered: Jan 2014
Posts: 109

Original Poster
Rep: Reputation: Disabled
Hi,

Refer to attachment.
Attached Thumbnails
Click image for larger version

Name:	dmesg_part1a.gif
Views:	246
Size:	88.3 KB
ID:	14596   Click image for larger version

Name:	dmesg_part1b.gif
Views:	85
Size:	33.4 KB
ID:	14597  
 
Old 01-26-2014, 03:06 AM   #8
LYC
Member
 
Registered: Jan 2014
Posts: 109

Original Poster
Rep: Reputation: Disabled
Hi,

2nd part of attachment.
Attached Thumbnails
Click image for larger version

Name:	dmesg_part2a.gif
Views:	47
Size:	78.9 KB
ID:	14599   Click image for larger version

Name:	dmesg_part2b.gif
Views:	25
Size:	85.9 KB
ID:	14600   Click image for larger version

Name:	dmesg_part2c.gif
Views:	28
Size:	81.9 KB
ID:	14601  
 
Old 01-26-2014, 03:07 AM   #9
LYC
Member
 
Registered: Jan 2014
Posts: 109

Original Poster
Rep: Reputation: Disabled
Hi,

3rd part of attachment.
Attached Thumbnails
Click image for larger version

Name:	dmesg_part3a.gif
Views:	31
Size:	89.0 KB
ID:	14602   Click image for larger version

Name:	dmesg_part3b.gif
Views:	23
Size:	85.1 KB
ID:	14603   Click image for larger version

Name:	dmesg_part3c.gif
Views:	24
Size:	94.3 KB
ID:	14604  
 
Old 01-26-2014, 03:08 AM   #10
LYC
Member
 
Registered: Jan 2014
Posts: 109

Original Poster
Rep: Reputation: Disabled
Hi,

4th part of attachment.
Attached Thumbnails
Click image for larger version

Name:	dmesg_part4a.gif
Views:	25
Size:	93.5 KB
ID:	14605   Click image for larger version

Name:	dmesg_part4b.gif
Views:	25
Size:	93.6 KB
ID:	14606  
 
Old 01-26-2014, 03:11 AM   #11
LYC
Member
 
Registered: Jan 2014
Posts: 109

Original Poster
Rep: Reputation: Disabled
Hi,

5th part of attachment.
Attached Thumbnails
Click image for larger version

Name:	message1a.gif
Views:	25
Size:	85.0 KB
ID:	14607   Click image for larger version

Name:	message1b.gif
Views:	27
Size:	95.0 KB
ID:	14608  
 
Old 01-26-2014, 05:33 AM   #12
chantk
LQ Newbie
 
Registered: Sep 2008
Distribution: Slackware, FreeBSD, NomadBSD
Posts: 12

Rep: Reputation: 0
That's quite an effort of screendumping. In fact, your life (and others') will be much easier if you do this:
Code:
dmesg > dmesg.txt
and attach that file.

Anyway, back to your problem. Not sure what you mean by the server was relocated. Hardware change?

Obviously eth0 and eth1 are there. If you had hardware change, it might have to do with SELinux. For debugging purpose, you may want to disable it if it's enabled. Check your /etc/sysconfig/selinux. Make sure it's disabled.. (/selinux should be empty)
 
Old 01-26-2014, 06:42 AM   #13
vl23
Member
 
Registered: Mar 2009
Posts: 125

Rep: Reputation: 8
lshw -c net ?
lspci if you don't have it, also you should have your datacenter people take a look at the system, chech your iLO hw diagnostic options also.

Last edited by vl23; 01-26-2014 at 06:48 AM.
 
Old 01-26-2014, 10:14 AM   #14
LYC
Member
 
Registered: Jan 2014
Posts: 109

Original Poster
Rep: Reputation: Disabled
Hi,

There is no ntwork connection. The connection is via KVM, hence, file can not x'fer out and has to use screen shot.

No hardware changes. The server is shifted from one rack to another rack.

more /etc/sysconfig/selinux
SELINUXTYPE=targeted

lshw -c net
bash: command not found

Refer to attachment for lspci output
Attached Thumbnails
Click image for larger version

Name:	lspci.gif
Views:	65
Size:	91.6 KB
ID:	14611  
 
Old 01-26-2014, 12:49 PM   #15
chantk
LQ Newbie
 
Registered: Sep 2008
Distribution: Slackware, FreeBSD, NomadBSD
Posts: 12

Rep: Reputation: 0
Your dmesg shows the presence of eth0 and eth1. Didn't see it renamed (usually by udev).

What does
Code:
ls -l /sys/class/net
show? If you see ethX or the like, it's most likely something outside the server.

Have you tried disabling selinux?
 
  


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
is this legal: can still ping eth1 through eth0, even if eth1 cable is unplugged 5883 Linux - Networking 2 12-05-2012 04:55 AM
howto acess intrnet thru eth1(wireless card)in winXP via briging in linux(eth0-eth1) labhesh_popli Linux - Wireless Networking 1 09-21-2006 02:11 AM
Newbie Question: Route all request coming from eth1 to ppp0/dsl0/eth0 hansschmucker SUSE / openSUSE 0 02-12-2005 10:38 PM
eth1 added, mysql connections FROM this machine are from eth1. Need bound to eth0??? kreese Linux - Networking 9 03-31-2004 01:12 PM
Kernel 2.4.22 finds eth0 and eth1 but 2.6.0 does not find eth1 coollink Linux - Networking 3 01-13-2004 08:32 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 09:13 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
Open Source Consulting | Domain Registration