Networking goes down every couple of days???

Whether you are using Linux on the desktop or as a server, it's still good that you're using Linux. Linux related questions go here.

Moderator: General Moderators

Post Reply
alex.barylski
DevNet Evangelist
Posts: 6267
Joined: Tue Dec 21, 2004 5:00 pm
Location: Winnipeg

Networking goes down every couple of days???

Post by alex.barylski »

I looked immediately into the /var/log/syslog file and the last few lines were the following:

Code: Select all

Apr 15 10:25:38 aqualive dhclient: DHCPDISCOVER on eth2 to 255.255.255.255 port 67 interval 4
Apr 15 10:25:38 aqualive dhclient: DHCPOFFER from 192.168.0.1
Apr 15 10:25:38 aqualive dhclient: DHCPREQUEST on eth2 to 255.255.255.255 port 67
Apr 15 10:25:38 aqualive dhclient: DHCPACK from 192.168.0.1
Apr 15 10:25:38 aqualive dhclient: bound to 192.168.0.114 -- renewal in 299777 seconds.
Apr 15 10:27:46 aqualive dhclient: receive_packet failed on eth2: Network is down
Apr 15 10:27:46 aqualive kernel: [1977827.478809] r8169: eth1: link up
Apr 15 10:27:46 aqualive kernel: [1977827.826133] eth2: link up, 100Mbps, full-duplex, lpa 0x41E1
Apr 15 10:27:57 aqualive kernel: [1977838.464026] eth1: no IPv6 routers present
Apr 15 10:27:57 aqualive kernel: [1977838.624029] eth2: no IPv6 routers present
I always have to restart the networking services manually via:

Code: Select all

/etc/init.d/networking restart
The restart Apache and everything comes back to life...why does this happen every week or so at random times?

The same messages are in the daemon.log file:

Code: Select all

Apr 15 10:25:38 aqualive dhclient: DHCPDISCOVER on eth2 to 255.255.255.255 port 67 interval 4
Apr 15 10:25:38 aqualive dhclient: DHCPOFFER from 192.168.0.1
Apr 15 10:25:38 aqualive dhclient: DHCPREQUEST on eth2 to 255.255.255.255 port 67
Apr 15 10:25:38 aqualive dhclient: DHCPACK from 192.168.0.1
Apr 15 10:25:38 aqualive dhclient: bound to 192.168.0.114 -- renewal in 299777 seconds.
Apr 15 10:27:46 aqualive dhclient: receive_packet failed on eth2: Network is down
Any ideas? VladSun? :P

Cheers,
Alex
User avatar
VladSun
DevNet Master
Posts: 4313
Joined: Wed Jun 27, 2007 9:44 am
Location: Sofia, Bulgaria

Re: Networking goes down every couple of days???

Post by VladSun »

What's your NIC model? Is it wireless?

Code: Select all

lsmod
lspci -v
What's your version of DHCP client?
You may try to install dhcp3-client.
There are 10 types of people in this world, those who understand binary and those who don't
alex.barylski
DevNet Evangelist
Posts: 6267
Joined: Tue Dec 21, 2004 5:00 pm
Location: Winnipeg

Re: Networking goes down every couple of days???

Post by alex.barylski »

Another developer came up with an idea, disabling DHCP and killing it's daemon. We don't actually use DHCP for anything on that server, being a server it's IP is statically assigned I believe by the firewall/router.

He believes that the service was checking for an IP and causing the fault of DHCP client???

I have included the dump of the details from both files, just in case -- I would appreciate your feedback. :D

lsmod:

Code: Select all

 
Module                  Size  Used by
ipv6                  235300  41 
loop                   12748  0 
button                  6096  0 
snd_pcm                62596  0 
snd_timer              17800  1 snd_pcm
parport_pc             22500  0 
parport                30988  1 parport_pc
snd                    45604  2 snd_pcm,snd_timer
soundcore               6368  1 snd
snd_page_alloc          7816  1 snd_pcm
i2c_piix4               7216  0 
serio_raw               4740  0 
i2c_core               19828  1 i2c_piix4
psmouse                32336  0 
intel_agp              22332  1 
agpgart                28776  1 intel_agp
shpchp                 25528  0 
pci_hotplug            23460  1 shpchp
pcspkr                  2432  0 
dcdbas                  6272  0 
evdev                   8000  0 
ext3                  105512  5 
jbd                    39444  1 ext3
mbcache                 7108  1 ext3
sg                     26964  0 
osst                   43420  0 
sr_mod                 13316  0 
st                     30748  0 
cdrom                  30176  1 sr_mod
sd_mod                 22200  7 
ata_generic             4676  0 
floppy                 47716  0 
aic7xxx               117592  6 
scsi_transport_spi     19840  1 aic7xxx
libata                140384  1 ata_generic
uhci_hcd               18672  0 
scsi_mod              129356  8 sg,osst,sr_mod,st,sd_mod,aic7xxx,scsi_transport_spi,libata
dock                    8304  1 libata
8139too                20320  0 
piix                    6568  0 [permanent]
ide_pci_generic         3908  0 [permanent]
r8169                  23684  0 
8139cp                 16800  0 
mii                     4896  2 8139too,8139cp
usbcore               118160  2 uhci_hcd
ide_core               96168  2 piix,ide_pci_generic
thermal                15228  0 
processor              32576  1 thermal
fan                     4164  0 
thermal_sys            10856  3 thermal,processor,fan
 
lspci:

Code: Select all

 
00:00.0 Host bridge: Intel Corporation 440GX - 82443GX Host bridge
    Flags: bus master, medium devsel, latency 32
    Memory at f0000000 (32-bit, prefetchable) [size=64M]
    Capabilities: [a0] AGP version 1.0
    Kernel driver in use: agpgart-intel
    Kernel modules: intel-agp
 
00:01.0 PCI bridge: Intel Corporation 440GX - 82443GX AGP bridge (prog-if 00 [Normal decode])
    Flags: bus master, 66MHz, medium devsel, latency 32
    Bus: primary=00, secondary=01, subordinate=01, sec-latency=32
    I/O behind bridge: 0000f000-0000ffff
    Memory behind bridge: fb000000-fdffffff
    Prefetchable memory behind bridge: f6000000-f6ffffff
    Kernel modules: shpchp
 
00:02.0 PCI bridge: Digital Equipment Corporation DECchip 21152 (rev 03) (prog-if 00 [Normal decode])
    Flags: bus master, medium devsel, latency 32
    Bus: primary=00, secondary=02, subordinate=02, sec-latency=32
    I/O behind bridge: 0000e000-0000efff
    Memory behind bridge: f9000000-faffffff
    Prefetchable memory behind bridge: 00000000f5000000-00000000f5ffffff
    Capabilities: [dc] Power Management version 1
    Kernel modules: shpchp
 
00:07.0 ISA bridge: Intel Corporation 82371AB/EB/MB PIIX4 ISA (rev 02)
    Flags: bus master, medium devsel, latency 0
 
00:07.1 IDE interface: Intel Corporation 82371AB/EB/MB PIIX4 IDE (rev 01) (prog-if 80 [Master])
    Flags: medium devsel
    [virtual] Memory at 000001f0 (32-bit, non-prefetchable) [disabled] [size=8]
    [virtual] Memory at 000003f0 (type 3, non-prefetchable) [disabled] [size=1]
    [virtual] Memory at 00000170 (32-bit, non-prefetchable) [disabled] [size=8]
    [virtual] Memory at 00000370 (type 3, non-prefetchable) [disabled] [size=1]
    I/O ports at 1020 [size=16]
    Kernel driver in use: PIIX_IDE
    Kernel modules: piix
 
00:07.2 USB Controller: Intel Corporation 82371AB/EB/MB PIIX4 USB (rev 01) (prog-if 00 [UHCI])
    Flags: bus master, medium devsel, latency 64, IRQ 19
    I/O ports at 1000 [size=32]
    Kernel driver in use: uhci_hcd
    Kernel modules: uhci-hcd
 
00:07.3 Bridge: Intel Corporation 82371AB/EB/MB PIIX4 ACPI (rev 02)
    Flags: medium devsel, IRQ 9
    Kernel modules: i2c-piix4
 
00:0c.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (rev 10)
    Subsystem: AOPEN Inc. Device 0027
    Flags: bus master, medium devsel, latency 32, IRQ 22
    I/O ports at dc00 [size=256]
    Memory at fe000400 (32-bit, non-prefetchable) [size=256]
    Capabilities: [50] Power Management version 2
    Kernel driver in use: 8139too
    Kernel modules: 8139cp, 8139too
 
00:0e.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8169 Gigabit Ethernet (rev 10)
    Subsystem: Belkin Device 5005
    Flags: bus master, 66MHz, medium devsel, latency 64, IRQ 17
    I/O ports at d800 [size=256]
    Memory at fe000000 (32-bit, non-prefetchable) [size=256]
    Expansion ROM at f8000000 [disabled] [size=64K]
    Capabilities: [dc] Power Management version 2
    Kernel driver in use: r8169
    Kernel modules: r8169
 
01:00.0 VGA compatible controller: ATI Technologies Inc 3D Rage Pro AGP 1X (rev 5c) (prog-if 00 [VGA controller])
    Subsystem: Dell Device 0081
    Flags: bus master, VGA palette snoop, stepping, medium devsel, latency 32
    Memory at fc000000 (32-bit, non-prefetchable) [size=16M]
    I/O ports at fc00 [size=256]
    Memory at fbfff000 (32-bit, non-prefetchable) [size=4K]
    [virtual] Expansion ROM at f6000000 [disabled] [size=128K]
    Capabilities: [50] AGP version 1.0
 
02:04.0 SCSI storage controller: Adaptec AHA-2940U2/U2W / 7890/7891
    Subsystem: Dell Device 0081
    Flags: bus master, medium devsel, latency 32, IRQ 16
    BIST result: 00
    I/O ports at ec00 [disabled] [size=256]
    Memory at f9fff000 (64-bit, non-prefetchable) [size=4K]
    Expansion ROM at fa000000 [disabled] [size=128K]
    Capabilities: [dc] Power Management version 1
    Kernel driver in use: aic7xxx
    Kernel modules: aic7xxx
 
02:06.0 SCSI storage controller: Adaptec AIC-7860 (rev 03)
    Subsystem: Adaptec Device 7860
    Flags: bus master, medium devsel, latency 32, IRQ 16
    I/O ports at e800 [disabled] [size=256]
    Memory at f9ffe000 (32-bit, non-prefetchable) [size=4K]
    Capabilities: [dc] Power Management version 1
    Kernel driver in use: aic7xxx
    Kernel modules: aic7xxx
 
User avatar
VladSun
DevNet Master
Posts: 4313
Joined: Wed Jun 27, 2007 9:44 am
Location: Sofia, Bulgaria

Re: Networking goes down every couple of days???

Post by VladSun »

I also think its dhclient problem/bug, that's why I offered you to upgrade it.

Realtek ... IMHO it sux :) Use Intel NIC (e1000) instead :)
There are 10 types of people in this world, those who understand binary and those who don't
alex.barylski
DevNet Evangelist
Posts: 6267
Joined: Tue Dec 21, 2004 5:00 pm
Location: Winnipeg

Re: Networking goes down every couple of days???

Post by alex.barylski »

He just disabled the DHCPClient...we don't even use DHCP as all the IP's are statically assigned...whatever he did it seems to have solved the problem.
User avatar
VladSun
DevNet Master
Posts: 4313
Joined: Wed Jun 27, 2007 9:44 am
Location: Sofia, Bulgaria

Re: Networking goes down every couple of days???

Post by VladSun »

PCSpectra wrote:He just disabled the DHCPClient...we don't even use DHCP as all the IP's are statically assigned...
Interesting ;)
There are 10 types of people in this world, those who understand binary and those who don't
Post Reply