Hi Jim<br><br><div class="gmail_quote">2012/7/23 Jim Abernathy <span dir="ltr"><<a href="mailto:jfabernathy@gmail.com" target="_blank">jfabernathy@gmail.com</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

  

    
  
  <div 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></div></blockquote></div><br clear="all">you're sadly running into a regression, that happened in 2.6.4. sorry!<br>2.6.5 is scheduled, but I won't commit on this week (I'm enjoying holidays with my kids).<br>
so, for now, either downgrade nut to 2.6.3, or apply the following patch to the source code:<br><a href="http://trac.networkupstools.org/projects/nut/changeset/3670">http://trac.networkupstools.org/projects/nut/changeset/3670</a><br>
<br>cheers,<br>Arno<br>-- <br>Network UPS Tools (NUT) Project Leader - <a href="http://www.networkupstools.org" target="_blank">http://www.networkupstools.org</a><br>Debian Developer - <a href="http://www.debian.org" target="_blank">http://www.debian.org</a><br>
Free Software Developer - <a href="http://arnaud.quette.fr" target="_blank">http://arnaud.quette.fr</a><br><br>