Hi guys,
I have some issues related to the autoshutdown plugin but first I'd like to share my hardware profile:
OMV 2.1.8 installed on USB 3.0 Stick
AsRock N3150 ITX Mainboard
4GB RAM
4 HDDs
No Raid
3.16 Backport Kernel installed - Without this kernel I had issues with my NIC
Actually my problem is that the autoshutdown plugin only works on first execution. After I wake the pc up 2nd time it does not work anymore. See below for an extract from the log. By the way, even with the other kernel it did not work either.
Aug 21 17:19:56 Desty-Media logger: autoshutdown[21877]: INFO: ' new supervision cycle started - check active hosts or processes'
Aug 21 17:19:56 Desty-Media logger: autoshutdown[21877]: INFO: ' retrieve list of active IPs for 'eth0' ...'
Aug 21 17:19:58 Desty-Media logger: autoshutdown[21877]: INFO: ' No active IPs in the specified IP-Range found'
Aug 21 17:19:58 Desty-Media logger: autoshutdown[21877]: INFO: ' Check Connections for 'eth0''
Aug 21 17:19:58 Desty-Media logger: autoshutdown[21877]: INFO: ' ULDL-Traffic-Check for 'eth0''
Aug 21 17:19:58 Desty-Media logger: autoshutdown[21877]: INFO: ' eth0: over the last 90 seconds: DL: 0.0 kB/s; UL: 0.0 kB/s'
Aug 21 17:19:58 Desty-Media logger: autoshutdown[21877]: INFO: ' eth0: UL- and DL-Rate is under 800 kB/s -> next check'
Aug 21 17:20:04 Desty-Media logger: autoshutdown[21877]: INFO: ' No active hosts or processes within network range, 0 cycles until shutdown...'
Aug 21 17:20:04 Desty-Media logger: autoshutdown[21877]: INFO: ' Shutdown issued: 'pm-hibernate''
Aug 21 17:20:04 Desty-Media logger: autoshutdown[21877]: INFO: ' '
Aug 21 17:20:04 Desty-Media logger: autoshutdown[21877]: INFO: ' '
Aug 21 17:20:12 Desty-Media logger: autoshutdown[23566]: INFO: ' XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX'
Aug 21 17:20:12 Desty-Media logger: autoshutdown[23566]: INFO: ' XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX'
Aug 21 17:20:12 Desty-Media logger: autoshutdown[23566]: INFO: ' XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX'
Aug 21 17:20:12 Desty-Media logger: autoshutdown[23566]: INFO: ' X Version: 0.9.9.10'
Aug 21 17:20:12 Desty-Media logger: autoshutdown[23566]: INFO: ' Initialize logging to local6'
Aug 21 17:20:12 Desty-Media logger: autoshutdown[23566]: INFO: ' /etc/autoshutdown.conf loaded'
Aug 21 17:20:12 Desty-Media logger: autoshutdown[23566]: INFO: ' ------------------------------------------------------'
Aug 21 17:20:12 Desty-Media logger: autoshutdown[23566]: INFO: ' Checking config'
Aug 21 17:20:12 Desty-Media logger: autoshutdown[23566]: INFO: ' LOADPROCNAMES is set to: 'smbd,nfsd,transmission-daemon,mt-daapd,forked-daapd' (default)'
Aug 21 17:20:12 Desty-Media logger: autoshutdown[23566]: INFO: ' TEMPPROCNAMES is set to: in.'tftpd' (default)'
Aug 21 17:20:12 Desty-Media logger: autoshutdown[23566]: INFO: ' If you want more processes monitored, please have a look at the expert-settings'
Aug 21 17:20:12 Desty-Media logger: autoshutdown[23566]: WARN: ' HDDIOCHECK is set to false'
Aug 21 17:20:12 Desty-Media logger: autoshutdown[23566]: WARN: ' Ignoring HDDIO_RATE'
Aug 21 17:20:12 Desty-Media logger: autoshutdown[23566]: INFO: ' SHUTDOWNCOMMAND is set to 'pm-hibernate''
Aug 21 17:20:12 Desty-Media logger: autoshutdown[23566]: INFO: ' Your Kernel supports the following modes from pm-utils:'
Aug 21 17:20:12 Desty-Media logger: autoshutdown[23566]: INFO: ' Kernel supports SUSPEND (SUSPEND to RAM)'
Aug 21 17:20:12 Desty-Media logger: autoshutdown[23566]: INFO: ' Kernel supports HIBERNATE (SUSPEND to DISK)'
Aug 21 17:20:12 Desty-Media logger: autoshutdown[23566]: INFO: ' Kernel supports HYBRID-SUSPEND (to DISK & to RAM)'
Aug 21 17:20:12 Desty-Media logger: autoshutdown[23566]: WARN: ' LOADAVERAGECHECK is set to false'
Aug 21 17:20:12 Desty-Media logger: autoshutdown[23566]: WARN: ' Ignoring LOADAVERAGE'
Aug 21 17:20:12 Desty-Media logger: autoshutdown[23566]: INFO: ' ------------------------------------------------------'
Aug 21 17:20:12 Desty-Media logger: autoshutdown[23566]: INFO: ' Reading NICs ,IPs, ...'
Aug 21 17:20:12 Desty-Media logger: autoshutdown[23566]: INFO: ' NIC 'bond0' not found, skipping 'bond0''
Aug 21 17:20:12 Desty-Media logger: autoshutdown[23566]: INFO: ' NIC 'eth0' found: try to get IP'
Aug 21 17:20:12 Desty-Media logger: autoshutdown[23566]: INFO: ' _check_networkconfig(): Run: #1: IP-Adress found'
Aug 21 17:20:12 Desty-Media logger: autoshutdown[23566]: INFO: ' 'eth0' has IP: 192.168.0.6'
Aug 21 17:20:12 Desty-Media logger: autoshutdown[23566]: INFO: ' NIC 'eth1' not found, skipping 'eth1''
Aug 21 17:20:12 Desty-Media logger: autoshutdown[23566]: INFO: ' Pinglist deleted'
Aug 21 17:20:12 Desty-Media logger: autoshutdown[23566]: INFO: '---------------- script started ----------------------'
As you can see the script tries to execute "pm-hibernate" but without any success. Does anyone have a clue what the issue is? Actually it did not work correctly right from the start (directly after installation and configuration of OMV).
By the way: I already switched off every UEFI option that allows to boot the computer with the exception of WOL.
Thanks a lot