[Nut-upsuser] No power cycle after shutdown on Atlantis Land OnePower A03-S1001

Davide Baldini baldiniebaldini at gmail.com
Wed Oct 14 09:10:51 UTC 2015


On 10/14/2015 10:17 AM, Roger Price wrote:

> What does "ps aux | grep ups" report?

ps aux | grep ups
   nut       2902  0.0  0.0  20588  1140 ?        Ss   00:10   0:02 
/lib/nut/nutdrv_qx -a myups
   nut       2946  0.0  0.0  37632  1428 ?        Ss   00:10   0:00 /lib/nut/upsd
   root      2970  0.0  0.0  37616  1436 ?        Ss   00:10   0:00 /lib/nut/upsmon
   root      2973  0.0  0.0  45352  1728 ?        S    00:10   0:00 /lib/nut/upsmon
   root     17118  0.0  0.0   2444   680 ?        S    00:42   0:00 
upstart-udev-bridge --daemon
   root     17184  0.0  0.0   2568   484 ?        S    00:42   0:00 
upstart-socket-bridge --daemon
   davide   22002  0.0  0.0  11124   988 pts/0    S+   11:02   0:00 grep ups


> Does "upsdrvctl shutdown" have any effect?

upsdrvctl shutdown
   Network UPS Tools - UPS driver controller 2.7.2
   Network UPS Tools - Generic Q* USB/Serial driver 0.06 (2.7.2)
   USB communication driver 0.32
   Using protocol: Megatec 0.01
   Initiating UPS shutdown
   instcmd(shutdown.stop, [NULL])
   instcmd: FAILED
   instcmd(shutdown.stop, [NULL])
   instcmd: FAILED
   instcmd(shutdown.stop, [NULL])
   instcmd: FAILED
   No shutdown pending
   instcmd(shutdown.return, [NULL])
   instcmd: FAILED
   instcmd(shutdown.return, [NULL])
   instcmd: FAILED
   instcmd(shutdown.return, [NULL])
   instcmd: FAILED
   Shutdown failed!
   Driver failed to start (exit status=1)


This time /var/log/syslog doesn't register anything about the UPS after issuing 
the command above. Instead, It logged some errors after a
   upscmd -u admin -p mypass myups shutdown.return 360

These logs are reported in my second mail of this thread.

-- Davide	




More information about the Nut-upsuser mailing list