<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=iso-8859-1" http-equiv=Content-Type>
<META name=GENERATOR content="MSHTML 8.00.6001.18939">
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><BR></DIV>
<DIV><FONT size=2 face=Arial>Hi all</FONT></DIV>
<DIV><FONT size=2 face=Arial></FONT> </DIV>
<DIV><FONT size=2 face=Arial><FONT size=1>
<P>RESTORATION of POWER</P></FONT></FONT></DIV>
<DIV><FONT size=2 face=Arial></FONT> </DIV>
<DIV><FONT size=2 face=Arial>I seem to have cabling & drivers set up
correctly for a contact closure UPS </FONT></DIV>
<DIV><FONT size=2 face=Arial></FONT> </DIV>
<DIV><FONT size=2 face=Arial>............as below the logs should indicate
that.</FONT></DIV>
<DIV><FONT size=2 face=Arial></FONT> </DIV>
<DIV><FONT size=2 face=Arial>BUT ..........</FONT></DIV>
<DIV><FONT size=2 face=Arial></FONT> </DIV>
<DIV><FONT size=2 face=Arial>But after power <FONT size=3><FONT
face="Times New Roman"><SPAN aria-haspopup=true id=1.sc class=ev role=menuitem
tabIndex=-1 goog-spell-original="restoreation">Restoration</SPAN>
</FONT></FONT></FONT></DIV>
<DIV><FONT size=2 face=Arial>between commencement of
(shutdown -h +<FONT color=#0000ff size=4><STRONG>20</STRONG></FONT>)
....... & execution of (shutdown -h +<FONT color=#0000ff
size=4><STRONG>20</STRONG></FONT>) </FONT></DIV>
<DIV><FONT size=2 face=Arial>during the 20 minute<FONT color=#0000ff
size=4><STRONG> wait</STRONG></FONT> period of shutdown or whatever the "time"
variable is.</FONT></DIV>
<DIV><FONT size=2 face=Arial></FONT><FONT size=2 face=Arial></FONT> </DIV>
<DIV><FONT size=2 face=Arial>.... the shutdown still commences.</FONT></DIV>
<DIV><FONT size=2 face=Arial></FONT> </DIV>
<DIV><FONT size=2 face=Arial></FONT> </DIV>
<DIV><FONT size=2 face=Arial>I would expect that once power is restored the
shutdown should be cancelled.</FONT></DIV>
<DIV><FONT size=2 face=Arial></FONT> </DIV>
<DIV><FONT size=2 face=Arial></FONT> </DIV>
<DIV><FONT size=2 face=Arial>Is it possible with "contact closure " UPS's
that "nut" software can perform this? </FONT></DIV>
<DIV><FONT size=2 face=Arial></FONT> </DIV>
<DIV><FONT size=2 face=Arial></FONT> </DIV>
<DIV><FONT size=2 face=Arial></FONT> </DIV>
<DIV><FONT size=2 face=Arial></FONT> </DIV>
<DIV><FONT size=2 face=Arial>So again after the log entry
..........</FONT><FONT size=2 face=Arial> </FONT></DIV>
<DIV><FONT size=2 face=Arial>"Executing automatic power-fail
shutdown"</FONT></DIV>
<DIV><FONT size=2 face=Arial></FONT> </DIV>
<DIV><FONT size=2 face=Arial>Can the proccess be canced by a "power restored
alert" like </FONT></DIV>
<DIV><FONT size=2 face=Arial>log entry ...</FONT></DIV>
<DIV><FONT size=2 face=Arial></FONT> </DIV>
<DIV><FONT size=2 face=Arial>"UPS <A
href="mailto:powerpal@localhost">powerpal@localhost</A> on line
power"</FONT></DIV>
<DIV><FONT size=2 face=Arial></FONT> </DIV>
<DIV><FONT size=2 face=Arial>that is offered before
<DIV><FONT size=2 face=Arial>"Executing automatic power-fail
shutdown"</FONT></DIV></FONT></DIV>
<DIV><FONT size=2 face=Arial> </DIV>
<DIV>and it seems that after log entry</DIV>
<DIV> </DIV>
<DIV>"Host 127.0.0.1 disconnected (read failure)"</DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV>there is no "turning back".</DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV>Why does "batt low" cause this "Auto logout"</DIV>
<DIV>I would hope the execution of shutdown to "Auto logout
"<BR></DIV></FONT>
<DIV><FONT size=2 face=Arial></FONT> </DIV>
<DIV><FONT size=2 face=Arial></FONT> </DIV>
<DIV><FONT size=2 face=Arial></FONT> </DIV>
<DIV><FONT size=2 face=Arial></FONT> </DIV>
<DIV><FONT size=2 face=Arial>################# LOG
###############################</FONT></DIV>
<DIV><FONT size=2 face=Arial>Aug 21 12:02:16 roj-desktop genericups[15151]:
Startup successful<BR>Aug 21 12:02:16 roj-desktop upsd[15152]: listening on
0.0.0.0 port 3493<BR>Aug 21 12:02:16 roj-desktop upsd[15152]: Connected to UPS
[powerpal]: genericups-powerpal<BR>Aug 21 12:02:16 roj-desktop upsd[15153]:
Startup successful<BR>Aug 21 12:02:16 roj-desktop upsmon[15155]: Startup
successful<BR>Aug 21 12:02:16 roj-desktop upsd[15153]: Connection from
127.0.0.1<BR>Aug 21 12:02:16 roj-desktop upsd[15153]: Client <A
href="mailto:nutmon@127.0.0.1">nutmon@127.0.0.1</A> logged into UPS
[powerpal]</FONT></DIV>
<DIV><FONT size=2 face=Arial># removed AC power<BR>Aug 21 12:11:20 roj-desktop
upsmon[18721]: UPS <A href="mailto:powerpal@localhost">powerpal@localhost</A> on
battery</FONT></DIV>
<DIV><FONT size=2 face=Arial># plugged in AC power<BR>Aug 21 12:12:05
roj-desktop upsmon[18721]: UPS <A
href="mailto:powerpal@localhost">powerpal@localhost</A> on line power<BR>#
removed AC power</FONT></DIV>
<DIV><FONT size=2 face=Arial>Aug 21 12:13:15 roj-desktop upsmon[18721]: UPS <A
href="mailto:powerpal@localhost">powerpal@localhost</A> on battery</FONT></DIV>
<DIV><FONT size=2 face=Arial># wait<BR>Aug 21 12:15:05 roj-desktop
upsmon[18721]: UPS <A href="mailto:powerpal@localhost">powerpal@localhost</A>
battery is low<BR>Aug 21 12:15:05 roj-desktop upsd[18718]: Client <A
href="mailto:nutmon@127.0.0.1">nutmon@127.0.0.1</A> set FSD on UPS
[powerpal]<BR>Aug 21 12:15:05 roj-desktop upsmon[18721]: Executing automatic
power-fail shutdown<BR>Aug 21 12:15:05 roj-desktop upsmon[18721]: Auto logout
and shutdown proceeding<BR>Aug 21 12:15:10 roj-desktop upsd[18718]: Host
127.0.0.1 disconnected (read failure)</FONT></DIV>
<DIV><FONT size=2 face=Arial></FONT> </DIV>
<DIV><FONT size=2 face=Arial># plugged in AC power</FONT></DIV>
<DIV><FONT size=2 face=Arial></FONT> </DIV>
<DIV><FONT size=2 face=Arial># BUT shut down still continues</FONT></DIV>
<DIV><FONT size=2 face=Arial></FONT> </DIV>
<DIV><FONT size=2 face=Arial># I Would expect shutdown to stop &
restart the "UPS" service.</FONT></DIV>
<DIV><FONT size=2 face=Arial></FONT> </DIV>
<DIV><FONT size=2 face=Arial></FONT> </DIV>
<DIV><FONT size=2 face=Arial></FONT> </DIV>
<DIV><FONT size=2 face=Arial>Roger Salisbury<BR><A
href="mailto:roger@pchelp2u.com.au">roger@pchelp2u.com.au</A><BR>75 Mawson Pde
<BR>Chifley Sydney NSW 2036<BR>0296618811 mob
0400339007</FONT></DIV></BODY></HTML>