[Nut-upsuser] Fw: RESTORATION of POWER .... I seem to have cabling & drivers set up correctly for a contact closure UPS BUT ..........

Roger Salisbury rojee at tpg.com.au
Sat Aug 21 05:22:10 UTC 2010



Hi all

RESTORATION of POWER


I seem to have cabling & drivers set up correctly for a contact closure UPS 

............as below the logs should indicate that.

BUT ..........

But  after power Restoration 
between   commencement  of  (shutdown -h +20) .......  & execution of  (shutdown -h +20) 
during the  20 minute wait period of shutdown or whatever the "time" variable is.

.... the shutdown still commences.


I would expect that once power is restored the shutdown should be cancelled.


Is it possible with "contact closure "  UPS's that "nut" software can perform this? 




So again   after the log entry .......... 
"Executing automatic power-fail shutdown"

Can the proccess be canced by a "power restored alert"   like 
log entry ...

"UPS powerpal at localhost on line power"

that is offered before 
"Executing automatic power-fail shutdown"

and it seems that after log entry

"Host 127.0.0.1 disconnected (read failure)"


there is no "turning back".


Why does "batt low"  cause this "Auto logout"
I would hope the execution of shutdown  to "Auto logout "





################# LOG ###############################
Aug 21 12:02:16 roj-desktop genericups[15151]: Startup successful
Aug 21 12:02:16 roj-desktop upsd[15152]: listening on 0.0.0.0 port 3493
Aug 21 12:02:16 roj-desktop upsd[15152]: Connected to UPS [powerpal]: genericups-powerpal
Aug 21 12:02:16 roj-desktop upsd[15153]: Startup successful
Aug 21 12:02:16 roj-desktop upsmon[15155]: Startup successful
Aug 21 12:02:16 roj-desktop upsd[15153]: Connection from 127.0.0.1
Aug 21 12:02:16 roj-desktop upsd[15153]: Client nutmon at 127.0.0.1 logged into UPS [powerpal]
# removed AC power
Aug 21 12:11:20 roj-desktop upsmon[18721]: UPS powerpal at localhost on battery
# plugged in AC power
Aug 21 12:12:05 roj-desktop upsmon[18721]: UPS powerpal at localhost on line power
# removed AC power
Aug 21 12:13:15 roj-desktop upsmon[18721]: UPS powerpal at localhost on battery
# wait
Aug 21 12:15:05 roj-desktop upsmon[18721]: UPS powerpal at localhost battery is low
Aug 21 12:15:05 roj-desktop upsd[18718]: Client nutmon at 127.0.0.1 set FSD on UPS [powerpal]
Aug 21 12:15:05 roj-desktop upsmon[18721]: Executing automatic power-fail shutdown
Aug 21 12:15:05 roj-desktop upsmon[18721]: Auto logout and shutdown proceeding
Aug 21 12:15:10 roj-desktop upsd[18718]: Host 127.0.0.1 disconnected (read failure)

# plugged in AC power

# BUT shut down still continues

# I Would expect shutdown to stop & restart  the "UPS" service.



Roger Salisbury
roger at pchelp2u.com.au
75 Mawson Pde 
Chifley Sydney NSW 2036
0296618811 mob 0400339007
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/nut-upsuser/attachments/20100821/db56b6cb/attachment-0001.htm>


More information about the Nut-upsuser mailing list