I don't use apcupsd but in order to get the machine to respond to poweroff, I must append "apm=on" to the kernel params on startup. The kernel turns off power management by default even though it is compiled in.
-=greg ----- Original Message ----- From: "Dean A. Roman" <[EMAIL PROTECTED]> To: "Debian User List" <debian-user@lists.debian.org>; <[EMAIL PROTECTED]> Sent: Thursday, September 13, 2001 8:36 AM Subject: APCUPSD doesn't shutdown machine > Hello all, > > I am having a problem with apcupsd. It won't shut the machine down. > > I can see in the syslog that it is writing an entry that says shutting down > machine, but it never happens. > The config is default from setup(standalone) except I changed MINUTES=10, > BATTERYLEVEL=70 so I could test the UPS without having to wait too long before > it shutdown the machine. > > apcupsd version=3.8.1.5-1 > Debian version=woody > kernel=2.2.19 > > Any ideas on what I'm missing here? > Has anyone else seen this problem? > > > Thanks, > ---Dean Roman. > > > > > ================================================== > SYSLOG BEFORE, DURING, AFTER POWER LOSS > ================================================== > Sep 12 20:23:01 srfs1 /USR/SBIN/CRON[16425]: (mail) CMD ( if [ -x > /usr/sbin/exim -a -f /etc/exim/exim.conf ]; then /usr/sbin/exim - > q ; fi) > Sep 12 20:25:01 srfs1 /USR/SBIN/CRON[16473]: (root) CMD (/usr/sbin/ddns.cron.pl) > > Sep 12 20:25:01 srfs1 /USR/SBIN/CRON[16474]: (root) CMD (/usr/bin/ARKPER > 1>/dev/null 2>/dev/null # Auto added (NL_MARKER)) > Sep 12 20:26:48 srfs1 apcupsd[16417]: Power failure. > Sep 12 20:26:51 srfs1 apcupsd[16417]: Running on UPS batteries. > Sep 12 20:30:02 srfs1 /USR/SBIN/CRON[16550]: (root) CMD (/usr/sbin/ddns.cron.pl) > > Sep 12 20:30:02 srfs1 /USR/SBIN/CRON[16551]: (root) CMD (/usr/bin/ARKPER > 1>/dev/null 2>/dev/null # Auto added (NL_MARKER)) > Sep 12 20:30:42 srfs1 gnome-name-server[16563]: server_is_alive: > cnx[IDL:GNOME/Terminal/TerminalFactory:1.0] = 0x8055c88 > Sep 12 20:30:42 srfs1 gnome-name-server[16564]: server_is_alive: > cnx[IDL:GNOME/Terminal/TerminalFactory:1.0] = 0x8055c88 > Sep 12 20:33:33 srfs1 apcupsd[16417]: Battery charge below low limit. > Sep 12 20:33:33 srfs1 apcupsd[16417]: Initiating system shutdown! > Sep 12 20:33:33 srfs1 apcupsd[16417]: User logins prohibited > Sep 12 20:35:01 srfs1 /USR/SBIN/CRON[16668]: (root) CMD (/usr/sbin/ddns.cron.pl) > > Sep 12 20:35:01 srfs1 /USR/SBIN/CRON[16669]: (root) CMD (/usr/bin/ARKPER > 1>/dev/null 2>/dev/null # Auto added (NL_MARKER)) > Sep 12 20:35:11 srfs1 gnome-name-server[16675]: server_is_alive: > cnx[IDL:GNOME/Terminal/TerminalFactory:1.0] = 0x8055c88 > Sep 12 20:35:11 srfs1 gnome-name-server[16676]: server_is_alive: > cnx[IDL:GNOME/Terminal/TerminalFactory:1.0] = 0x8055c88 > > > ================================== > # apcaccess status ## BEFORE > ================================== > DATE : Wed Sep 12 20:35:56 PDT 2001 > HOSTNAME : srfs1 > RELEASE : 3.8.1-5 > CFGNAME : Default > CABLE : Custom Cable Smart > MODEL : Smart-UPS 700 RM > UPSMODE : Stand Alone > STARTTIME: Wed Sep 12 20:21:37 PDT 2001 > UPSNAME : SU700LAB > STATUS : ONBATT > LINEV : 000.0 Volts > LOADPCT : 48.1 Percent Load Capacity > BCHARGE : 063.0 Percent > TIMELEFT : 14.0 Minutes > MBATTCHG : 70 Percent > MINTIMEL : 10 Minutes > MAXTIME : 0 Seconds > MAXLINEV : 000.0 Volts > MINLINEV : 000.0 Volts > OUTPUTV : 119.0 Volts > SENSE : High > DWAKE : 000 Seconds > DSHUTD : 060 Seconds > DLOWBATT : 02 Minutes > LOTRANS : 106.0 Volts > HITRANS : 127.0 Volts > RETPCT : 000.0 Percent > ITEMP : 24.3 C Internal > ALARMDEL : 30 seconds > BATTV : 23.6 Volts > LINEFREQ : 60.0 Hz > LASTXFER : Line voltage notch or spike > NUMXFERS : 1 > XONBATT : Wed Sep 12 20:26:48 PDT 2001 > TONBATT : 551 seconds > CUMONBATT: 551 seconds > XOFFBATT : N/A > LASTSTEST: N/A > SELFTEST : NO > STESTI : 336 > STATFLAG : 0x10 Status Flag > DIPSW : N/A > REG1 : 0x00 Register 1 > REG2 : 0x00 Register 2 > REG3 : 0x00 Register 3 > MANDATE : 12/18/00 > SERIALNO : XS0131001479 > BATTDATE : 12/18/00 > NOMOUTV : 120 > NOMBATTV : 24.0 > HUMIDITY : N/A > AMBTEMP : N/A > EXTBATTS : 0 > BADBATTS : N/A > FIRMWARE : 152.3.D > APCMODEL : GWD > END APC : Wed Sep 12 20:35:59 PDT 2001 > > ============================================================================ ========== > > ================================== > # apcaccess status ##DURING (AFTER MINUTES EXPIRED) > ================================== > DATE : Wed Sep 12 20:41:27 PDT 2001 > HOSTNAME : srfs1 > RELEASE : 3.8.1-5 > CFGNAME : Default > CABLE : Custom Cable Smart > MODEL : Smart-UPS 700 RM > UPSMODE : Stand Alone > STARTTIME: Wed Sep 12 20:21:37 PDT 2001 > UPSNAME : SU700LAB > STATUS : ONBATT > LINEV : 000.0 Volts > LOADPCT : 47.4 Percent Load Capacity > BCHARGE : 043.0 Percent > TIMELEFT : 9.0 Minutes > MBATTCHG : 70 Percent > MINTIMEL : 10 Minutes > MAXTIME : 0 Seconds > MAXLINEV : 000.0 Volts > MINLINEV : 000.0 Volts > OUTPUTV : 119.6 Volts > SENSE : High > DWAKE : 000 Seconds > DSHUTD : 060 Seconds > DLOWBATT : 02 Minutes > LOTRANS : 106.0 Volts > HITRANS : 127.0 Volts > RETPCT : 000.0 Percent > ITEMP : 25.2 C Internal > ALARMDEL : 30 seconds > BATTV : 22.8 Volts > LINEFREQ : 60.0 Hz > LASTXFER : Line voltage notch or spike > NUMXFERS : 1 > XONBATT : Wed Sep 12 20:26:48 PDT 2001 > TONBATT : 882 seconds > CUMONBATT: 882 seconds > XOFFBATT : N/A > LASTSTEST: N/A > SELFTEST : NO > STESTI : 336 > STATFLAG : 0x10 Status Flag > DIPSW : N/A > REG1 : 0x00 Register 1 > REG2 : 0x00 Register 2 > REG3 : 0x00 Register 3 > MANDATE : 12/18/00 > SERIALNO : XS0131001479 > BATTDATE : 12/18/00 > NOMOUTV : 120 > NOMBATTV : 24.0 > HUMIDITY : N/A > AMBTEMP : N/A > EXTBATTS : 0 > BADBATTS : N/A > FIRMWARE : 152.3.D > APCMODEL : GWD > END APC : Wed Sep 12 20:41:30 PDT 2001 > > ======================================================================== > ================================== > # apcaccess status #AFTER BATTERYLEVEL EXPIRED > ================================== > DATE : Wed Sep 12 20:42:27 PDT 2001 > HOSTNAME : srfs1 > RELEASE : 3.8.1-5 > CFGNAME : Default > CABLE : Custom Cable Smart > MODEL : Smart-UPS 700 RM > UPSMODE : Stand Alone > STARTTIME: Wed Sep 12 20:21:37 PDT 2001 > UPSNAME : SU700LAB > STATUS : ONBATT > LINEV : 000.0 Volts > LOADPCT : 47.4 Percent Load Capacity > BCHARGE : 037.0 Percent > TIMELEFT : 8.0 Minutes > MBATTCHG : 70 Percent > MINTIMEL : 10 Minutes > MAXTIME : 0 Seconds > MAXLINEV : 000.0 Volts > MINLINEV : 000.0 Volts > OUTPUTV : 119.6 Volts > SENSE : High > DWAKE : 000 Seconds > DSHUTD : 060 Seconds > DLOWBATT : 02 Minutes > LOTRANS : 106.0 Volts > HITRANS : 127.0 Volts > RETPCT : 000.0 Percent > ITEMP : 25.2 C Internal > ALARMDEL : 30 seconds > BATTV : 22.5 Volts > LINEFREQ : 60.0 Hz > LASTXFER : Line voltage notch or spike > NUMXFERS : 1 > XONBATT : Wed Sep 12 20:26:48 PDT 2001 > TONBATT : 942 seconds > CUMONBATT: 942 seconds > XOFFBATT : N/A > LASTSTEST: N/A > SELFTEST : NO > STESTI : 336 > STATFLAG : 0x10 Status Flag > DIPSW : N/A > REG1 : 0x00 Register 1 > REG2 : 0x00 Register 2 > REG3 : 0x00 Register 3 > MANDATE : 12/18/00 > SERIALNO : XS0131001479 > BATTDATE : 12/18/00 > NOMOUTV : 120 > NOMBATTV : 24.0 > HUMIDITY : N/A > AMBTEMP : N/A > EXTBATTS : 0 > BADBATTS : N/A > FIRMWARE : 152.3.D > APCMODEL : GWD > END APC : Wed Sep 12 20:42:30 PDT 2001 > > =============================================================== > >