[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[Bug 346271] halt initscript does not properly handle apcupsd shutdowns



Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug.


https://bugzilla.redhat.com/show_bug.cgi?id=346271


Trevor Cordes <trevor tecnopolis ca> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |trevor tecnopolis ca




--- Comment #22 from Trevor Cordes <trevor tecnopolis ca>  2009-08-06 00:54:19 EDT ---
"Me too".  I've been using similar halt script patches as suggested in apcupsd
docs to make mine work and it *seemed* to work the other day when I had an
extended outage.  Of course, the final killpower may have been the UPS actually
hitting its hard battery limit and killing, vs software killing.  There was at
least 1-2 mins between when the screen said "will now power off the UPS" and
when it actually shut off (SUA1500).  Hmm, this may explain why some (remote)
boxes I administer sometimes don't seem to kick back on after an outage. 
Without killpower working you have that pathological case where the power comes
back right when the killpower would have executed.

The apcupsd team is pretty responsive, has anyone tried to open a ticket there?
 Perhaps a better solution is an additional program to apccontrol, say
/sbin/apckillpower, which has solely this kill function in it and none of the
snmp or lm_sensors dependencies.  Might be pretty simple to whip up such a new
program (lots of cutting & pasting).

Comment #8 (Matt), your extra step to "ensure the machine halts but stays
running until the UPS cuts power" is unnecessary if your BIOS has a "power
after power fail" "always on" option.  Your step is only required if your BIOS
only has the "last state" option.  In general with UPSs you *always* want the
"always on" option.

-- 
Configure bugmail: https://bugzilla.redhat.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]