[Eisfair] Autohalt ohne Autohalt
Carsten Lippert
carsten at falconcrest-lippert.de
Mo Jul 31 18:33:24 CEST 2017
Hallo Marcus,
Am 30.07.2017 um 20:15 schrieb Marcus Roeckrath:
> 2. Test
>
> In der autohalt den Debug-Modus anstellen; der fährt dann nicht mehr runter
> sollte allerdings Mails erzeugen, wenn der cronjob aktiv wird.
Nach Einstellen des Debug-Modus muesste u.a. folgende Mail versendet
worden sein:
please wait a moment...
ICMP Host Unreachable from 192.168.0.12 for ICMP Echo sent to 192.168.0.3
...all clients offline, but i wait 100 seconds and try it again
6/usr/local/autohalt/autohalt: line 316: 6: command not found
times...
ICMP Host Unreachable from 192.168.0.12 for ICMP Echo sent to 192.168.0.3
...all clients offline, but i wait 100 seconds and try it again
5/usr/local/autohalt/autohalt: line 316: 5: command not found
times...
ICMP Host Unreachable from 192.168.0.12 for ICMP Echo sent to 192.168.0.3
...all clients offline, but i wait 100 seconds and try it again
4/usr/local/autohalt/autohalt: line 316: 4: command not found
times...
ICMP Host Unreachable from 192.168.0.12 for ICMP Echo sent to 192.168.0.3
...all clients offline, but i wait 100 seconds and try it again
3/usr/local/autohalt/autohalt: line 316: 3: command not found
times...
ICMP Host Unreachable from 192.168.0.12 for ICMP Echo sent to 192.168.0.3
...all clients offline, but i wait 100 seconds and try it again
2/usr/local/autohalt/autohalt: line 316: 2: command not found
times...
ICMP Host Unreachable from 192.168.0.12 for ICMP Echo sent to 192.168.0.3
...all clients offline, but i wait 100 seconds and try it again
1/usr/local/autohalt/autohalt: line 316: 1: command not found
times...
----------------------------------------------------------------------
...all clients offline, ready to shutdown.
Zeile 316 lautet:
if `/usr/bin/expr ${AUTOHALT_TRIALS} \- ${idx}` -eq 1
Was ist hier das Problem?
Aber dieser Auszug allein wird Dir bestimmt nichts sagen.
Ich habe die Zeile einmal auf allen 3 Servern verglichen,
ueberall exakt gleich.
--
MfG. Carsten
Mehr Informationen über die Mailingliste Eisfair