<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
</head>
<body bgcolor="#FFFFFF" text="#000000">
I'm trying to use a Nas4Free storage system. This same hardware
worked fine on Freenas 0.7.2.<br>
<br>
O/S: Nas4Free 9.0.0.1.148 which comes with nut 2.6.4.<br>
<br>
UPS is an APC Back UPS RS 800. USB interface. <br>
<br>
Driver : usbhid-ups <br>
Port: auto<br>
<br>
my NAS is communicating with the UPS, but in testing power failures,
I'm not getting the shutdown to be handled properly.<br>
<br>
When I pull the AC plug on the UPS, the NAS recognizes that event,
but doesn't send out the email and doesn't start the shutdown
sequence even though the 30 sec time limit has passed. The log shows
errors. I've posted them below. The restoring of power is also
recognized by the NAS.<br>
<br>
Jul 14 06:14:41 nas4free upsmon[1813]: UPS Back-UPS-RS-800@localhost
on battery<br>
<br>
<span style="color: #FF0000">Jul 14 06:14:42 nas4free
upssched[2334]: read confirmation got [ERR UNKNOWN own" "30"]<br>
Jul 14 06:14:43 nas4free last message repeated 24 times<br>
Jul 14 06:14:43 nas4free upssched[2334]: Unable to connect to
daemon and unable to start daemon</span><br>
<br>
Jul 14 06:17:01 nas4free upsmon[1813]: UPS Back-UPS-RS-800@localhost
on line power<br>
Jul 14 06:17:01 nas4free upssched-cmd: UPS Back-UPS-RS-800@localhost
- Running on line power. Shutdown cancelled.<br>
<br>
Jul 14 06:17:03 nas4free msmtp: host=smtp.gmail.com tls=on auth=on <a
href="mailto:user=xyz@gmail.com">user=xyz@gmail.com</a> <a
href="mailto:from=xyz@gmail.com">from=xyz@gmail.com</a> <a
href="mailto:recipients=xyz@gmail.com">recipients=xyz@gmail.com</a>
mailsize=244 smtpstatus=250 smtpmsg='250 2.0.0 OK 1342261023
y66sm18956640yhi.10' exitcode=EX_OK<br>
<br>
more information in the daemon log file:<br>
<br>
Jul 14 08:35:17 nas4free upsmon[6990]: UPS ups@localhost on battery<br>
Jul 14 08:35:17 nas4free upssched[7010]: Timer daemon started<br>
Jul 14 08:35:17 nas4free upssched[7010]: Unknown command on socket:
<br>
Jul 14 08:35:17 nas4free upssched[7010]: arg 0: 30START<br>
Jul 14 08:35:17 nas4free upssched[7010]: arg 1: shutdown<br>
Jul 14 08:35:17 nas4free upssched[7010]: arg 2: 30<br>
Jul 14 08:35:17 nas4free upssched[7009]: read confirmation got [ERR
UNKNOWN own" "30"]<br>
<br>
Jim A<br>
<br>
</body>
</html>