Fehlersuche

Aus Opennet
Wechseln zu: Navigation, Suche

Inhaltsverzeichnis

Mysteriöse Fehler mit WRAPs bei Opennet

http://forum.opennet-initiative.de/thread.php?threadid=1646

Übersicht

AP71    stabil
AP150   momentan stabil (Lohro)
AP180   stabil
AP181   stabil
AP182   unbekannt
AP183   stabil
AP184   instabil
AP185   instabil
AP186   instabil
AP187   stabil
AP188   stabil
AP189   stabil

Prozesse

Prozessliste AP187

root@AP187-ZiolkowskiStr10:~# ps -ef

 PID  Uid     VmSize Stat Command
   1 root        372 S   init       
   2 root            SWN [ksoftirqd/0]
   3 root            SW< [events/0]
   4 root            SW< [khelper]
   5 root            SW< [kthread]
  28 root            SW< [kblockd/0]
  29 root            SW< [kseriod]
  57 root            SW  [pdflush]
  58 root            SW  [pdflush]
  59 root            SW< [kswapd0]
  60 root            SW< [aio/0]
 147 root            SW  [mtdblockd]
 154 root            SW< [kpsmoused]
 394 root        372 S   logger -s -p 6 -t  
 395 root        224 S   init       
 396 root        224 S   init       
 422 root        288 S   /sbin/syslogd -C16 -m 0 
 439 root        344 S   syslogd -C16 
 442 root        272 S   klogd 
 450 root        228 S   /sbin/hotplug2 --persistent --max-children 1 
 852 root        208 S   watchdog /dev/watchdog 
1055 root        716 S   /usr/sbin/sshd 
1968 root        304 S   crond -c /etc/crontabs 
2028 root        300 S   /usr/sbin/dropbear -p 10022 
2069 root        208 S   httpd -p 80 -h /www -r OpenWrt 
2072 root        856 S   olsrd -nofork 
2479 root       1304 S   /usr/sbin/sshd: root@pts/0
2481 root        432 S   -ash 
2490 root        352 R   ps -ef

Prozessliste AP186

root@AP186-Kirche:/etc/init.d# ps -ef

 PID  Uid     VmSize Stat Command
   1 root        368 S   init       
   2 root            SWN [ksoftirqd/0]
   3 root            SW< [events/0]
   4 root            SW< [khelper]
   5 root            SW< [kthread]
  28 root            SW< [kblockd/0]
  29 root            SW< [kseriod]
  57 root            SW  [pdflush]
  58 root            SW  [pdflush]
  59 root            SW< [kswapd0]
  60 root            SW< [aio/0]
 147 root            SW  [mtdblockd]
 154 root            SW< [kpsmoused]
 394 root        368 S   logger -s -p 6 -t  
 395 root        220 S   init       
 396 root        220 S   init       
 422 root        284 S   /sbin/syslogd -C16 -m 0 
 439 root        340 S   syslogd -C16 
 442 root        272 S   klogd 
 450 root        228 S   /sbin/hotplug2 --persistent --max-children 1 
 853 root        212 S   watchdog /dev/watchdog 
1018 root        716 S   /usr/sbin/sshd 
2008 root        328 S   crond -c /etc/crontabs 
2047 root        300 S   /usr/sbin/dropbear -p 10022 
2114 root        300 S   httpd -p 80 -h /www -r OpenWrt 
2117 root        856 S   olsrd -nofork 
2298 root       1300 S   /usr/sbin/sshd: root@pts/0
2300 root        484 S   -ash 
3609 root        352 R   ps -ef

Prozessliste AP185

root@AP185-Kirche:~# ps -ef

 PID  Uid     VmSize Stat Command
   1 root        372 S   init       
   2 root            SWN [ksoftirqd/0]
   3 root            SW< [events/0]
   4 root            SW< [khelper]
   5 root            SW< [kthread]
  28 root            SW< [kblockd/0]
  29 root            SW< [kseriod]
  57 root            SW  [pdflush]
  58 root            SW  [pdflush]
  59 root            SW< [kswapd0]
  60 root            SW< [aio/0]
 147 root            SW  [mtdblockd]
 154 root            SW< [kpsmoused]
 394 root        368 S   logger -s -p 6 -t  
 395 root        224 S   init       
 396 root        224 S   init       
 422 root        288 S   /sbin/syslogd -C16 -m 0 
 439 root        344 S   syslogd -C16 
 442 root        276 S   klogd 
 450 root        224 S   /sbin/hotplug2 --persistent --max-children 1 
 856 root        212 S   watchdog /dev/watchdog 
1077 root        720 S   /usr/sbin/sshd 
1991 root        304 S   crond -c /etc/crontabs 
2031 root        300 S   /usr/sbin/dropbear -p 10022 
2106 root        204 S   httpd -p 80 -h /www -r OpenWrt 
2109 root        864 S   olsrd -nofork 
2298 root       1448 S   /usr/sbin/sshd: root@pts/0
2300 root        492 S   -ash 
2310 root        352 R   ps -ef

Startkonfiguration

root@AP188-Bauamt-HamburgerStrasse:~# ls -la /etc/init.d/

drwxr-xr-x    2 root     root         1024 Nov 24 15:40 .
drwxr-xr-x   13 root     root         1024 Apr  5 12:17 ..
-rwxr-xr-x    1 root     root         1369 Nov 24 15:40 batmand
-rwxr-xr-x    1 root     root         1414 May 22  2007 boot
-rwxr-xr-x    1 root     root          239 May 20  2007 cron
-rwxr-xr-x    1 root     root          397 May 19  2007 custom-user-startup
-rwxr-xr-x    1 root     root          678 May 22  2007 declare_spare
-rwxr-xr-x    1 root     root         1503 May 22  2007 dnsmasq
-rwx------    1 root     root          243 May 10  2007 done
-rwxr-xr-x    1 root     root         1176 May 20  2007 dropbear
-rwxr-xr-x    1 root     root         3895 May 22  2007 firewall
-rwxr-xr-x    1 root     root          245 May 20  2007 httpd
-rwxr-xr-x    1 root     root          207 May 22  2007 modules
-rwx------    1 root     root          421 Aug 28  2007 network
-rwxr-xr-x    1 root     root          815 May 22  2007 ntpclient
-rwxr-xr-x    1 root     root          349 May 10  2007 olsrd
-rwxr-xr-x    1 root     root         1597 May 19  2007 openvpn
-rwx------    1 root     root          121 May 10  2007 rcS
-rwxr-xr-x    1 root     root          517 May 22  2007 sshd
-rwx------    1 root     root          123 May 10  2007 sysctl
-rwxr-xr-x    1 root     root           79 May 19  2007 syslog
-rwxr-xr-x    1 root     root          297 May 20  2007 telnet
-rwx------    1 root     root           99 May 10  2007 umount
-rwx------    1 root     root          154 Apr 24  2007 usb
-rwxr-xr-x    1 root     root         1134 May 22  2007 watchdog
-rwxr-xr-x    1 root     root         3997 May 19  2007 webif


root@AP186-Kirche:/etc/init.d# ls -la

drwxr-xr-x    2 root     root         1024 Apr 17 16:28 .
drwxr-xr-x   13 root     root         1024 Apr 17 16:40 ..
----------    1 root     root         1369 Nov 24 15:40 batmand
-rwxr-xr-x    1 root     root         1414 May 22  2007 boot
-rwxr-xr-x    1 root     root          239 May 20  2007 cron
-rwxr-xr-x    1 root     root          397 May 19  2007 custom-user-startup
-rwxr-xr-x    1 root     root          678 May 22  2007 declare_spare
-rwxr-xr-x    1 root     root         1503 May 22  2007 dnsmasq
-rwx------    1 root     root          243 May 10  2007 done
-rwxr-xr-x    1 root     root         1176 May 20  2007 dropbear
-rwxr-xr-x    1 root     root         3895 May 22  2007 firewall
-rwxr-xr-x    1 root     root          245 May 20  2007 httpd
-rwxr-xr-x    1 root     root          207 May 22  2007 modules
-rwx------    1 root     root          346 May 10  2007 network
-rwxr-xr-x    1 root     root          815 May 22  2007 ntpclient
-rwxr-xr-x    1 root     root          349 May 10  2007 olsrd
-rwxr-xr-x    1 root     root         1597 May 19  2007 openvpn
-rwx------    1 root     root          121 May 10  2007 rcS
-rwxr-xr-x    1 root     root          517 May 22  2007 sshd
-rwx------    1 root     root          123 May 10  2007 sysctl
-rwxr-xr-x    1 root     root           79 May 19  2007 syslog
-rwxr-xr-x    1 root     root          297 May 20  2007 telnet
-rwx------    1 root     root           99 May 10  2007 umount
-rwxr-xr-x    1 root     root         1134 May 22  2007 watchdog
-rwxr-xr-x    1 root     root         3997 May 19  2007 webif

Testweise die 000 Datei batmand dort auf AP185 und AP186 entfernt

root@AP185-Kirche:~# ls -la /etc/init.d/

drwxr-xr-x    2 root     root         1024 Apr 17 16:34 .
drwxr-xr-x   13 root     root         1024 Apr 17 16:40 ..
-rwxr-xr-x    1 root     root         1414 May 22  2007 boot
-rwxr-xr-x    1 root     root          239 May 20  2007 cron
-rwxr-xr-x    1 root     root          397 May 19  2007 custom-user-startup
-rwxr-xr-x    1 root     root          678 May 22  2007 declare_spare
-rwxr-xr-x    1 root     root         1503 May 22  2007 dnsmasq
-rwx------    1 root     root          243 May 10  2007 done
-rwxr-xr-x    1 root     root         1176 May 20  2007 dropbear
-rwxr-xr-x    1 root     root         3895 May 22  2007 firewall
-rwxr-xr-x    1 root     root          245 May 20  2007 httpd
-rwxr-xr-x    1 root     root          207 May 22  2007 modules
-rwx------    1 root     root          346 May 10  2007 network
-rwxr-xr-x    1 root     root          815 May 22  2007 ntpclient
-rwxr-xr-x    1 root     root          349 May 10  2007 olsrd
-rwxr-xr-x    1 root     root         1597 May 19  2007 openvpn
-rwx------    1 root     root          121 May 10  2007 rcS
-rwxr-xr-x    1 root     root          517 May 22  2007 sshd
-rwx------    1 root     root          123 May 10  2007 sysctl
-rwxr-xr-x    1 root     root           79 May 19  2007 syslog
-rwxr-xr-x    1 root     root          297 May 20  2007 telnet
-rwx------    1 root     root           99 May 10  2007 umount
-rwx------    1 root     root          154 Apr 24  2007 usb
-rwxr-xr-x    1 root     root         1134 May 22  2007 watchdog
-rwxr-xr-x    1 root     root         3997 May 19  2007 webif

Erfolglos.

Mal schauen, ob AP185 und AP186 parallel abstürzen.

Leider zu wenig Daten im Moment. Nur mal die Zeiten, bei denen bei Neustarts eine Uhrzeit zur Verfügung stand. Auffälliges gekennzeichnet.

AP186

- Thu Apr 17 16:47:07 UTC 2008 - system restart --- 
- Thu Apr 17 16:51:32 UTC 2008 - system restart --- 
- Thu Apr 17 16:56:01 UTC 2008 - system restart --- 
- Thu Apr 17 17:35:12 UTC 2008 - system restart --- 
- Thu Apr 17 18:06:45 UTC 2008 - system restart --- 
- Thu Apr 17 18:52:51 UTC 2008 - system restart --- 
- Thu Apr 17 19:13:55 UTC 2008 - system restart --- 
- Thu Apr 17 19:16:44 UTC 2008 - system restart --- 
- Thu Apr 17 19:53:33 UTC 2008 - system restart --- 

AP185

- Thu Apr 17 16:49:19 UTC 2008 - system restart --- 
- Thu Apr 17 16:55:46 UTC 2008 - system restart --- 
- Thu Apr 17 17:19:16 UTC 2008 - system restart --- 
- Thu Apr 17 17:27:04 UTC 2008 - system restart --- 
- Thu Apr 17 17:30:04 UTC 2008 - system restart --- 
- Thu Apr 17 17:32:32 UTC 2008 - system restart --- 
- Thu Apr 17 17:36:13 UTC 2008 - system restart --- 
- Thu Apr 17 17:59:59 UTC 2008 - system restart --- 
- Thu Apr 17 18:05:44 UTC 2008 - system restart --- 
- Thu Apr 17 18:38:01 UTC 2008 - system restart --- 
- Thu Apr 17 18:49:24 UTC 2008 - system restart --- 
- Thu Apr 17 19:16:44 UTC 2008 - system restart --- 
- Thu Apr 17 19:53:26 UTC 2008 - system restart ---

AP184

- Thu Apr 17 15:48:42 UTC 2008 - system restart --- 
- Thu Apr 17 15:53:43 UTC 2008 - system restart --- 
- Thu Apr 17 16:00:45 UTC 2008 - system restart --- 
- Thu Apr 17 16:07:56 UTC 2008 - system restart --- 
- Thu Apr 17 17:19:18 UTC 2008 - system restart --- 
- Thu Apr 17 17:26:11 UTC 2008 - system restart --- 
- Thu Apr 17 17:30:57 UTC 2008 - system restart --- 
- Thu Apr 17 17:35:31 UTC 2008 - system restart --- 
- Thu Apr 17 18:26:59 UTC 2008 - system restart --- 
- Thu Apr 17 18:31:34 UTC 2008 - system restart --- 
- Thu Apr 17 18:39:50 UTC 2008 - system restart --- 
- Thu Apr 17 18:45:37 UTC 2008 - system restart --- 
- Thu Apr 17 18:48:14 UTC 2008 - system restart ---

Als nächstes mal syslog so einstellen, dass die Messages extern ankommen

Meine Werkzeuge
Namensräume

Varianten
Aktionen
Start
Opennet
Kommunikation
Karten
Werkzeuge