In short: A server running OpenSuse 12.1 minimal install (text-mode only), network configured & fuńctioning.
I login via ssh, use Yast to make a small change in Network Settings - such as change one DNS-server or change hostname. “Accept” -> yast applies changes, but network goes down and stays down.
Going to the serverhall and login directly, “ifconfig” shows only interface “lo”, “ifup eth0” brings network up.
This problem started on all our servers when we installed OpenSuse 12.1, before with OpenSuse 11.x this problem didn’t exist. (We have 4 physical servers, 3 Xen guests, all running OpenSuse).
I have tried setting the “Device activation” to “At Boot time”, “On Cable Connection” and “On Hotplug” but it doesn’t help. Network never comes up.
We’re using Traditional method with ifup.
A work-around is of course to put a script on the server that brings the network up after a few minutes, but this issue should be solved permanently. (I found an old thread about this same issue on Suse10.x, one comment was “this issue is fixed on 11.1”. Hmmm Reintroduced in 12.x? )
This is all I’ve found in the logs, taken from one server after changing first DNS server:
Jun 18 10:25:41 ctntp1 kernel[6457340.380730]: network[13809]: eth0 IP address: 172.16.4.116/24
Jun 18 10:25:41 ctntp1 kernel[6457340.634862]: network[13809]: ..failed eth0 name: Virtual Ethernet Card 0
Jun 18 10:25:41 ctntp1 kernel[6457340.648600]: network[13809]: eth0 IP address: 172.16.4.116/24
Jun 18 10:25:41 ctntp1 kernel[6457340.701204]: network[13809]: eth0 is up
Jun 18 10:25:41 ctntp1 kernel[6457340.756250]: network[13809]: ..doneSetting up service network . . ...done
Jun 18 10:25:42 ctntp1 kernel[6457341.019317]: network[14296]: Shutting down network interfaces:
Jun 18 10:25:42 ctntp1 ifdown[14474]: eth0 name: Virtual Ethernet Card 0
Jun 18 10:25:42 ctntp1 kernel[6457341.077242]: network[14296]: eth0 name: Virtual Ethernet Card 0
Jun 18 10:25:43 ctntp1 kernel[6457342.382150]: network[14296]: ..doneShutting down service network . . ...done
On 2012-06-18 13:56, pingu 2 wrote:
>
> In short: A server running OpenSuse 12.1 minimal install (text-mode
> only), network configured & fuńctioning.
> I login via ssh, use Yast to make a small change in Network Settings -
> such as change one DNS-server or change hostname. “Accept” -> yast
> applies changes, but network goes down and stays down.
Run “rcnetwork restart” and copy here the window. Use code tags:
Posting in Code
Tags - A Guide
Copy also the new lines in /var/log/messages after running above command.
Run also ifconfig and paste here.
–
Cheers / Saludos,
Carlos E. R.
(from 11.4 x86_64 “Celadon” at Telcontar)
#rcnetwork restart:
ctntp1:~ # rcnetwork restart
redirecting to systemctl
ctntp1:~ #
/var/log/messages:
Jun 18 15:21:43 ctntp1 syslog-ng[354]: Syslog connection established; fd='17', server='AF_INET(192.168.1.40:514)', local='AF_INET(0.0.0.0:0)'
Jun 18 15:21:43 ctntp1 syslog-ng[354]: Syslog connection broken; fd='17', server='AF_INET(192.168.1.40:514)', time_reopen='60'
Jun 18 15:21:45 ctntp1 network[4687]: Shutting down network interfaces:
Jun 18 15:21:45 ctntp1 ifplugd(eth0)[643]: Executing '/etc/ifplugd/ifplugd.action eth0 down'.
Jun 18 15:21:45 ctntp1 ifplugd(eth0)[643]: client: eth0 name: Virtual Ethernet Card 0
Jun 18 15:21:45 ctntp1 ifdown[4873]: eth0 name: Virtual Ethernet Card 0
Jun 18 15:21:45 ctntp1 ifplugd(eth0)[643]: Program executed successfully.
Jun 18 15:21:45 ctntp1 syslog-ng[354]: I/O error occurred while writing; fd='16', error='Invalid argument (22)'
Jun 18 15:21:45 ctntp1 syslog-ng[354]: Syslog connection broken; fd='16', server='AF_INET(172.16.4.114:514)', time_reopen='60'
Jun 18 15:21:45 ctntp1 ifplugd(eth0)[643]: Exiting.
Jun 18 15:21:45 ctntp1 network[4687]: eth0 name: Virtual Ethernet Card 0
Jun 18 15:21:45 ctntp1 ifdown[4863]: eth0 name: Virtual Ethernet Card 0
Jun 18 15:21:47 ctntp1 network[4687]: ..doneShutting down service network . . . . . . . . ...done
Jun 18 15:21:47 ctntp1 network[5183]: Setting up network interfaces:
Jun 18 15:21:47 ctntp1 network[5183]: lo
Jun 18 15:21:47 ctntp1 ifup[5347]: lo
Jun 18 15:21:47 ctntp1 ifup: Last message ' lo ' repeated 1 times, suppressed by syslog-ng on ctntp1.certitrade.net
Jun 18 15:21:47 ctntp1 ifup[5347]: IP address: 127.0.0.1/8
Jun 18 15:21:47 ctntp1 network[5183]: lo IP address: 127.0.0.1/8
Jun 18 15:21:47 ctntp1 ifup[5347]:
Jun 18 15:21:47 ctntp1 ifplugd(eth0)[5449]: ifplugd 0.28 initializing.
Jun 18 15:21:47 ctntp1 ifplugd(eth0)[5449]: Using interface eth0/00:16:3E:76:A5:EC with driver <netfront> (version: )
Jun 18 15:21:47 ctntp1 ifplugd(eth0)[5449]: Using detection mode: SIOCETHTOOL
Jun 18 15:21:47 ctntp1 ifplugd(eth0)[5449]: Initialization complete, link beat detected.
Jun 18 15:21:47 ctntp1 ifplugd(eth0)[5449]: Executing '/etc/ifplugd/ifplugd.action eth0 up'.
Jun 18 15:21:47 ctntp1 network[5183]: ..done eth0 name: Virtual Ethernet Card 0
Jun 18 15:21:47 ctntp1 ifup[5438]: eth0 name: Virtual Ethernet Card 0
Jun 18 15:21:47 ctntp1 network[5183]: eth0 is controlled by ifplugd
Jun 18 15:21:47 ctntp1 ifup[5438]: eth0 is controlled by ifplugd
Jun 18 15:21:47 ctntp1 network[5183]: [1Awaiting
Jun 18 15:21:47 ctntp1 ifplugd(eth0)[5449]: client: eth0 name: Virtual Ethernet Card 0
Jun 18 15:21:47 ctntp1 ifup[5452]: eth0 name: Virtual Ethernet Card 0
Jun 18 15:21:47 ctntp1 SuSEfirewall2: Setting up rules from /etc/sysconfig/SuSEfirewall2 ...
Jun 18 15:21:47 ctntp1 SuSEfirewall2: using default zone 'ext' for interface eth0
Jun 18 15:21:47 ctntp1 network[5183]: Waiting for mandatory devices: eth0
Jun 18 15:21:48 ctntp1 SuSEfirewall2: Firewall rules successfully set
Jun 18 15:21:48 ctntp1 ifplugd(eth0)[5449]: Program executed successfully.
Jun 18 15:21:49 ctntp1 network[5183]: 30
Jun 18 15:21:49 ctntp1 network[5183]: eth0 name: Virtual Ethernet Card 0
Jun 18 15:21:49 ctntp1 network[5183]: eth0 ifplugd is running
Jun 18 15:21:49 ctntp1 network[5183]: eth0 cable is connected
Jun 18 15:21:49 ctntp1 network[5183]: eth0 IP address: 172.16.4.116/24
Jun 18 15:21:49 ctntp1 network[5183]: eth0 is up
Jun 18 15:21:49 ctntp1 network[5183]: ..doneSetting up service network . . . . . . . . . ...done
Jun 18 15:21:49 ctntp1 root[4568] peter[4568] : #1340025704
Jun 18 15:21:49 ctntp1 root[4568] peter[4568] : rcnetwork restart
Jun 18 15:22:43 ctntp1 syslog-ng[354]: Syslog connection established; fd='15', server='AF_INET(192.168.1.40:514)', local='AF_INET(0.0.0.0:0)'
Jun 18 15:22:43 ctntp1 syslog-ng[354]: Syslog connection broken; fd='15', server='AF_INET(192.168.1.40:514)', time_reopen='60'
Jun 18 15:22:45 ctntp1 syslog-ng[354]: Syslog connection established; fd='15', server='AF_INET(172.16.4.114:514)', local='AF_INET(0.0.0.0:0)'
Jun 18 15:23:43 ctntp1 syslog-ng[354]: Syslog connection established; fd='16', server='AF_INET(192.168.1.40:514)', local='AF_INET(0.0.0.0:0)'
Jun 18 15:23:43 ctntp1 syslog-ng[354]: Syslog connection broken; fd='16', server='AF_INET(192.168.1.40:514)', time_reopen='60'
After doing this I again went in and changed a DNS server via Yast - now it worked without any problem!
Another note:
I also updated the system a few hours ago, maybe that’s the reason it now works?
I did not try to do any change in network settings between updating & “rcnetwork restart” so can’t be sure what fixed it.
Will try on other servers (they are all updated now) as soon as I can take the risk of a server being down - that means not today.
On 2012-06-18 15:46, pingu 2 wrote:
>
> Another note:
> I also updated the system a few hours ago, maybe that’s the reason it
> now works?
Did you reboot?
–
Cheers / Saludos,
Carlos E. R.
(from 11.4 x86_64 “Celadon” at Telcontar)
Yes, there was a kernel update so rebooting was necessary.
No un-updated servers left unfortunately - on the other hand, if the update fixed it then the issue is solved already.
On 2012-06-18 16:26, pingu 2 wrote:
>
> Yes, there was a kernel update so rebooting was necessary.
> No un-updated servers left unfortunately - on the other hand, if the
> update fixed it then the issue is solved already.
Yes, of course, it is important to update before fighting problems 
–
Cheers / Saludos,
Carlos E. R.
(from 11.4 x86_64 “Celadon” at Telcontar)