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

[gelöst] Nach reboot nur teilw. Funktion der Netzwerk Serv

magnum

Newbie
Hallo,

ich habe an meinem OpenSuse 11.3 Server den onboard 100mbit chip durch eine Gigabit Karte (realtek 8169) ersetzt. Hat soweit auch alles geklappt. Der onboard Chip ist im Bios deaktiviert und die neue Karte per yast konfiguriert. Funktioniert auch soweit alles wieder.
Nur nach einem reboot ist apache und squid nicht erreichbar. Ping vom Server und von Clients funktionieren, Zugriff per putty und ssh funktioniert auch, samba tut auch.
Nach einem Aufruf der Netzwerk Setting in Yast und edit Netzwerkkarte (ohne Änderung der Einstellungen) und abschließendem OK funktioniert auch apache und squid wieder tadellos.

Kann mir jemand nen Tipp geben, wo ich da zu suchen anfange?

Aussgabe von collectNWData:
Code:
[code]
collectNWData.sh V0.6.5.4.3_i (Rev: 1.284, Build: 2011/04/28 22:09:38 UTC)
--- Which type of your network connection should be tested?
--- (1) Wired connection
--- What's the type of networktopology?
--- (2) DSL HW router <---> LinuxClient
--- On which host is the script executed?
--- (1) LinuxClient

--- NWEliza is analyzing the system for common network configuration errors ...

!!! CND0310W: Classic network configuration with ifup was detected. Configuration with knetworkmanager is much easier

--- Go to http://www.linux-tips-and-tricks.de/CND#English to get more detailed instructions 
--- about the error/warning messages and how to fix the problems on your own.

--- If you are unsuccessful then place the contents of file collectNWData.txt in the net
--- (see http://www.linux-tips-and-tricks.de/CND_UPL#English for links) 
--- and then paste the nopaste link on your favorite Linux forum.

==================================================================================================================
===== cat /etc/*[-_]release || cat /etc/*[-_]version =============================================================
/etc/SuSE-release
openSUSE 11.3 (i586)
VERSION = 11.3
===== uname -a ===================================================================================================
Linux max1 2.6.34.8-0.2-default #1 SMP 2011-04-06 18:11:26 +0200 i686 athlon i386 GNU/Linux
===== lspci ======================================================================================================
00:09.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL-8169 Gigabit Ethernet [10ec:8169] (rev 10)
	Subsystem: Realtek Semiconductor Co., Ltd. RTL-8169 Gigabit Ethernet [10ec:8169]
	Kernel driver in use: r8169
===== find /lib/modules/`uname -r` -name "*.ko" ==================================================================
Available kernelmodules for VendorId:DeviceId - 10ec:8169
Module: r8169
===== lsusb | grep -v "root hub" =================================================================================
Bus 003 Device 002: ID 04a9:1094 Canon, Inc. PIXMA iP3000x Printer
===== hwinfo (filtered) ==========================================================================================
19: PCI 09.0: 0200 Ethernet controller
  Model: "Realtek RTL-8169 Gigabit Ethernet"
  Vendor: pci 0x10ec "Realtek Semiconductor Co., Ltd."
  Device: pci 0x8169 "RTL-8169 Gigabit Ethernet"
  SubVendor: pci 0x10ec "Realtek Semiconductor Co., Ltd."
  SubDevice: pci 0x8169 
  Driver: "r8169"
  Driver Modules: "r8169"
  Device File: eth0
  Link detected: yes
    Driver Status: r8169 is active
    Driver Activation Cmd: "modprobe r8169"
===== lsmod (filtered) ===========================================================================================
| ac97_bus        | af_packet       | ehci_hcd        | hwmon           | i2c_core         |
| i2c_sis96x      | ip_tables       | libata          | mperf           | ns558            |
| ohci_hcd        | pci_hotplug     | ppdev           | r8169           | scsi_mod         |
| sd_mod          | sg              | shpchp          | sr_mod          | usblp            |
===== ifconfig (filtered for eth|wlan|ra|ath|dsl) ================================================================
eth0      Link encap:Ethernet  HWaddr ##:##:##:##:##:#1  
          inet addr:192.168.0.100  Bcast:192.168.0.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:17462 errors:0 dropped:0 overruns:0 frame:0
          TX packets:17136 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:16057078 (15.3 Mb)  TX bytes:15718935 (14.9 Mb)
          Interrupt:17 Base address:0xcf00 
===== cat /etc/sysconfig/network/ifcfg-[earwd]* | grep -v "=''" ==================================================
--- /etc/sysconfig/network/ifcfg-eth0
BOOTPROTO='static'
IPADDR='192.168.0.100/24'
NAME='RTL-8169 Gigabit Ethernet'
STARTMODE='auto'
USERCONTROL='no'
===== dhcpcd-test ================================================================================================
eth0: No DHCP server detected info, eth0: hardware address = ##:##:##:##:##:#1
info, eth0: broadcasting for a lease
debug, eth0: sending DHCP_DISCOVER with xid 0x704353a5
debug, eth0: waiting for 3 seconds
info, eth0: exiting
===== ping tests =================================================================================================
Ping of 195.135.220.3 OK
Ping of www.suse.de OK
===== cat /etc/resolv | grep -i "nameserver" =====================================================================
nameserver 192.168.0.5
===== cat /etc/hosts =============================================================================================
127.0.0.1       localhost.localdomain	localhost
192.168.0.100   max1 max1
===== route -n | egrep "(eth|ath|ra|wlan|dsl)" ===================================================================
192.168.0.0     0.0.0.0         255.255.255.0   U     0      0        0 eth0
169.254.0.0     0.0.0.0         255.255.0.0     U     0      0        0 eth0
0.0.0.0         192.168.0.5     0.0.0.0         UG    0      0        0 eth0
===== egrep 'eth|ath|wlan|ra' /etc/udev/rules.d/*net_persistent* /etc/udev/rules.d/*persistent-net* ==============
/etc/udev/rules.d/70-persistent-net.rules:SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="##:##:##:##:##:#1", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="eth*", NAME="eth0"
==================================================================================================================
*** NWElizaStates V0.6.5.4.3_i
IF:eth0 IM:1 DI:1 FALON:1 NIC:0 cNiC:1:0 NI:0 cNI:0 PNG:0 DNS:0 MTU:0 NISS:0 IP6:0 KM:0 WLW:0 RTDT:SuSE
[/code]
 

spoensche

Moderator
Teammitglied
Prüfe mal, anhand der Ausgabe von
Code:
chkconfig -l
, ob die Dienste im Runlevel 3 auf "on" stehen. Wenn nicht, kannst du das mit
Code:
insserv -d apache2
ändern.
 
OP
M

magnum

Newbie
Danke für den Tip,
Dienste stehen beide auf on, ein insserv -d apache2 oder insserv -d squid ändert auch nichts

was macht denn yast beim aktualisieren der Netzwerkkarte? Kann ich das manuell anstoßen?

Gruß

magnum
 

spoensche

Moderator
Teammitglied
magnum schrieb:
was macht denn yast beim aktualisieren der Netzwerkkarte? Kann ich das manuell anstoßen?

Mir ist zwar gerade nicht ganz klar, was du mit aktualisieren der Netzwerkkarte meinst. Ich vermute mal du meinst den Neustart von Apache und Squid, nach dem du die Netzwerkeinstellungen mit Yast aufgerufen hast.

Wennn du den Rechner gebootet hast, dann poste mal bitte die Ausgabe von
Code:
dmesg | grep -i net
. Was steht den nach dem Systemstart in den Logfiles des Apache und des Squids?
 
OP
M

magnum

Newbie
Mir ist zwar gerade nicht ganz klar, was du mit aktualisieren der Netzwerkkarte meinst. Ich vermute mal du meinst den Neustart von Apache und Squid, nach dem du die Netzwerkeinstellungen mit Yast aufgerufen hast.
na ich rufe yast auf, gehe zu den Network Devices, da zu Network Settings, dann wähle ich die (einzige) Netzwerkkarte aus. Per alt+i gehe ich in die Einstellungen, per alt+n und alt+o dann wieder raus. Einstellungen werden nicht verändert! Danach kommt die Meldung "Saving Network Configuration". In dem Moment, in dem Set up network settings durchlaufen ist, funktionieren auch apache und squid. Sieht etwa so aus:

Saving Network Configuration

x Write drivers information
x Write device configuration
x Write network configuration
x Write routing configuration
x Write hostname and DNS configuration
x Set up network services 'ab hier/jetzt funktioniert apache und squid wieder
=> Write firewall settings
- activate network services
- Run SuSEconfig
- Set up smpppd

Nach einem Reboot und Vor dem "durchyasten" habe ich die folgende Meldung im apache log file:
Code:
[Sun May 22 23:26:50 2011] [notice] Apache/2.2.15 (Linux/SUSE) DAV/2 mod_ssl/2.2
.15 OpenSSL/1.0.0 PHP/5.3.3 configured -- resuming normal operations

hilft das weiter?

Gruß

magnum
 

spoensche

Moderator
Teammitglied
Es bestätigt, dass bei der Konfiguration und Start der Schnittstelle bzw. beim Start der Dienste, während des Systemstart etwas schief läuft.

Liefer bitte mal die Ausgabe von
Code:
dmesg | grep -i net
nach. Poste bitte auch mal die Ausgabe von
Code:
chkconfig -l
 
OP
M

magnum

Newbie
ok, hier die zwei Ausgaben direkt nach dem booten, apache und squid (und sftp) funktionieren nicht:

Code:
max1:~ # dmesg | grep -i net
[    0.005417] Initializing cgroup subsys net_cls
[    0.448000] NET: Registered protocol family 16
[    0.493986] NetLabel: Initializing
[    0.494041] NetLabel:  domain hash size = 128
[    0.494095] NetLabel:  protocols = UNLABELED CIPSOv4
[    0.494177] NetLabel:  unlabeled traffic allowed by default
[    0.535862] NET: Registered protocol family 2
[    0.541838] NET: Registered protocol family 1
[    0.542872] audit: initializing netlink socket (disabled)
[    1.182379] NET: Registered protocol family 10
[    5.912735] preloadtrace: systemtap: 1.1/0.147, base: ecac9000, memory: 24data/38text/6ctx/13net/260alloc kb, probes: 34
[    9.250337] r8169 Gigabit Ethernet driver 2.3LK-NAPI loaded
[    9.250579] r8169 0000:00:09.0: (unregistered net_device): no PCI Express capability
[   27.089801] ip_tables: (C) 2000-2006 Netfilter Core Team
[   36.884679] NET: Registered protocol family 17


Code:
max1:~ # chkconfig -l
SuSEfirewall2_init        0:off  1:off  2:off  3:off  4:off  5:off  6:off
SuSEfirewall2_setup       0:off  1:off  2:off  3:off  4:off  5:off  6:off
aaeventd                  0:off  1:off  2:off  3:off  4:off  5:off  6:off
acpid                     0:off  1:off  2:on   3:on   4:off  5:on   6:off
alsasound                 0:off  1:off  2:on   3:on   4:off  5:on   6:off
amavis                    0:off  1:off  2:off  3:off  4:off  5:off  6:off
apache2                   0:off  1:off  2:off  3:on   4:off  5:on   6:off
arpwatch                  0:off  1:off  2:off  3:off  4:off  5:off  6:off
atd                       0:off  1:off  2:off  3:off  4:off  5:off  6:off
auditd                    0:off  1:off  2:off  3:on   4:off  5:on   6:off
autofs                    0:off  1:off  2:off  3:off  4:off  5:off  6:off
autoyast                  0:off  1:off  2:off  3:off  4:off  5:off  6:off
avahi-daemon              0:off  1:off  2:off  3:on   4:off  5:on   6:off
avahi-dnsconfd            0:off  1:off  2:off  3:on   4:off  5:on   6:off
bgpd                      0:off  1:off  2:off  3:off  4:off  5:off  6:off
bluez-coldplug            0:off  1:off  2:on   3:on   4:off  5:on   6:off
cifs                      0:off  1:off  2:off  3:off  4:off  5:off  6:off
clamav-milter             0:off  1:off  2:off  3:off  4:off  5:off  6:off
clamd                     0:off  1:off  2:off  3:off  4:off  5:off  6:off
cron                      0:off  1:off  2:on   3:on   4:off  5:on   6:off
cups                      0:off  1:off  2:on   3:on   4:off  5:on   6:off
cyrus                     0:off  1:off  2:off  3:off  4:off  5:off  6:off
dbus                      0:off  1:off  2:on   3:on   4:off  5:on   6:off
ddclient                  0:off  1:off  2:off  3:off  4:off  5:off  6:off
dhcp6r                    0:off  1:off  2:off  3:off  4:off  5:off  6:off
dhcp6s                    0:off  1:off  2:off  3:off  4:off  5:off  6:off
dhcpd                     0:off  1:off  2:off  3:on   4:off  5:on   6:off
dhcpd6                    0:off  1:off  2:off  3:off  4:off  5:off  6:off
dhcrelay                  0:off  1:off  2:off  3:off  4:off  5:off  6:off
dhcrelay6                 0:off  1:off  2:off  3:off  4:off  5:off  6:off
dnsmasq                   0:off  1:off  2:off  3:off  4:off  5:off  6:off
earlysyslog               0:off  1:off  2:off  3:off  4:off  5:on   6:off
earlyxdm                  0:off  1:off  2:off  3:off  4:off  5:on   6:off
esound                    0:off  1:off  2:off  3:off  4:off  5:off  6:off
fbset                     0:off  1:on   2:on   3:on   4:off  5:on   6:off
fetchmail                 0:off  1:off  2:off  3:off  4:off  5:off  6:off
freshclam                 0:off  1:off  2:off  3:off  4:off  5:off  6:off
gpm                       0:off  1:off  2:off  3:off  4:off  5:off  6:off
haldaemon                 0:off  1:off  2:on   3:on   4:off  5:on   6:off
inn                       0:off  1:off  2:off  3:off  4:off  5:off  6:off
irq_balancer              0:off  1:off  2:off  3:off  4:off  5:off  6:off
joystick                  0:off  1:off  2:off  3:off  4:off  5:off  6:off
kbd                       0:off  1:on   2:on   3:on   4:off  5:on   6:off  S:on
ksysguardd                0:off  1:off  2:off  3:off  4:off  5:off  6:off
lm_sensors                0:off  1:off  2:off  3:off  4:off  5:off  6:off
mailman                   0:off  1:off  2:off  3:off  4:off  5:off  6:off
mdadmd                    0:off  1:off  2:off  3:off  4:off  5:off  6:off
multipathd                0:off  1:off  2:off  3:off  4:off  5:off  6:off
mysql                     0:off  1:off  2:on   3:on   4:off  5:on   6:off
nagios                    0:off  1:off  2:off  3:off  4:off  5:off  6:off
named                     0:off  1:off  2:off  3:off  4:off  5:off  6:off
network                   0:off  1:off  2:on   3:on   4:off  5:on   6:off
network-remotefs          0:off  1:off  2:on   3:on   4:off  5:on   6:off
nfs                       0:off  1:off  2:off  3:on   4:off  5:on   6:off
nfsserver                 0:off  1:off  2:off  3:off  4:off  5:off  6:off
nmb                       0:off  1:off  2:off  3:on   4:off  5:on   6:off
nscd                      0:off  1:off  2:off  3:on   4:off  5:on   6:off
ntp                       0:off  1:off  2:off  3:off  4:off  5:off  6:off
openct                    0:off  1:off  2:off  3:off  4:off  5:off  6:off
ospf6d                    0:off  1:off  2:off  3:off  4:off  5:off  6:off
ospfd                     0:off  1:off  2:off  3:off  4:off  5:off  6:off
pcscd                     0:off  1:off  2:off  3:off  4:off  5:off  6:off
pm-profiler               0:off  1:off  2:off  3:off  4:off  5:off  6:off
postfix                   0:off  1:off  2:off  3:on   4:off  5:on   6:off
powerd                    0:off  1:off  2:off  3:off  4:off  5:off  6:off
racoond                   0:off  1:off  2:off  3:off  4:off  5:off  6:off
radvd                     0:off  1:off  2:off  3:off  4:off  5:off  6:off
random                    0:off  1:off  2:on   3:on   4:off  5:on   6:off
raw                       0:off  1:off  2:off  3:off  4:off  5:off  6:off
ripd                      0:off  1:off  2:off  3:off  4:off  5:off  6:off
ripngd                    0:off  1:off  2:off  3:off  4:off  5:off  6:off
rpcbind                   0:off  1:off  2:off  3:on   4:off  5:on   6:off
rpmconfigcheck            0:off  1:off  2:off  3:off  4:off  5:off  6:off
rsyncd                    0:off  1:off  2:off  3:off  4:off  5:off  6:off
saslauthd                 0:off  1:off  2:off  3:off  4:off  5:off  6:off
setserial                 0:off  1:off  2:off  3:off  4:off  5:off  6:off  B:on
skeleton.compat           0:off  1:off  2:off  3:off  4:off  5:off  6:off
slpd                      0:off  1:off  2:off  3:off  4:off  5:off  6:off
smartd                    0:off  1:off  2:on   3:on   4:off  5:on   6:off
smb                       0:off  1:off  2:off  3:on   4:off  5:on   6:off
smolt                     0:off  1:off  2:off  3:off  4:off  5:off  6:off
spamd                     0:off  1:off  2:off  3:off  4:off  5:off  6:off
spampd                    0:off  1:off  2:off  3:off  4:off  5:off  6:off
splash                    0:off  1:off  2:off  3:off  4:off  5:off  6:off
splash_early              0:off  1:off  2:off  3:off  4:off  5:off  6:off
squid                     0:off  1:off  2:off  3:on   4:off  5:on   6:off
sshd                      0:off  1:off  2:off  3:on   4:off  5:on   6:off
stoppreload               0:off  1:on   2:on   3:on   4:off  5:on   6:off
svnserve                  0:off  1:off  2:off  3:on   4:off  5:on   6:off
syslog                    0:off  1:off  2:on   3:on   4:off  5:on   6:off
vsftpd                    0:off  1:off  2:off  3:on   4:off  5:on   6:off
webmin                    0:off  1:off  2:on   3:on   4:off  5:on   6:off
webmin-iptables           0:off  1:off  2:on   3:on   4:off  5:on   6:off
winbind                   0:off  1:off  2:off  3:off  4:off  5:off  6:off
xdm                       0:off  1:off  2:off  3:off  4:off  5:on   6:off
xfs                       0:off  1:off  2:off  3:off  4:off  5:off  6:off
xinetd                    0:off  1:off  2:off  3:on   4:off  5:on   6:off
ypbind                    0:off  1:off  2:off  3:off  4:off  5:off  6:off
zebra                     0:off  1:off  2:off  3:off  4:off  5:off  6:off
xinetd based services:
        chargen:            off
        chargen-udp:        off
        cups-lpd:           on
        daytime:            off
        daytime-udp:        off
        discard:            off
        discard-udp:        off
        echo:               off
        echo-udp:           off
        netstat:            off
        rsync:              off
        sane-port:          off
        servers:            off
        services:           off
        svnserve:           off
        swat:               off
        systat:             off
        tftp:               off
        time:               off
        time-udp:           off
        vnc:                off
        vsftpd:             on

vielen Dank für deine Hilfe!

Gruß
magnum
 

spoensche

Moderator
Teammitglied
Wenn dein Rechner nicht als DHCP-Server arbeitet, kannst du den dhcpd deaktivieren. Den Dienst network-remotefs benötigst du nur, wenn du Netzwerkfreigaben eines anderen Rechner mountest.

Mir ist in deiner /etc/hosts folgendes aufgefallen (habe ich vorher überlesen):
magnum schrieb:
192.168.0.100 max1 max1

Die /etc/hosts wird für die Namensauflösung verwendet und der Eintrag stimmt so nicht. In der dritten Spalte steht "max1". Da du keinen FQDN verwendest, muss die dritte Spalte leer sein.
Da der Apache und der Squid die /etc/hosts auswerten, kann dies u.U. zu deinem Problemen führen.

Beim Posten von Ausgaben bitte die
Code:
 Tags verwenden.
 
OP
M

magnum

Newbie
OK, in der hosts hab ichs geändert, da steht jetzt:
Code:
192.168.0.100 max1
Hat aber nichts geändert :-(

den dhcp verwende ich, der funktioniert auch nach dem booten

der Dienst network-remotefs wird für vsftp benötigt, so jedenfalls die Meldung, die beim Versuch den zu deaktivieren kam. Ich lass den jetzt mal weiter laufen.

apache oder squid nach dem booten wieder neu zu starten, ändert auch nichts ...

Das mit den code-tags mach ich, danke, dass du das geändert hast :)

wo könnte man denn noch ansetzen?

Edit: ein ifconfig eth0 down und ifconfig eth0 up am Server ändert auch nichts, im Moment hilft nur das beschriebene "yasten"

Gruß

magnum
 

spoensche

Moderator
Teammitglied
magnum schrieb:
den dhcp verwende ich, der funktioniert auch nach dem booten

Also betreibst du auf dem Rechner auch einen DHCP-Server, der den Rechnern im LAN eine IP zuweist?

magnum schrieb:
apache oder squid nach dem booten wieder neu zu starten, ändert auch nichts ...

Welche Meldungen bekommst du angezeigt? Was sagt den das Logfile des Squid? (Bitte posten)

Stoppe den Apache mal und starte ihn mit
Code:
/etc/init.d/apache2 start

Meldungen bitte posten.

magnum schrieb:
Edit: ein ifconfig eth0 down und ifconfig eth0 up am Server ändert auch nichts, im Moment hilft nur das beschriebene "yasten"

Damit aktivierst bzw. deaktivierst du nur die Schnittstelle, aber der Apache und der Squid werden nicht neu gestartet.

Deaktiviere den Squid beim Systemstart und teste ob der Apache dann erreichbar ist.

PS:
Dein Rechner ist quasi eine eierlegende Wollmilchsau, was auf dauer kein Rechner durchhält.
 
OP
M

magnum

Newbie
vorweg erstmal vielen Dank für deine Geduld!

Also betreibst du auf dem Rechner auch einen DHCP-Server, der den Rechnern im LAN eine IP zuweist?
ja, funzt auch

Dein Rechner ist quasi eine eierlegende Wollmilchsau, was auf dauer kein Rechner durchhält.
Naja, die letzen zwei Jahre hat ers problemlos gemacht. Jetzt mit Gigabit-Lan ist der samba ein Traum, Drucken funktioniert, der apache ist nur Testserver für meine Webprojekte funzt auch bestens (wenn er läuft), der squid ist eigentlich wirklich überflüssig. Und für vier bis fünf clients sollte der wirklich nicht überbeansprucht sein ;-)

OK, also squid per yast aus dem Systemstart rausgenommen, nach reboot sind in der /var/log/apache2/error_log die folgenden Meldungen zu sehen (per tail -f /var/log/apache2/error_log):
Code:
[Wed May 25 21:37:54 2011] [notice] caught SIGTERM, shutting down
[Wed May 25 21:39:16 2011] [notice] Apache/2.2.15 (Linux/SUSE) DAV/2 mod_ssl/2.2.15 OpenSSL/1.0.0 PHP/5.3.3 configured -- resuming normal operations
Würde ich jetzt keinen Fehler erkennen, antworten tut er trotzdem nicht.

In access_log gibts keine neuen Einträge, eigentlich klar, gibt ja auch keine Zugriffe

jetzt apache gestoppt, gibt im error_log einen neuen Eintrag:
Code:
[Wed May 25 22:36:13 2011] [notice] caught SIGTERM, shutting down

jetzt apache wieder gestartet, gibt im error_log einen neuen Eintrag:
Code:
[Wed May 25 22:38:16 2011] [notice] Apache/2.2.15 (Linux/SUSE) DAV/2 mod_ssl/2.2.15 OpenSSL/1.0.0 PHP/5.3.3 configured -- resuming normal operations

Bisher auch keine Veränderung, Apache antwortet nicht

Beim "durchyasten" kommen in messages diese Meldungen, ist da was zu erkennnen? Danach funktioniert apache wieder ...
Code:
May 25 23:15:41 max1 udevd[369]: SYSFS{}= will be removed in a future udev version, please use ATTR{}= to match the
event device, or ATTRS{}= to match a parent device, in /etc/udev/rules.d/51-gpsd.rules:10
May 25 23:15:41 max1 udevd[369]: SYSFS{}= will be removed in a future udev version, please use ATTR{}= to match the
event device, or ATTRS{}= to match a parent device, in /etc/udev/rules.d/51-gpsd.rules:12
May 25 23:15:41 max1 udevd[369]: SYSFS{}= will be removed in a future udev version, please use ATTR{}= to match the
event device, or ATTRS{}= to match a parent device, in /etc/udev/rules.d/51-gpsd.rules:14
May 25 23:15:41 max1 udevd[369]: SYSFS{}= will be removed in a future udev version, please use ATTR{}= to match the
event device, or ATTRS{}= to match a parent device, in /etc/udev/rules.d/51-gpsd.rules:16
May 25 23:15:41 max1 udevd[369]: SYSFS{}= will be removed in a future udev version, please use ATTR{}= to match the
event device, or ATTRS{}= to match a parent device, in /etc/udev/rules.d/51-gpsd.rules:18
May 25 23:15:41 max1 udevd[369]: SYSFS{}= will be removed in a future udev version, please use ATTR{}= to match the
event device, or ATTRS{}= to match a parent device, in /etc/udev/rules.d/51-hso-udev.rules:73
May 25 23:15:41 max1 udevd[369]: SYSFS{}= will be removed in a future udev version, please use ATTR{}= to match the
event device, or ATTRS{}= to match a parent device, in /etc/udev/rules.d/51-hso-udev.rules:76
May 25 23:15:41 max1 udevd[369]: SYSFS{}= will be removed in a future udev version, please use ATTR{}= to match the
event device, or ATTRS{}= to match a parent device, in /etc/udev/rules.d/51-hso-udev.rules:77
May 25 23:15:41 max1 udevd[369]: SYSFS{}= will be removed in a future udev version, please use ATTR{}= to match the
event device, or ATTRS{}= to match a parent device, in /etc/udev/rules.d/51-hso-udev.rules:78
May 25 23:15:41 max1 udevd[369]: SYSFS{}= will be removed in a future udev version, please use ATTR{}= to match the
event device, or ATTRS{}= to match a parent device, in /etc/udev/rules.d/51-hso-udev.rules:79
May 25 23:15:41 max1 udevd[369]: SYSFS{}= will be removed in a future udev version, please use ATTR{}= to match the
event device, or ATTRS{}= to match a parent device, in /etc/udev/rules.d/51-hso-udev.rules:80
May 25 23:15:41 max1 udevd[369]: SYSFS{}= will be removed in a future udev version, please use ATTR{}= to match the
event device, or ATTRS{}= to match a parent device, in /etc/udev/rules.d/51-hso-udev.rules:81
May 25 23:15:41 max1 udevd[369]: SYSFS{}= will be removed in a future udev version, please use ATTR{}= to match the
event device, or ATTRS{}= to match a parent device, in /etc/udev/rules.d/51-hso-udev.rules:82
May 25 23:15:41 max1 udevd[369]: SYSFS{}= will be removed in a future udev version, please use ATTR{}= to match the
event device, or ATTRS{}= to match a parent device, in /etc/udev/rules.d/51-hso-udev.rules:83
May 25 23:15:41 max1 udevd[369]: SYSFS{}= will be removed in a future udev version, please use ATTR{}= to match the
event device, or ATTRS{}= to match a parent device, in /etc/udev/rules.d/51-hso-udev.rules:84
May 25 23:15:41 max1 udevd[369]: SYSFS{}= will be removed in a future udev version, please use ATTR{}= to match the
event device, or ATTRS{}= to match a parent device, in /etc/udev/rules.d/51-hso-udev.rules:85
May 25 23:15:41 max1 udevd[369]: SYSFS{}= will be removed in a future udev version, please use ATTR{}= to match the
event device, or ATTRS{}= to match a parent device, in /etc/udev/rules.d/51-hso-udev.rules:86
May 25 23:15:41 max1 udevd[369]: SYSFS{}= will be removed in a future udev version, please use ATTR{}= to match the
event device, or ATTRS{}= to match a parent device, in /etc/udev/rules.d/51-hso-udev.rules:87
May 25 23:15:41 max1 udevd[369]: SYSFS{}= will be removed in a future udev version, please use ATTR{}= to match the
event device, or ATTRS{}= to match a parent device, in /etc/udev/rules.d/51-hso-udev.rules:88
May 25 23:15:41 max1 udevd[369]: SYSFS{}= will be removed in a future udev version, please use ATTR{}= to match the
event device, or ATTRS{}= to match a parent device, in /etc/udev/rules.d/51-hso-udev.rules:89
May 25 23:15:41 max1 udevd[369]: SYSFS{}= will be removed in a future udev version, please use ATTR{}= to match the
event device, or ATTRS{}= to match a parent device, in /etc/udev/rules.d/51-hso-udev.rules:90
May 25 23:15:41 max1 udevd[369]: SYSFS{}= will be removed in a future udev version, please use ATTR{}= to match the
event device, or ATTRS{}= to match a parent device, in /etc/udev/rules.d/51-hso-udev.rules:91
May 25 23:15:41 max1 udevd[369]: SYSFS{}= will be removed in a future udev version, please use ATTR{}= to match the
event device, or ATTRS{}= to match a parent device, in /etc/udev/rules.d/51-hso-udev.rules:92
May 25 23:15:41 max1 udevd[369]: SYSFS{}= will be removed in a future udev version, please use ATTR{}= to match the
event device, or ATTRS{}= to match a parent device, in /etc/udev/rules.d/51-hso-udev.rules:93
May 25 23:15:41 max1 udevd[369]: SYSFS{}= will be removed in a future udev version, please use ATTR{}= to match the
event device, or ATTRS{}= to match a parent device, in /etc/udev/rules.d/51-hso-udev.rules:94
May 25 23:15:41 max1 udevd[369]: SYSFS{}= will be removed in a future udev version, please use ATTR{}= to match the
event device, or ATTRS{}= to match a parent device, in /etc/udev/rules.d/51-hso-udev.rules:95
May 25 23:15:41 max1 udevd[369]: SYSFS{}= will be removed in a future udev version, please use ATTR{}= to match the
event device, or ATTRS{}= to match a parent device, in /etc/udev/rules.d/51-hso-udev.rules:96
May 25 23:15:41 max1 udevd[369]: SYSFS{}= will be removed in a future udev version, please use ATTR{}= to match the
event device, or ATTRS{}= to match a parent device, in /etc/udev/rules.d/51-hso-udev.rules:97
May 25 23:15:41 max1 udevd[369]: SYSFS{}= will be removed in a future udev version, please use ATTR{}= to match the
event device, or ATTRS{}= to match a parent device, in /etc/udev/rules.d/51-hso-udev.rules:98
May 25 23:15:41 max1 udevd[369]: SYSFS{}= will be removed in a future udev version, please use ATTR{}= to match the
event device, or ATTRS{}= to match a parent device, in /etc/udev/rules.d/51-hso-udev.rules:99
May 25 23:15:41 max1 udevd[369]: SYSFS{}= will be removed in a future udev version, please use ATTR{}= to match the
event device, or ATTRS{}= to match a parent device, in /etc/udev/rules.d/51-hso-udev.rules:100
May 25 23:15:41 max1 udevd[369]: SYSFS{}= will be removed in a future udev version, please use ATTR{}= to match the
event device, or ATTRS{}= to match a parent device, in /etc/udev/rules.d/51-hso-udev.rules:101
May 25 23:15:41 max1 udevd[369]: SYSFS{}= will be removed in a future udev version, please use ATTR{}= to match the
event device, or ATTRS{}= to match a parent device, in /etc/udev/rules.d/51-hso-udev.rules:105
May 25 23:15:41 max1 udevd[369]: SYSFS{}= will be removed in a future udev version, please use ATTR{}= to match the
event device, or ATTRS{}= to match a parent device, in /etc/udev/rules.d/51-hso-udev.rules:106
May 25 23:15:41 max1 udevd[369]: SYSFS{}= will be removed in a future udev version, please use ATTR{}= to match the
event device, or ATTRS{}= to match a parent device, in /etc/udev/rules.d/51-hso-udev.rules:107
May 25 23:15:41 max1 udevd[369]: SYSFS{}= will be removed in a future udev version, please use ATTR{}= to match the
event device, or ATTRS{}= to match a parent device, in /etc/udev/rules.d/51-hso-udev.rules:108
May 25 23:15:41 max1 udevd[369]: SYSFS{}= will be removed in a future udev version, please use ATTR{}= to match the
event device, or ATTRS{}= to match a parent device, in /etc/udev/rules.d/51-hso-udev.rules:109
May 25 23:15:41 max1 udevd[369]: SYSFS{}= will be removed in a future udev version, please use ATTR{}= to match the
event device, or ATTRS{}= to match a parent device, in /etc/udev/rules.d/51-hso-udev.rules:110
May 25 23:15:41 max1 udevd[369]: SYSFS{}= will be removed in a future udev version, please use ATTR{}= to match the
event device, or ATTRS{}= to match a parent device, in /etc/udev/rules.d/51-hso-udev.rules:111
May 25 23:15:41 max1 udevd[369]: SYSFS{}= will be removed in a future udev version, please use ATTR{}= to match the
event device, or ATTRS{}= to match a parent device, in /etc/udev/rules.d/51-hso-udev.rules:112
May 25 23:15:41 max1 udevd[369]: SYSFS{}= will be removed in a future udev version, please use ATTR{}= to match the
event device, or ATTRS{}= to match a parent device, in /etc/udev/rules.d/51-hso-udev.rules:113
May 25 23:15:41 max1 udevd[369]: SYSFS{}= will be removed in a future udev version, please use ATTR{}= to match the
event device, or ATTRS{}= to match a parent device, in /etc/udev/rules.d/51-hso-udev.rules:114
May 25 23:15:41 max1 udevd[369]: SYSFS{}= will be removed in a future udev version, please use ATTR{}= to match the
event device, or ATTRS{}= to match a parent device, in /etc/udev/rules.d/51-hso-udev.rules:115
May 25 23:15:41 max1 udevd[369]: NAME="%k" is ignored, because it breaks kernel supplied names, please remove it fro
m /etc/udev/rules.d/51-hso-udev.rules:124
May 25 23:15:43 max1 kernel: [ 3421.452765] ip6_tables: (C) 2000-2006 Netfilter Core Team
May 25 23:15:43 max1 SuSEfirewall2: batch committing...
May 25 23:15:43 max1 SuSEfirewall2: Firewall rules unloaded.
May 25 23:15:46 max1 ifprobe:     eth0      changed config file: ifcfg-eth0 --> restart interface!
May 25 23:15:46 max1 ifdown:     eth0      device: Realtek Semiconductor Co., Ltd. RTL-8169 Gigabit Ethernet (rev 10
)
May 25 23:15:47 max1 dhcpd: receive_packet failed on eth0: Network is down
May 25 23:15:47 max1 avahi-daemon[1814]: Withdrawing address record for 192.168.0.100 on eth0.
May 25 23:15:47 max1 avahi-daemon[1814]: Leaving mDNS multicast group on interface eth0.IPv4 with address 192.168.0.
100.
May 25 23:15:47 max1 avahi-daemon[1814]: Interface eth0.IPv4 no longer relevant for mDNS.
May 25 23:15:48 max1 ifup:     eth0      device: Realtek Semiconductor Co., Ltd. RTL-8169 Gigabit Ethernet (rev 10)
May 25 23:15:48 max1 kernel: [ 3426.087825] r8169 0000:00:09.0: eth0: link up
May 25 23:15:48 max1 ifup:     eth0
May 25 23:15:48 max1 ifup: IP address: 192.168.0.100/24
May 25 23:15:48 max1 ifup:
May 25 23:15:48 max1 avahi-daemon[1814]: Joining mDNS multicast group on interface eth0.IPv4 with address 192.168.0.
100.
May 25 23:15:48 max1 avahi-daemon[1814]: New relevant interface eth0.IPv4 for mDNS.
May 25 23:15:48 max1 avahi-daemon[1814]: Registering new address record for 192.168.0.100 on eth0.IPv4.
May 25 23:19:25 max1 smartd[2691]: Device: /dev/sda [SAT], 2 Currently unreadable (pending) sectors

Gute Nacht!

magnum
 

spoensche

Moderator
Teammitglied
magnum schrieb:
OK, also squid per yast aus dem Systemstart rausgenommen, nach reboot sind in der /var/log/apache2/error_log die folgenden Meldungen zu sehen (per tail -f /var/log/apache2/error_log):

tail -f macht Sinn, wenn du Live im Logfile mitlesen willst. Also z.B. bei der Firewall, wenn man Verbindungen aufbaut, um zu testen, ob die FW den Verkehr blockt.

Code:
egrep "err|warn|fail" /var/log/apache2/error.log
sucht in der Datei nach Error, Warnungen etc., also nach möglichen Ursachen.

magnum schrieb:
Würde ich jetzt keinen Fehler erkennen, antworten tut er trotzdem nicht.

In access_log gibts keine neuen Einträge, eigentlich klar, gibt ja auch keine Zugriffe

Richtig. SIGTERM bedeutet, dass der Apache das Signal Terminate (Beenden,terminieren) erhalten hat und beendet wird.


magnum schrieb:
Beim "durchyasten" kommen in messages diese Meldungen, ist da was zu erkennnen? Danach funktioniert apache wieder ...
Code:
May 25 23:15:41 max1 udevd[369]: SYSFS{}= will be removed in a future udev version, please use ATTR{}= to match the
event device, or ATTRS{}= to match a parent device, in /etc/udev/rules.d/51-gpsd.rules:18
May 25 23:15:41 max1 udevd[369]: SYSFS{}= will be removed in a future udev version, please use ATTR{}= to match the
event device, or ATTRS{}= to match a parent device, in /etc/udev/rules.d/51-hso-udev.rules:73

May 25 23:15:41 max1 udevd[369]: NAME="%k" is ignored, because it breaks kernel supplied names, please remove it fro
m /etc/udev/rules.d/51-hso-udev.rules:124

Ja, da ist was zu erkennen, ältere Udev Regeln für die Erzeugung von Gerätedateien. Was für Hardware verbirgt sich hinter gpsd und hso?


magnum schrieb:
Code:
May 25 23:15:47 max1 dhcpd: receive_packet failed on eth0: Network is down
May 25 23:15:47 max1 avahi-daemon[1814]: Withdrawing address record for 192.168.0.100 on eth0.
May 25 23:15:47 max1 avahi-daemon[1814]: Leaving mDNS multicast group on interface eth0.IPv4 with address 192.168.0.
100.

Deaktiviere Multicast mal den Avahi Daemon.


magnum schrieb:
Code:
May 25 23:19:25 max1 smartd[2691]: Device: /dev/sda [SAT], 2 Currently unreadable (pending) sectors

Das ist gar nicht gut. Mach ein Backup und überprüfe mal deine Festplatte mit
Code:
smartctl -a
 
OP
M

magnum

Newbie
Was für Hardware verbirgt sich hinter gpsd und hso?
Das scheint USB zu sein, gpsd als für die Erkennung von GPS-Mäusen, hso hab ich jetzt nur in Verbindung mit USB gesehen, so richtig sicher bin ich mir aber nicht

Deaktiviere Multicast mal den Avahi Daemon
Den Avahi-Daemon hab ich jetzt mal ganz deaktiviert, so dass er beim Starten nicht mehr gestartet wird, aber keine Veränderung

So nebenbei hab ich noch ein anderes Problem mit Samba lösen können, da war OS-Level auf 100 gestanden ohne dass der Server Master-Browser sein sollte, jetzt auf 64 geändert und mein Server und die anderen Rechner sind plötzlich sauber in der Windows-Netzwerkumgebung gelistet, war vorher nicht so. Also schon mal ein Erfolg :))

Das Backup ist natürlich gemacht, ich behalte die Platte im Auge, sie fliegt raus, sowie der Server richtig tut ...

Wäre die /etc/init.d/rc3.d noch eine Stelle, die zu checken wäre? Vielleicht die Reihenfolge beim Starten? Wenn ich das recht verstanden habe werden die Dienste(?) mit dem S vorne dran in der Reihenfolge der danach folgenden Zahlen gestartet.
Wie kann ich dort denn prüfen, ob die Reihenfolge so passt?
Müssen die mit K angepasst werden, wenn die mit S in der Reihenfolge geändert werden?

Immer noch vielen Dank für deine Geduld!

Gruß

Magnum
 

josef-wien

Ultimate Guru
http://www.linux-club.de/viewtopic.php?f=15&t=113496&p=710625#p710625 (zur Steuerung der Abhängigkeiten lies die manpage von insserv)

P.S. Wird Dein Problem auch mit
Code:
rcnetwork restart
umgangen?
 
OP
M

magnum

Newbie
rcnetwork restart
Hatte ich auch schon probiert, ändert nichts

network-remotefs ist gestartet.

Im Moment hilft nur das Durchgehen der Einstellungen von Network Devices mit Editieren (ohne was zu ändern) und abschließendes OK. dann ist Apache und Squid sofort verfügbar.
Seltsamerweise ist dhcp, samba, ssh ja schon direkt nach dem reboot funktionsfähig.

vielen Dank für die Tipps!

Gruß

Magnum
 
OP
M

magnum

Newbie
/var/log/YaST2/y2log

war jetzt ein Super Tipp.

Mit etwas ausprobieren bin ich auf die Zeile gestoßen, die hilft:
max1:~ # SuSEfirewall2 stop
SuSEfirewall2: batch committing...
SuSEfirewall2: Firewall rules unloaded.
max1:~ #
ich glaube, jetzt kommen wir der Sache schon näher ...

Die Firewall ist aber nicht gestartet, ich würde jetzt vermuten, dass es trotzdem in dem Bereich liegt. Kann mir jemand bei der Firewall noch helfen?
Was braucht ihr dazu?

Immer noch vielen Dank für eure Unterstützung!!

Magnum
 

josef-wien

Ultimate Guru
Wenn das Stoppen der Firewall hilft, muß sie wohl zwangsläufig gestartet gewesen sein (und das ist ja auch der Normalfall). Bei der Netzwerk-Einrichtung stoppt YaST die Firewall und startet sie sofort wieder.

Wenn Du nach dem nächsten Systemstart die Firewall stoppst und danach wieder startest und Dein Problem damit behoben ist, muß wohl irgendeine Quelle nach dem ersten Start der Firewall *) die iptables-Regeln zu Deinen Ungunsten verändern. Durch den Neustart der Firewall werden dann die Einstellungen von Grund auf neu gemacht. Vergleiche einmal die Ergebnisse von iptables-save vor und nach der Problembehebung.

*) SuSEfirewall2_setup gehört neben stoppreload zur letzten Gruppe von Diensten, die im jeweiligen runlevel gestartet werden.
 
OP
M

magnum

Newbie
also so richtig verstehen tu ichs ja nicht, aber jetzt funzts!

Ich hab die Einstellungen der Firewall in Yast durchgesehen:
- Disable Firewall Automatic Starting gesetzt, also eigentlich beim Start deaktiviert
- seltsamerweise aber Status "running"

Dann einfach mal Firewall beim Start aktiviert, und siehe da, es funktioniert jetzt auch alles (bisher zumindest...)

Etwas wundert mich, dass obwohl ich bei den "Allowed Services" auf "Internal Zone" gestellt habe, nach dem nächsten Start wieder "External Zone" drin steht. Gibts dafür ne Erklärung?

Eigentlich dachte ich, dass die Firewall auf dem Server nicht aktiv sein muss, sitzt ja ein Router mit Firewall davor. Ich muss mich in das Thema wohl noch etwas einlesen.

Im Moment bin ich auf jedenfall froh, dass das jetzt endlich funktioniert.

Euch ganz vielen Dank für die Geduld, Hilfe und die Tipps!!

viele Grüße

Magnus
 

josef-wien

Ultimate Guru
magnum schrieb:
Etwas wundert mich, dass obwohl ich bei den "Allowed Services" auf "Internal Zone" gestellt habe, nach dem nächsten Start wieder "External Zone" drin steht. Gibts dafür ne Erklärung?
Du wählst oben eine von drei Möglichkeiten aus und gibst dann unten die für diese Zone erlaubten Dienste an. Beim Aufruf dieser Funktion ist die Anzeige der "Externen Zone" voreingestellt.
 
Oben