Hi,
I have strange problem on fresh CentOS/cPanel server.
From time to time network simply dies. I was SSH into server, then I noticed that I can not view any webpage from it.
I did netstat -n but it only show somethink like this:
Then I did:
service network restart
but it did not help. I need to reboot server.
What it could be? Is this a problem with ifcfg-eth0 - I have somethink like this on problematic server:
When I start my server I get this in /var/log/messages:
Can anyone help me with this?
I have strange problem on fresh CentOS/cPanel server.
From time to time network simply dies. I was SSH into server, then I noticed that I can not view any webpage from it.
I did netstat -n but it only show somethink like this:
Code:
Active UNIX domain sockets (w/o servers)
Proto RefCnt Flags Type State I-Node Path
unix 13 [ ] DGRAM 6272 /dev/log
unix 2 [ ] DGRAM 11091 @/var/run/hal/hotplug_socket
unix 2 [ ] DGRAM 3466 @udevd
unix 2 [ ] DGRAM 137333
unix 2 [ ] DGRAM 130898
unix 2 [ ] STREAM CONNECTED 123293
unix 3 [ ] STREAM CONNECTED 11090 /var/run/dbus/system_bus_socket
unix 3 [ ] STREAM CONNECTED 11089
unix 3 [ ] STREAM CONNECTED 11013
unix 3 [ ] STREAM CONNECTED 11012
unix 2 [ ] DGRAM 10842
unix 2 [ ] DGRAM 9749
unix 2 [ ] DGRAM 8360
unix 2 [ ] DGRAM 8343
unix 2 [ ] DGRAM 8320
unix 2 [ ] DGRAM 8301
unix 2 [ ] DGRAM 8079
unix 2 [ ] DGRAM 6484
unix 2 [ ] DGRAM 6353
unix 2 [ ] DGRAM 6280
service network restart
but it did not help. I need to reboot server.
What it could be? Is this a problem with ifcfg-eth0 - I have somethink like this on problematic server:
Code:
DEVICE=eth0
BOOTPROTO=dhcp
HWADDR=00:13:D3:E4:EE:ED
ONBOOT=yes
TYPE=Ethernet
Code:
network: Setting network parameters: succeeded
network: Bringing up loopback interface: succeeded
ifup:
ifup: Determining IP information for eth0...
dhclient: DHCPREQUEST on eth0 to 255.255.255.255 port 67
dhclient: DHCPACK from [MY_MAIN_IP]
NET: /sbin/dhclient-script : updated /etc/resolv.conf
dhclient: bound to [MY_MAIN_IP] -- renewal in 70990 seconds.
ifup: done.
NET: /etc/sysconfig/network-scripts/ifup-post : updated /etc/resolv.conf
network: Bringing up interface eth0: succeeded
filelimits: Increasing file system limits succeeded
ipaliases: Bringing up eth0:1 succeeded
ipaliases: Routing 88.198.109.138 succeeded
ipaliases: Bringing up eth0:2 succeeded
ipaliases: Routing 88.198.109.139 succeeded
ipaliases: Bringing up eth0:3 succeeded
ipaliases: Routing 88.198.109.140 succeeded
ipaliases: Bringing up eth0:4 succeeded
ipaliases: Routing 88.198.109.141 succeeded
ipaliases: Bringing up eth0:5 succeeded
ipaliases: Routing 88.198.109.142 succeeded
Last edited: