<html><body><div style="font-family: arial, helvetica, sans-serif; font-size: 12pt; color: #000000"><div style=""><strong></strong>>> <br>>> I need some help here with getting this thing running. Every time I enable NUT on the server, I get a "on battery" status when I know that it is running on house power. This only occurs when I am monitoring it with FreeBSD(NAS4Free)<br>><br>>Which version of FreeBSD is this based on?</div><div style=""><br data-mce-bogus="1"></div><div style="">I also included the Motherboard and processor so if there is anything those devices affect with this like some weird quarks only found with them. Also, the only difference between this box and the CentOS 6.7 one, is the processor is a x5650. other than that. they are the same.<br data-mce-bogus="1"></div><div style=""><br data-mce-bogus="1"></div><div style="">Version     10.2.0.2 - Prester (revision 1814)<br>Build date     Sun Aug 30 21:05:02 CEST 2015<br>Platform OS     FreeBSD Revision: 199506<br>FreeBSD 10.2-RELEASE-p2 #0 r287260M: Fri Aug 28 18:38:18 CEST 2015<br>Platform     x64-embedded on Intel(R) Xeon(R) CPU E5540 @ 2.53GHz<br>System     Supermicro X8DTH</div><div style=""><br>><br>>> When i plug the same UPS into CentOS 6.7, It works as expected. I am not sure what the difference between the NUT versions other than the base OS would be. Both are running Version 2.7.3. Thank you in advance.<br>> <br>>> FreeBSD output:<br>>> <br>>> device.mfr: CPS<br>>> device.type: ups<br>>> driver.name: usbhid-ups<br>>> driver.parameter.pollfreq: 30<br>>> driver.parameter.pollinterval: 2<br>>> driver.parameter.port: /dev/ugen4.2<br>>> driver.parameter.synchronous: no<br>>> driver.version: 2.7.3<br>>> driver.version.data: CyberPower HID 0.4<br>>> driver.version.internal: 0.39<br>>> ups.mfr: CPS<br>>> ups.productid: 0601<br>>> ups.status: OB<br>>> ups.vendorid: 0764<br>><br>>Note also that the list of variables is much shorter than some of the other CyberPower HID devices:<br>><br>>  http://www.networkupstools.org/ddl/Cyber_Power_Systems/index.html<br>><br>>Can you open up a root shell, kill the old `usbhid-ups` process, and run it from the command line?<br>><br>>   /usr/local/libexec/nut/usbhid-ups -a ups -DDD<br>><br>>(Adjust the "-a ups" for the name that NAS4Free uses.)<br>><br>>It will indefinitely, but we only need about the first 30 seconds. Please gzip the output before posting to the list. Also, please use reply-all, as this mailing list does not mangle the reply-to headers.<br></div><div> This is the output from what you asked. The last line keeps repeating. Looks like the ups is refusing to connect. Not sure how to get it to connect at this point. Thank you again for your help so far. <br></div><div><br data-mce-bogus="1"></div><div>  0.000000    UPS: server@localhost (master) (power value 1)<br>   0.000051    Using power down flag file /var/etc/killpower<br>   0.000138    debug level is '3'<br>   0.004778    Trying to connect to UPS [Blob@localhost]<br>   0.005103    UPS [Blob@localhost]: connect failed: Connection failure: Connection refused<br>   0.005116    do_notify: ntype 0x0005 (COMMBAD)<br>   0.005121    Communications with UPS Blob@localhost lost<br>   0.005326    Current power value: 1<br>   0.005341    Minimum power value: 1<br>                                                                               <br>Broadcast Message from root@blob.frentzgzesh.info                              <br>        (/dev/pts/0) at 9:09 EDT...                                            <br>                                                                               <br>Communications with UPS Blob@localhost lost                                    <br>                                                                               <br>Executing command: notify<br>   5.318447    Trying to connect to UPS [Blob@localhost]<br>   5.318793    UPS [Blob@localhost]: connect failed: Connection failure: Connection refused<br>   5.318807    do_notify: ntype 0x0008 (NOCOMM)<br>   5.318813    UPS Blob@localhost is unavailable<br>   5.319048    Current power value: 1<br>   5.319064    Minimum power value: 1<br>                                                                               <br>Broadcast Message from root@blob.frentzgzesh.info                              <br>        (/dev/pts/0) at 9:09 EDT...                                            <br>                                                                               <br>UPS Blob@localhost is unavailable                                              <br>                                                                               <br>Executing command: notify<br>  10.543965    Trying to connect to UPS [Blob@localhost]<br>  10.544324    UPS [Blob@localhost]: connect failed: Connection failure: Connection refused<br>  10.544337    Current power value: 1<br>  10.544343    Minimum power value: 1<br></div><div><br data-mce-bogus="1"></div><div>Here is the config from the xml file that NAS4Free uses to configure everything.<br data-mce-bogus="1"></div><div><br data-mce-bogus="1"></div><div>        <ups><br>                <upsname>Blob</upsname><br>                <shutdownmode>fsd</shutdownmode><br>                <shutdowntimer>30</shutdowntimer><br>                <email><br>                        <to>louis@frentzgzesh.info</to><br>                        <subject>UPS notification from %h on %d</subject><br>                        <enable/><br>                </email><br>                <mode>master</mode><br>                <driver>usbhid-ups</driver><br>                <port>/dev/ugen4.2</port><br>                <desc/><br>                <ip>localhost</ip><br>                <monitoruser>root</monitoruser><br>                <password>(removed by me)</password><br>                <auxparam></auxparam><br>        </ups><br></div><div><br data-mce-bogus="1"></div><div data-marker="__SIG_PRE__"><div><div><div><span style="color: #333333; font-family: arial,helvetica,sans-serif; font-size: 12pt; background-color: #fdfdfd;" data-mce-style="color: #333333; font-family: arial,helvetica,sans-serif; font-size: 12pt; background-color: #fdfdfd;">Joe Gzesh</span></div><div><span style="color: #333333; font-family: arial,helvetica,sans-serif; font-size: 12pt; background-color: #fdfdfd;" data-mce-style="color: #333333; font-family: arial,helvetica,sans-serif; font-size: 12pt; background-color: #fdfdfd;"> </span></div><div><span style="font-family: arial,helvetica,sans-serif; font-size: 12pt;" data-mce-style="font-family: arial,helvetica,sans-serif; font-size: 12pt;"><span style="color: #333333; background-color: #fdfdfd;" data-mce-style="color: #333333; background-color: #fdfdfd;">Sent from</span><span style="color: #333333; background-color: #fdfdfd;" data-mce-style="color: #333333; background-color: #fdfdfd;"> </span><span class="Object" role="link" id="OBJ_PREFIX_DWT438_com_zimbra_url"><a href="http://www.zimbra.com/" title="Zimbra" target="_blank" data-mce-href="http://www.zimbra.com/"><span id="DWT1232" class="ZmSearchResult" style="color: #333333; background-color: #fffec4;" data-mce-style="color: #333333; background-color: #fffec4;"><span id="DWT1234" class="ZmSearchResult"><span id="DWT1246" class="ZmSearchResult">Zimbra</span></span></span></a></span><span style="color: #333333; background-color: #fdfdfd;" data-mce-style="color: #333333; background-color: #fdfdfd;"> </span><span style="color: #333333; background-color: #fdfdfd;" data-mce-style="color: #333333; background-color: #fdfdfd;">Open Source Mail Server. Hosted at my House.</span><span style="color: #333333; background-color: #fdfdfd;" data-mce-style="color: #333333; background-color: #fdfdfd;"> </span></span><br style="color: #333333; font-family: monospace; font-size: 13px;" data-mce-style="color: #333333; font-family: monospace; font-size: 13px;"><span style="font-family: arial,helvetica,sans-serif; font-size: 12pt;" data-mce-style="font-family: arial,helvetica,sans-serif; font-size: 12pt;"><span style="color: #333333; background-color: #fdfdfd;" data-mce-style="color: #333333; background-color: #fdfdfd;">Ask me how to set up your own</span><span style="color: #333333; background-color: #fdfdfd;" data-mce-style="color: #333333; background-color: #fdfdfd;"> <span class="Object" role="link" id="OBJ_PREFIX_DWT439_com_zimbra_url"><a href="http://www.zimbra.com/" title="Zimbra" target="_blank" data-mce-href="http://www.zimbra.com/"><span id="DWT1232" class="ZmSearchResult" style="color: #333333; background-color: #fffec4;" data-mce-style="color: #333333; background-color: #fffec4;"><span id="DWT1234" class="ZmSearchResult"><span id="DWT1246" class="ZmSearchResult">Zimbra</span></span></span></a></span></span><span style="color: #333333; background-color: #fdfdfd;" data-mce-style="color: #333333; background-color: #fdfdfd;"> </span><span style="color: #333333; background-color: #fdfdfd;" data-mce-style="color: #333333; background-color: #fdfdfd;">server.</span><span style="color: #333333; background-color: #fdfdfd;" data-mce-style="color: #333333; background-color: #fdfdfd;"> </span></span></div></div></div></div><br><hr id="zwchr" data-marker="__DIVIDER__"><div data-marker="__HEADERS__"><b>From: </b>"Charles Lepple" <clepple@gmail.com><br><b>To: </b>"Joseph Gzesh" <louis@frentzgzesh.info><br><b>Cc: </b>nut-upsuser@lists.alioth.debian.org<br><b>Sent: </b>Tuesday, September 22, 2015 8:06:33 PM<br><b>Subject: </b>Re: [Nut-upsuser] FreeBSD backed with a PR1500LCDRT2U<br></div><br><div data-marker="__QUOTED_TEXT__">On Sep 22, 2015, at 1:43 PM, Louis G. <louis@frentzgzesh.info> wrote:<br>> <br>> I need some help here with getting this thing running. Every time I enable NUT on the server, I get a "on battery" status when I know that it is running on house power. This only occurs when I am monitoring it with FreeBSD(NAS4Free)<br><br>Which version of FreeBSD is this based on?<br><br>> When i plug the same UPS into CentOS 6.7, It works as expected. I am not sure what the difference between the NUT versions other than the base OS would be. Both are running Version 2.7.3. Thank you in advance.<br>> <br>> FreeBSD output:<br>> <br>> device.mfr: CPS<br>> device.type: ups<br>> driver.name: usbhid-ups<br>> driver.parameter.pollfreq: 30<br>> driver.parameter.pollinterval: 2<br>> driver.parameter.port: /dev/ugen4.2<br>> driver.parameter.synchronous: no<br>> driver.version: 2.7.3<br>> driver.version.data: CyberPower HID 0.4<br>> driver.version.internal: 0.39<br>> ups.mfr: CPS<br>> ups.productid: 0601<br>> ups.status: OB<br>> ups.vendorid: 0764<br><br>Note also that the list of variables is much shorter than some of the other CyberPower HID devices:<br><br>   http://www.networkupstools.org/ddl/Cyber_Power_Systems/index.html<br><br>Can you open up a root shell, kill the old `usbhid-ups` process, and run it from the command line?<br><br>   /usr/local/libexec/nut/usbhid-ups -a ups -DDD<br><br>(Adjust the "-a ups" for the name that NAS4Free uses.)<br><br>It will indefinitely, but we only need about the first 30 seconds. Please gzip the output before posting to the list. Also, please use reply-all, as this mailing list does not mangle the reply-to headers.<br><br>-- <br>Charles Lepple<br>clepple@gmail<br></div></div></body></html>