<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[NUT Package Logs]]></title><description><![CDATA[<p dir="auto">Ever since the new update I'm getting a lot of these in my logs:</p>
<pre><code>Aug 14 05:57:22	usbhid-ups	26308	Got disconnected by another driver: Device busy
Aug 14 05:13:31	usbhid-ups	26308	Got disconnected by another driver: Device busy
Aug 14 04:49:34	usbhid-ups	26308	Got disconnected by another driver: Device busy
Aug 14 04:47:20	usbhid-ups	26308	Got disconnected by another driver: Device busy
Aug 14 04:29:38	usbhid-ups	26308	Got disconnected by another driver: Device busy
Aug 14 04:11:48	usbhid-ups	26308	Got disconnected by another driver: Device busy
Aug 14 03:02:13	usbhid-ups	26308	Got disconnected by another driver: Device busy
…
Aug 13 23:21:58	upsd	26496	Data for UPS [CyberPower1] is stale - check driver
Aug 13 19:59:22	php-cgi		nut_email.php: Message sent to XX@XX.com OK
Aug 13 19:59:21	upsmon	26006	Communications with UPS CyberPower1 established
Aug 13 19:59:18	php-cgi		nut_email.php: Message sent to XX@XX.com OK
Aug 13 19:59:16	upsd	26496	UPS [CyberPower1] data is no longer stale
Aug 13 19:59:16	upsmon	26006	Communications with UPS CyberPower1 lost
Aug 13 19:59:16	upsmon	26006	Poll UPS [CyberPower1] failed - Data stale
Aug 13 19:59:14	upsd	26496	Data for UPS [CyberPower1] is stale - check driver
Aug 13 19:58:17	upsd	26496	UPS [CyberPower1] data is no longer stale
Aug 13 19:58:14	upsd	26496	Data for UPS [CyberPower1] is stale - check driver
Aug 13 19:24:42	php-cgi		nut_email.php: Message sent to XX@XX.com OK
Aug 13 19:24:40	upsmon	26006	Communications with UPS CyberPower1 established
Aug 13 19:24:37	upsd	26496	UPS [CyberPower1] data is no longer stale
Aug 13 19:24:37	php-cgi		nut_email.php: Message sent to XX@XX.com OK
Aug 13 19:24:35	upsmon	26006	Communications with UPS CyberPower1 lost
Aug 13 19:24:35	upsmon	26006	Poll UPS [CyberPower1] failed - Data stale
Aug 13 19:24:33	upsd	26496	Data for UPS [CyberPower1] is stale - check driver
Aug 13 17:59:43	usbhid-ups	26308	Got disconnected by another driver: Device busy
Aug 13 17:42:54	php-cgi		nut_email.php: Message sent to XX@XX.com OK
Aug 13 17:42:52	upsmon	26006	Communications with UPS CyberPower1 established
Aug 13 17:42:49	php-cgi		nut_email.php: Message sent to XX@XX.com OK
Aug 13 17:42:48	upsd	26496	UPS [CyberPower1] data is no longer stale
Aug 13 17:42:47	upsmon	26006	Communications with UPS CyberPower1 lost
Aug 13 17:42:47	upsmon	26006	Poll UPS [CyberPower1] failed - Data stale
Aug 13 17:42:46	upsd	26496	Data for UPS [CyberPower1] is stale - check driver
Aug 13 17:12:28	usbhid-ups	26308	Got disconnected by another driver: Device busy
Aug 13 17:01:28	usbhid-ups	26308	Got disconnected by another driver: Device busy
</code></pre>
<p dir="auto">Seems like the communication between my UPS and pfSense is lost every so often. Any idea why?</p>
]]></description><link>https://forum.netgate.com/topic/104150/nut-package-logs</link><generator>RSS for Node</generator><lastBuildDate>Sun, 19 Jul 2026 03:43:45 GMT</lastBuildDate><atom:link href="https://forum.netgate.com/topic/104150.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 15 Aug 2016 14:04:50 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to NUT Package Logs on Thu, 18 Aug 2016 04:33:06 GMT]]></title><description><![CDATA[<p dir="auto">No problem. Happy to help.</p>
]]></description><link>https://forum.netgate.com/post/644424</link><guid isPermaLink="true">https://forum.netgate.com/post/644424</guid><dc:creator><![CDATA[dennypage]]></dc:creator><pubDate>Thu, 18 Aug 2016 04:33:06 GMT</pubDate></item><item><title><![CDATA[Reply to NUT Package Logs on Thu, 18 Aug 2016 02:29:16 GMT]]></title><description><![CDATA[<p dir="auto">Well no further sign of this in my logs since reboot and switch usb port. So seems to have cleared up.</p>
<p dir="auto">Here is the output from fstat:</p>
<pre><code>uucp     usbhid-ups 63113 text /        6345098 -r-xr-xr-x  175712  r
uucp     usbhid-ups 63113   wd /         80705 drwxr-x---     512  r
uucp     usbhid-ups 63113 root /             2 drwxr-xr-x    1024  r
uucp     usbhid-ups 63113    0 /dev         10 crw-rw-rw-    null rw
uucp     usbhid-ups 63113    1 /dev         10 crw-rw-rw-    null rw
uucp     usbhid-ups 63113    2 /dev         10 crw-rw-rw-    null rw
uucp     usbhid-ups 63113    3* local dgram fffff8000db78e10 &lt;-&gt; fffff8000d845000
uucp     usbhid-ups 63113    4 /dev        133 crw-rw----  usb/0.2.0 rw
uucp     usbhid-ups 63113    5 /dev        133 crw-rw----  usb/0.2.0 rw
uucp     usbhid-ups 63113    6* local stream fffff8000d7f4960
uucp     usbhid-ups 63113    7* local stream fffff8000da853c0 &lt;-&gt; fffff8000da854b0
uucp     usbhid-ups 63113   10* local stream fffff8000db97960

</code></pre>
<p dir="auto">Seems to be in order I believe.</p>
<p dir="auto">Thanks for the help and lesson dennypage, much appreciated..</p>
]]></description><link>https://forum.netgate.com/post/644420</link><guid isPermaLink="true">https://forum.netgate.com/post/644420</guid><dc:creator><![CDATA[AR15USR]]></dc:creator><pubDate>Thu, 18 Aug 2016 02:29:16 GMT</pubDate></item><item><title><![CDATA[Reply to NUT Package Logs on Wed, 17 Aug 2016 18:20:39 GMT]]></title><description><![CDATA[<p dir="auto">Thanks for that explanation, learned something new.</p>
<p dir="auto">I'll check on it tonight and see if its appearing in the logs again as well as re-run the fstat.</p>
<p dir="auto">Thanks again..</p>
]]></description><link>https://forum.netgate.com/post/644377</link><guid isPermaLink="true">https://forum.netgate.com/post/644377</guid><dc:creator><![CDATA[AR15USR]]></dc:creator><pubDate>Wed, 17 Aug 2016 18:20:39 GMT</pubDate></item><item><title><![CDATA[Reply to NUT Package Logs on Wed, 17 Aug 2016 17:22:49 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/ar15usr">@<bdi>AR15USR</bdi></a>:</p>
<blockquote>
<p dir="auto">As for fstat, I ran it but honestly I had no idea how to interpret the lengthy list.</p>
</blockquote>
<p dir="auto">Sorry, I should have explained. fstat shows what processes have what files open. The output of usbhid-ups suggested that there was another process accessing the UPS via USB. So if you run</p>
<p dir="auto">fstat | grep -i usb</p>
<p dir="auto">while the problem is occurring, you could see processes that have USB devices open. You are looking for processes using /dev/usb/*. Here is the output from one of my systems:</p>
<pre><code>
USER     CMD          PID   FD MOUNT      INUM MODE         SZ|DV R/W
uucp     usbhid-ups  1214 text /        10841613 -r-xr-xr-x  175712  r
uucp     usbhid-ups  1214   wd /        8748129 drwxr-x---     512  r
uucp     usbhid-ups  1214 root /             2 drwxr-xr-x    1024  r
uucp     usbhid-ups  1214    0 /dev         10 crw-rw-rw-    null rw
uucp     usbhid-ups  1214    1 /dev         10 crw-rw-rw-    null rw
uucp     usbhid-ups  1214    2 /dev         10 crw-rw-rw-    null rw
uucp     usbhid-ups  1214    3* local dgram fffff8000b413000 &lt;-&gt; fffff8000b1f8960
uucp     usbhid-ups  1214    4 /dev         73 crw-rw----  usb/0.3.0 rw
uucp     usbhid-ups  1214    5 /dev         73 crw-rw----  usb/0.3.0 rw
uucp     usbhid-ups  1214    6* local stream fffff801b1ea43c0
uucp     usbhid-ups  1214    7* local stream fffff8000b3db1e0 &lt;-&gt; fffff8014705e690
uucp     usbhid-ups  1214   10* local stream fffff8000b1f84b0

</code></pre>
<p dir="auto">You can see that usbhid-ups has two file descriptors (4 &amp; 5) open on the USB bus accessing node 0.3.0.</p>
<p dir="auto">We would expect usbhid-ups to have open files for the UPS. But if there were another process with the same USB node open, including a second usbhid-ups process, that would indicate a problem.</p>
]]></description><link>https://forum.netgate.com/post/644376</link><guid isPermaLink="true">https://forum.netgate.com/post/644376</guid><dc:creator><![CDATA[dennypage]]></dc:creator><pubDate>Wed, 17 Aug 2016 17:22:49 GMT</pubDate></item><item><title><![CDATA[Reply to NUT Package Logs on Wed, 17 Aug 2016 13:17:50 GMT]]></title><description><![CDATA[<p dir="auto">Thanks for checking back dennypage. I was finally able to reboot &amp; switch the usb port this am. So far I am not seeing it in my logs again, but it hasn't been vary long yet. I'll keep an eye on it.</p>
<p dir="auto">As for fstat, I ran it but honestly I had no idea how to interpret the lengthy list.</p>
]]></description><link>https://forum.netgate.com/post/644322</link><guid isPermaLink="true">https://forum.netgate.com/post/644322</guid><dc:creator><![CDATA[AR15USR]]></dc:creator><pubDate>Wed, 17 Aug 2016 13:17:50 GMT</pubDate></item><item><title><![CDATA[Reply to NUT Package Logs on Wed, 17 Aug 2016 05:45:06 GMT]]></title><description><![CDATA[<p dir="auto">Did the reboot fix or change your problem? If not, did you run fstat?</p>
]]></description><link>https://forum.netgate.com/post/644217</link><guid isPermaLink="true">https://forum.netgate.com/post/644217</guid><dc:creator><![CDATA[dennypage]]></dc:creator><pubDate>Wed, 17 Aug 2016 05:45:06 GMT</pubDate></item><item><title><![CDATA[Reply to NUT Package Logs on Tue, 16 Aug 2016 13:26:47 GMT]]></title><description><![CDATA[<p dir="auto">No, not in a VM. Packages I have running are:</p>
<p dir="auto">Squid<br />
SquidGuard<br />
Snort<br />
iperf<br />
Lightsquid<br />
nmap<br />
ntop<br />
NUT<br />
Traffic_Status_Totals</p>
<p dir="auto">Im going to reboot and also switch the USB port to see if that helps..</p>
]]></description><link>https://forum.netgate.com/post/644085</link><guid isPermaLink="true">https://forum.netgate.com/post/644085</guid><dc:creator><![CDATA[AR15USR]]></dc:creator><pubDate>Tue, 16 Aug 2016 13:26:47 GMT</pubDate></item><item><title><![CDATA[Reply to NUT Package Logs on Tue, 16 Aug 2016 00:56:37 GMT]]></title><description><![CDATA[<p dir="auto">The process that talks with the UPS via USB, usbhid-ups, is indicating that there another process attempting to access the UPS via USB at the same time. Is there anything else installed that could be doing that? Maybe check the output of fstat? Look for processes that have USB devices open.</p>
<p dir="auto">Is this running in a VM?<br />
<a href="http://networkupstools.org/docs/FAQ.html#_what_8217_s_this_about_emphasis_data_stale_emphasis" target="_blank" rel="noopener noreferrer nofollow ugc">networkupstools.org/docs/FAQ.html#_what_8217_s_this_about_emphasis_data_stale_emphasis</a></p>
<p dir="auto">FWIW, Stale data in general isn't a new issue:</p>
<p dir="auto"><a href="http://www.google.com/#q=site:forum.pfsense.org+nut+data+stale" target="_blank" rel="noopener noreferrer nofollow ugc">www.google.com/#q=site:forum.pfsense.org+nut+data+stale</a></p>
]]></description><link>https://forum.netgate.com/post/644002</link><guid isPermaLink="true">https://forum.netgate.com/post/644002</guid><dc:creator><![CDATA[dennypage]]></dc:creator><pubDate>Tue, 16 Aug 2016 00:56:37 GMT</pubDate></item></channel></rss>