[Nut-upsuser] getting nut 2.6.4 working in Nas4Free

Arnaud Quette aquette.dev at gmail.com
Tue Jul 24 14:20:34 UTC 2012


Hi Jim

2012/7/23 Jim Abernathy <jfabernathy at gmail.com>

>  I'm trying to use a Nas4Free storage system.  This same hardware worked
> fine on Freenas 0.7.2.
>
> O/S: Nas4Free 9.0.0.1.148 which comes with nut 2.6.4.
>
> UPS is an APC Back UPS RS 800.  USB interface.
>
> Driver : usbhid-ups
> Port: auto
>
> my NAS is communicating with the UPS, but in testing power failures, I'm
> not getting the shutdown to be handled properly.
>
> 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.
>
> Jul 14 06:14:41 nas4free upsmon[1813]: UPS Back-UPS-RS-800 at localhost on
> battery
>
> Jul 14 06:14:42 nas4free upssched[2334]: read confirmation got [ERR
> UNKNOWN own" "30"]
> Jul 14 06:14:43 nas4free last message repeated 24 times
> Jul 14 06:14:43 nas4free upssched[2334]: Unable to connect to daemon and
> unable to start daemon
> (...)
>

you're sadly running into a regression, that happened in 2.6.4. sorry!
2.6.5 is scheduled, but I won't commit on this week (I'm enjoying holidays
with my kids).
so, for now, either downgrade nut to 2.6.3, or apply the following patch to
the source code:
http://trac.networkupstools.org/projects/nut/changeset/3670

cheers,
Arno
-- 
Network UPS Tools (NUT) Project Leader - http://www.networkupstools.org
Debian Developer - http://www.debian.org
Free Software Developer - http://arnaud.quette.fr
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/nut-upsuser/attachments/20120724/96254549/attachment.html>


More information about the Nut-upsuser mailing list