• Willkommen im Linux Club - dem deutschsprachigen Supportforum für GNU/Linux. Registriere dich kostenlos, um alle Inhalte zu sehen und Fragen zu stellen.

Netzwerkkarte auf einem VServer (XEN)

lemmi13

Newbie
Hallo Zusammen

Ich habe seit einiger Zeit einen VServer gemietet bei einem Hoster - am laufen habe OpenSuse 11. Seit letzem Wochenende kommt mir das Netzwerk (-karte) nicht mehr automatisch hoch.

"/etc/init.d/network restart" führt auch nicht zum gewünschten Erfolg.

Ich muss sie jeweils manuel starten mit "IFCONFIG eth0 ... " und "IFUP eth0"

Anbei das boot log: boot.msg

Hat jemand von euch eine Idee, wo das Problem liegen könnte? Ich bin so ziemlich am Ende meines Lateins (als nicht linux spezi).

Danke und Gruss

lemmi

PS:
Die Lösung des Supports von meinem Provider gefällt mir nicht - nach langen Untersuchungen, meinten sie, dass sie mir vorschlagen den Server neu aufzusetzen mit einer anderen Distro.
 
OP
L

lemmi13

Newbie
der startmode habe ich auf auto

anbei die /etc/sysconfig/network/ifcfg-eth0

Code:
BOOTPROTO='static'
BROADCAST=''
ETHTOOL_OPTIONS=''
IPADDR='78.143.34.135/25'
MTU=''
NAME='Xen Virtual Ethernet card 0'
NETMASK='255.255.255.128'
NETWORK=''
REMOTE_IPADDR=''
STARTMODE='auto'
UNIQUE='+jsg.Sd+ykfyvlK4'
USERCONTROL='no'
_nm_name='bus-none-vif-0'
PREFIXLEN=''


*EDIT
Habe mit STARTMODE Einstellung onboot versucht - aber leider auch ohne Erfolg!

Gruss

lemmi
 

spoensche

Moderator
Teammitglied
Du hast doch von deinem Provider eine statische IP bekommen oder? Dann gib die mal bei der Variablen
Code:
IPADDR
ein, ohne die Netzmaske. (.../25)

Welches SuSe verwendest du, 11.0 oder 11.1?
 
OP
L

lemmi13

Newbie
erstmal danke für deine Unetrstützung.

Ja, ich habe eine fixe IP und ich habe 11.0 am laufen.

Wenn ich das /25 aus der IP Adresse entferne kann ich bleibt der Server im Startvorgang hängen:


Anbei die letzten Meldungen der Konsole nachdem reboot:
Code:
Setting up the hardware clockCannot access the Hardware Clock via any known meth
od.                                                                             
Use the --debug option to see the details of our search for an access method.   
Cannot access the Hardware Clock via any known method.                          
Use the --debug option to see the details of our search for an access method.   
                                                                     failed     
Starting irqbalance                                                  unused     
Starting java.binfmt_misc FATAL: Module binfmt_misc not found.                  
FATAL: Error running install command for binfmt_misc                            
mount: mount point /proc/sys/fs/binfmt_misc does not exist                      
                                                                     done       
can't load conntrack support for proto=10                                       
can't load conntrack support for proto=10                                       
can't load conntrack support for proto=10                                       
Starting Firewall Initialization (phase 1 of 2) FATAL: Module ip_conntrack not f
ound.                                                                           
FATAL: Module nf_conntrack_netbios_ns not found.                                
commit failed on table filter: Invalid argument                                 
SuSEfirewall2: Error: ip6tables-batch failed, re-running using ip6tables        
ip6tables: Invalid argument                                                     
ip6tables: Invalid argument                                                     
                                                                     done       
Initializing random number generator                                 done


*EDIT:
Ich sehe gerade, hat nichts mit der Änderung in der IP-Adresse zu tun - krieg den Server so oder so nicht mehr hoch. Bleibt an dieser Fehlermeldung stehen. Liegt wohl am letzten Yast Update... manchmal hasse ich die Welt ;)
 

spoensche

Moderator
Teammitglied
Am Yast- Update kann es normalerweise nicht liegen, weil Yast beim Systemstart nicht ausgefüht wird. Irgendwo hast du dir bei deinem System was zerschossen. Im Moment wüsste ich aber nicht was.

Welche Updates sind den bei deinem letztenUpdate installiert worden?
 
OP
L

lemmi13

Newbie
Hallo

Anbei die letzten beiden Updates aus dem log:

Code:
2009-04-17 13:32:32 libvolume_id-120-13.2.x86_64.rpm installed ok
2009-04-17 13:32:34 postgresql-libs-8.3.7-0.1.x86_64.rpm installed ok
2009-04-17 13:32:40 timezone-2009d-0.1.x86_64.rpm installed ok
2009-04-17 13:32:43 udev-120-13.2.x86_64.rpm installed ok
Additional rpm output:
insserv: warning: script 'S05boot.device-mapper' missing LSB tags and overrides
insserv: warning: script 'boot.device-mapper' missing LSB tags and overrides
insserv: warning: script 'bastille-firewall' missing LSB tags and overrides
insserv: warning: script 'S05boot.device-mapper' missing LSB tags and overrides
insserv: warning: script 'boot.device-mapper' missing LSB tags and overrides
insserv: warning: script 'bastille-firewall' missing LSB tags and overrides
insserv: warning: script 'S05boot.device-mapper' missing LSB tags and overrides
insserv: warning: script 'boot.device-mapper' missing LSB tags and overrides
insserv: warning: script 'bastille-firewall' missing LSB tags and overrides

2009-04-21 19:00:44 zypper-0.11.11-0.1.x86_64.rpm installed ok
Additional rpm output:
Starting SuSEconfig, the SuSE Configuration Tool...
Running module permissions only
Reading /etc/sysconfig and updating the system...
Executing /sbin/conf.d/SuSEconfig.permissions...
Checking permissions and ownerships - using the permissions files
	/etc/permissions
	/etc/permissions.easy
	/etc/permissions.d/mail-server
	/etc/permissions.d/postfix
	/etc/permissions.local
setting /dev/full to root:root 0666. (wrong permissions 0622)
setting /usr/sbin/zypp-refresh-wrapper to root:root 4755. (wrong permissions 0755)
Finished.

2009-04-21 19:00:45 libgnutls26-2.2.2-17.4.x86_64.rpm installed ok
2009-04-21 19:00:46 libgnutls-extra26-2.2.2-17.4.x86_64.rpm installed ok
2009-04-21 19:00:47 gnutls-2.2.2-17.4.x86_64.rpm installed ok
2009-04-23 23:17:02 glib2-2.16.3-20.6.x86_64.rpm installed ok
2009-04-23 23:17:04 libglib-2_0-0-32bit-2.16.3-20.6.x86_64.rpm installed ok
2009-04-23 23:17:05 cups-libs-32bit-1.3.7-25.8.x86_64.rpm installed ok
2009-04-23 23:17:06 cups-libs-1.3.7-25.8.x86_64.rpm installed ok
2009-04-23 23:17:07 libgmodule-2_0-0-32bit-2.16.3-20.6.x86_64.rpm installed ok
2009-04-23 23:17:07 libgthread-2_0-0-32bit-2.16.3-20.6.x86_64.rpm installed ok
2009-04-23 23:17:08 libgobject-2_0-0-32bit-2.16.3-20.6.x86_64.rpm installed ok
2009-04-23 23:17:08 libglib-2_0-0-2.16.3-20.6.x86_64.rpm installed ok
2009-04-23 23:17:09 libgmodule-2_0-0-2.16.3-20.6.x86_64.rpm installed ok
2009-04-23 23:17:09 libgobject-2_0-0-2.16.3-20.6.x86_64.rpm installed ok
2009-04-23 23:17:10 libgthread-2_0-0-2.16.3-20.6.x86_64.rpm installed ok
2009-04-23 23:17:10 libgio-2_0-0-2.16.3-20.6.x86_64.rpm installed ok
2009-04-23 23:17:11 libgio-fam-2.16.3-20.6.x86_64.rpm installed ok
2009-04-23 23:17:14 glib2-devel-2.16.3-20.6.x86_64.rpm installed ok


Denke, nicht, dass dies etwas mit meinem gestrigen Problem zu tun hatte...

Anbei sonst noch das ganze LOG: y2logRPM

*EDIT:
Hab nochmals versucht das /25 aus der IP-Adresse der ifcfg-eth0 wegzulassen und hab anschliessend einen reboot abgesetzt. Hat keinen Einfluss auf das Resultat. Bleibt gleich. Ich schätze auch, dass ich den Server ziemlich gut an die Wand gefahren hab... ;)

Gruss

lemmi
 

spoensche

Moderator
Teammitglied
lemmi13 schrieb:
Hat keinen Einfluss auf das Resultat. Bleibt gleich. Ich schätze auch, dass ich den Server ziemlich gut an die Wand gefahren hab... ;)

Könnte sein. Wenn du gebootet hast, poste mal bitte die Ausgabe von

Code:
ifconfig

(als root ausführen)

Laass das Script von http://www.linux-tips-and-tricks.de/index.php/collectNWData.sh/collectNWData.html mal laufen und poste den Inhalt der Ausgabedatei.


PS:
Auf einem Server hat i.d.R eine GUI nichts verloren (xorg Pakete), es sei den man richtet Terminal Services etc. ein.
 
OP
L

lemmi13

Newbie
Hallo

Resultat von ifconfig (nach IFCONFIG und IFUP)
Code:
myserver:/srv/www/htdocs/httpdocs # ifconfig
eth0      Link encap:Ethernet  HWaddr 00:17:31:9F:C5:F9
          inet addr:78.143.34.135  Bcast:78.143.34.255  Mask:255.255.255.128
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:31729116 errors:0 dropped:0 overruns:0 frame:0
          TX packets:448486 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:2170979158 (2070.4 Mb)  TX bytes:704504958 (671.8 Mb)

eth0:1    Link encap:Ethernet  HWaddr 00:17:31:9F:C5:F9
          inet addr:78.143.34.138  Bcast:78.143.34.138  Mask:255.255.255.255
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:367634 errors:0 dropped:0 overruns:0 frame:0
          TX packets:367634 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:71506330 (68.1 Mb)  TX bytes:71506330 (68.1 Mb)

Resultat von collectNWData.sh (nach IFCONFIG und IFUP)
Code:
collectNWData.sh V0.6.1.9-5 (Rev: 1.151)

--- Which type of your network connection should be tested?
--- (1) Wired connection
--- (2) Wireless connection (WLAN)
--- Please answer with 1-2:1

--- What's the type of networktopology?
--- (1) DSL modem <---> LinuxClient
--- (2) DSL HW router <---> LinuxClient
--- (3) DSL modem <---> LinuxRouter <---> LinuxClient
--- (4) DSL HW router <---> LinuxRouter <---> LinuxClient
--- Please answer with 1-4:2
--- Analyzing system for common network configuration errors...
!!! CND0230W: IPV6 enabled
!!! CND0310W: Classic network configuration with ifup was detected. Configuration with knetworkmanager is much easier
--- Collecting networkconfiguration information ...
--- Go to http://www.linux-tips-and-tricks.de/CND to get more detailed instructions about the error/warning messages and how to fix the problems
--- If you still don't have success then post the contents of file collectNWData.txt in your favorite Linux forum. For an alternative read http://www.linux-tips-and-tricks.de/CND_UPL


Resultat von IFCONFIG (gleich nach reboot)
Code:
Die IFCONFIG gibt nichts aus nachdem reboot.

Resultat von collectNWData.sh (gleich nach reboot)
Code:
--- Which type of your network connection should be tested?                     
--- (1) Wired connection                                                        
--- (2) Wireless connection (WLAN)                                              
--- Please answer with 1-2:1                                                    
                                                                                
--- What's the type of networktopology?                                         
--- (1) DSL modem <---> LinuxClient                                             
--- (2) DSL HW router <---> LinuxClient                                         
--- (3) DSL modem <---> LinuxRouter <---> LinuxClient                           
--- (4) DSL HW router <---> LinuxRouter <---> LinuxClient                       
--- Please answer with 1-4:2                                                    
--- Analyzing system for common network configuration errors...                 
!!! CND0110E: For the selected connection type there was no active network inter
face found on your system                                                       
!!! CND0230W: IPV6 enabled                                                      
!!! CND0310W: Classic network configuration with ifup was detected. Configuratio
n with knetworkmanager is much easier                                           
--- Collecting networkconfiguration information ...                             
--- Go to http://www.linux-tips-and-tricks.de/CND to get more detailed instructi
ons about the error/warning messages and how to fix the problems                
--- If you still don't have success then post the contents of file collectNWData
.txt in your favorite Linux forum. For an alternative read http://www.linux-tips
-and-tricks.de/CND_UPL




Anmerkung:
- Die 2. IP wurde aufgeschalten, nachdem ich Probleme bei Provider meldete; zum Testen, ob's mit einer zweiten IP funktioniert; nebst dem, dass diese wohl nicht richtig konfiguriert ist, wird die über lang oder kurz wieder wegfallen.

- Xorg habe ich wegen VNCServer installiert; macht mir zum Teil das Administrieren einfacher (z.b. mysql-administrator)
 
OP
L

lemmi13

Newbie
@spoensche

mal vorab, danke für deine Hilfe; ich denke - wir können hier abbrechen... zumal das Script kein anderes Resultat brachte - gleich nachdem Reboot. Hab mir zwischendurch noch überlegt, dich zu bitten, evtl. mal einen blick direkt auf den Server zu werfen; aber ich habe mittlerweilen ein paarmal die sysconfig überschrieben mit einem alten Snapshot (so wie heute), da der Server im Bootvorgang hängen blieb. wieso das so ist, weiss ich auch nicht; habe (das berühmte!) nichts verändert, seitdem letzten Boot.

Ich werde nun wohl oder übel, auf die Empfehlung des Providers eingehen und gemütlich einen neuen Vserver (welcher mir zur Verfügung gestellt wird) einrichten mit einer anderen Distro; fragt sich nur welches...

Gruss

lemmi
 

spoensche

Moderator
Teammitglied
Schalte mal IPv6 aus. Wenn du den Server neu einrichten willst, nimm am besten Debian oder die Ubuntu Server Edition.
 
Oben