-
Fingers crossed, I may have found a workaround. My CyberPower UPS has now been continuously connected for a little over 1.5 hours.
After a lot of searching, I came across this link:
https://github.com/networkupstools/nut/wiki/Troubleshooting-eventual-disconnections-(Data-stale)
I ended up setting/adjusting the following variables:
pollinterval=15
in the section for ups.conf
MAXAGE 25
in the section for upsd.conf
DEADTIME 25
in the section for upsmon.confWill continue to monitor - hopefully it will to stay connected.
-
@tman222 said in NUT package:
Fingers crossed, I may have found a workaround. My CyberPower UPS has now been continuously connected for a little over 1.5 hours.
After a lot of searching, I came across this link:
https://github.com/networkupstools/nut/wiki/Troubleshooting-eventual-disconnections-(Data-stale)
I ended up setting/adjusting the following variables:
pollinterval=15
in the section for ups.conf
MAXAGE 25
in the section for upsd.conf
DEADTIME 25
in the section for upsmon.confWill continue to monitor - hopefully it will to stay connected.
Well, I spoke too soon - shortly after posting this the connection was lost again with the same signal 10 kernel error shown in the logs that has already been referenced above.
Would another temporary workaround be just to set up a cron job to restart nut every e.g. 15min until a more permanent solution is found?
-
My problem looks a bit different.
-
@dennypage I removed the package for now, it is generating tons of logs that I can't see anything else in the GUI logs. It seems to be consuming more resources than normal also with the pointer issues. Will reinstall once we have a solid resolve for this issue.
-
@azdeltawye is that the only entry ?
-
I guess my symptoms are different in that it never works at all. Yes, I have unplugged and rebooted several times without any improvement.
I did run the 'usbconfig -v' command and it appears normal?:
ugen0.1: <Intel XHCI root HUB> at usbus0, cfg=0 md=HOST spd=SUPER (5.0Gbps) pwr=SAVE (0mA) ugen0.1.0: uhub0: <Intel XHCI root HUB, class 9/0, rev 3.00/1.00, addr 1> bLength = 0x0012 bDescriptorType = 0x0001 bcdUSB = 0x0300 bDeviceClass = 0x0009 <HUB> bDeviceSubClass = 0x0000 bDeviceProtocol = 0x0003 bMaxPacketSize0 = 0x0009 idVendor = 0x0000 idProduct = 0x0000 bcdDevice = 0x0100 iManufacturer = 0x0001 <Intel> iProduct = 0x0002 <XHCI root HUB> iSerialNumber = 0x0000 <no string> bNumConfigurations = 0x0001 Configuration index 0 bLength = 0x0009 bDescriptorType = 0x0002 wTotalLength = 0x001f bNumInterfaces = 0x0001 bConfigurationValue = 0x0001 iConfiguration = 0x0000 <no string> bmAttributes = 0x0040 bMaxPower = 0x0000 Interface 0 bLength = 0x0009 bDescriptorType = 0x0004 bInterfaceNumber = 0x0000 bAlternateSetting = 0x0000 bNumEndpoints = 0x0001 bInterfaceClass = 0x0009 <HUB> bInterfaceSubClass = 0x0000 bInterfaceProtocol = 0x0000 iInterface = 0x0000 <no string> Endpoint 0 bLength = 0x0007 bDescriptorType = 0x0005 bEndpointAddress = 0x0081 <IN> bmAttributes = 0x0003 <INTERRUPT> wMaxPacketSize = 0x0002 bInterval = 0x00ff bRefresh = 0x0000 bSynchAddress = 0x0000 Additional Descriptor bLength = 0x06 bDescriptorType = 0x30 bDescriptorSubType = 0x00 RAW dump: 0x00 | 0x06, 0x30, 0x00, 0x00, 0x00, 0x00 ugen0.2: <Tripp Lite TRIPP LITE SMART1500RMXLN> at usbus0, cfg=0 md=HOST spd=LOW (1.5Mbps) pwr=ON (0mA) ugen0.2.0: uhid0: <Tripp Lite TRIPP LITE SMART1500RMXLN, class 0/0, rev 1.10/2.0a, addr 29> bLength = 0x0012 bDescriptorType = 0x0001 bcdUSB = 0x0110 bDeviceClass = 0x0000 <Probed by interface class> bDeviceSubClass = 0x0000 bDeviceProtocol = 0x0000 bMaxPacketSize0 = 0x0008 idVendor = 0x09ae idProduct = 0x3015 bcdDevice = 0x020a iManufacturer = 0x0002 <Tripp Lite > iProduct = 0x0003 <TRIPP LITE SMART1500RMXLN > iSerialNumber = 0x0004 <2517AY0SM882400090> bNumConfigurations = 0x0001 Configuration index 0 bLength = 0x0009 bDescriptorType = 0x0002 wTotalLength = 0x0022 bNumInterfaces = 0x0001 bConfigurationValue = 0x0001 iConfiguration = 0x0000 <no string> bmAttributes = 0x00e0 bMaxPower = 0x0000 Interface 0 bLength = 0x0009 bDescriptorType = 0x0004 bInterfaceNumber = 0x0000 bAlternateSetting = 0x0000 bNumEndpoints = 0x0001 bInterfaceClass = 0x0003 <HID device> bInterfaceSubClass = 0x0000 bInterfaceProtocol = 0x0000 iInterface = 0x0000 <no string> Additional Descriptor bLength = 0x09 bDescriptorType = 0x21 bDescriptorSubType = 0x10 RAW dump: 0x00 | 0x09, 0x21, 0x10, 0x01, 0x00, 0x01, 0x22, 0xe4, 0x08 | 0x04 Endpoint 0 bLength = 0x0007 bDescriptorType = 0x0005 bEndpointAddress = 0x0081 <IN> bmAttributes = 0x0003 <INTERRUPT> wMaxPacketSize = 0x0008 bInterval = 0x0028 bRefresh = 0x0000 bSynchAddress = 0x0000
-
@jonathanlee said in NUT package:
@azdeltawye is that the only entry ?
It seems to repeat that sequence over and over.
-
@azdeltawye Need the usbhid-ups and kernel usb messages as above.
-
Feb 17 18:14:00 pfSense newsyslog[32087]: logfile turned over due to size>500K Feb 17 18:14:00 pfSense sshguard[53321]: Exiting on signal. Feb 17 18:14:00 pfSense sshguard[33151]: Now monitoring attacks. Feb 17 18:14:03 pfSense upsmon[19379]: Poll UPS [SMART1500RMXLN] failed - Driver not connected Feb 17 18:14:06 pfSense kernel: ugen0.2: <Tripp Lite TRIPP LITE SMART1500RMXLN> at usbus0 (disconnected) Feb 17 18:14:06 pfSense kernel: uhid0: at uhub0, port 4, addr 29 (disconnected) Feb 17 18:14:06 pfSense kernel: uhid0: detached Feb 17 18:14:07 pfSense kernel: ugen0.2: <Tripp Lite TRIPP LITE SMART1500RMXLN> at usbus0 Feb 17 18:14:07 pfSense kernel: uhid0 on uhub0 Feb 17 18:14:07 pfSense kernel: uhid0: <Tripp Lite TRIPP LITE SMART1500RMXLN, class 0/0, rev 1.10/2.0a, addr 30> on usbus0 Feb 17 18:14:08 pfSense upsmon[19379]: Poll UPS [SMART1500RMXLN] failed - Driver not connected Feb 17 18:14:14 pfSense upsmon[19379]: Poll UPS [SMART1500RMXLN] failed - Driver not connected Feb 17 18:14:19 pfSense upsmon[19379]: Poll UPS [SMART1500RMXLN] failed - Driver not connected Feb 17 18:14:21 pfSense kernel: ugen0.2: <Tripp Lite TRIPP LITE SMART1500RMXLN> at usbus0 (disconnected) Feb 17 18:14:21 pfSense kernel: uhid0: at uhub0, port 4, addr 30 (disconnected) Feb 17 18:14:21 pfSense kernel: uhid0: detached Feb 17 18:14:22 pfSense kernel: ugen0.2: <Tripp Lite TRIPP LITE SMART1500RMXLN> at usbus0 Feb 17 18:14:22 pfSense kernel: uhid0 on uhub0 Feb 17 18:14:22 pfSense kernel: uhid0: <Tripp Lite TRIPP LITE SMART1500RMXLN, class 0/0, rev 1.10/2.0a, addr 31> on usbus0 Feb 17 18:14:24 pfSense upsmon[19379]: Poll UPS [SMART1500RMXLN] failed - Driver not connected Feb 17 18:14:29 pfSense upsmon[19379]: Poll UPS [SMART1500RMXLN] failed - Driver not connected Feb 17 18:14:34 pfSense upsmon[19379]: Poll UPS [SMART1500RMXLN] failed - Driver not connected Feb 17 18:14:36 pfSense kernel: ugen0.2: <Tripp Lite TRIPP LITE SMART1500RMXLN> at usbus0 (disconnected) Feb 17 18:14:36 pfSense kernel: uhid0: at uhub0, port 4, addr 31 (disconnected) Feb 17 18:14:36 pfSense kernel: uhid0: detached Feb 17 18:14:36 pfSense kernel: ugen0.2: <Tripp Lite TRIPP LITE SMART1500RMXLN> at usbus0 Feb 17 18:14:37 pfSense kernel: uhid0 on uhub0 Feb 17 18:14:37 pfSense kernel: uhid0: <Tripp Lite TRIPP LITE SMART1500RMXLN, class 0/0, rev 1.10/2.0a, addr 32> on usbus0 Feb 17 18:14:39 pfSense upsmon[19379]: Poll UPS [SMART1500RMXLN] failed - Driver not connected Feb 17 18:14:44 pfSense upsmon[19379]: Poll UPS [SMART1500RMXLN] failed - Driver not connected Feb 17 18:14:49 pfSense upsmon[19379]: Poll UPS [SMART1500RMXLN] failed - Driver not connected Feb 17 18:14:51 pfSense kernel: ugen0.2: <Tripp Lite TRIPP LITE SMART1500RMXLN> at usbus0 (disconnected) Feb 17 18:14:51 pfSense kernel: uhid0: at uhub0, port 4, addr 32 (disconnected) Feb 17 18:14:51 pfSense kernel: uhid0: detached Feb 17 18:14:51 pfSense kernel: ugen0.2: <Tripp Lite TRIPP LITE SMART1500RMXLN> at usbus0 Feb 17 18:14:52 pfSense kernel: uhid0 on uhub0 Feb 17 18:14:52 pfSense kernel: uhid0: <Tripp Lite TRIPP LITE SMART1500RMXLN, class 0/0, rev 1.10/2.0a, addr 1> on usbus0 Feb 17 18:14:54 pfSense upsmon[19379]: Poll UPS [SMART1500RMXLN] failed - Driver not connected Feb 17 18:14:59 pfSense upsmon[19379]: Poll UPS [SMART1500RMXLN] failed - Driver not connected Feb 17 18:15:04 pfSense upsmon[19379]: Poll UPS [SMART1500RMXLN] failed - Driver not connected Feb 17 18:15:06 pfSense kernel: ugen0.2: <Tripp Lite TRIPP LITE SMART1500RMXLN> at usbus0 (disconnected) Feb 17 18:15:06 pfSense kernel: uhid0: at uhub0, port 4, addr 1 (disconnected) Feb 17 18:15:06 pfSense kernel: uhid0: detached Feb 17 18:15:06 pfSense kernel: ugen0.2: <Tripp Lite TRIPP LITE SMART1500RMXLN> at usbus0 Feb 17 18:15:07 pfSense kernel: uhid0 on uhub0 Feb 17 18:15:07 pfSense kernel: uhid0: <Tripp Lite TRIPP LITE SMART1500RMXLN, class 0/0, rev 1.10/2.0a, addr 2> on usbus0 Feb 17 18:15:09 pfSense upsmon[19379]: Poll UPS [SMART1500RMXLN] failed - Driver not connected Feb 17 18:15:14 pfSense upsmon[19379]: Poll UPS [SMART1500RMXLN] failed - Driver not connected Feb 17 18:15:19 pfSense upsmon[19379]: Poll UPS [SMART1500RMXLN] failed - Driver not connected Feb 17 18:15:21 pfSense kernel: ugen0.2: <Tripp Lite TRIPP LITE SMART1500RMXLN> at usbus0 (disconnected) Feb 17 18:15:21 pfSense kernel: uhid0: at uhub0, port 4, addr 2 (disconnected) Feb 17 18:15:21 pfSense kernel: uhid0: detached Feb 17 18:15:21 pfSense kernel: ugen0.2: <Tripp Lite TRIPP LITE SMART1500RMXLN> at usbus0 Feb 17 18:15:21 pfSense kernel: uhid0 on uhub0 Feb 17 18:15:21 pfSense kernel: uhid0: <Tripp Lite TRIPP LITE SMART1500RMXLN, class 0/0, rev 1.10/2.0a, addr 3> on usbus0 Feb 17 18:15:24 pfSense upsmon[19379]: Poll UPS [SMART1500RMXLN] failed - Driver not connected Feb 17 18:15:29 pfSense upsmon[19379]: Poll UPS [SMART1500RMXLN] failed - Driver not connected Feb 17 18:15:34 pfSense upsmon[19379]: Poll UPS [SMART1500RMXLN] failed - Driver not connected Feb 17 18:15:36 pfSense kernel: ugen0.2: <Tripp Lite TRIPP LITE SMART1500RMXLN> at usbus0 (disconnected) Feb 17 18:15:36 pfSense kernel: uhid0: at uhub0, port 4, addr 3 (disconnected) Feb 17 18:15:36 pfSense kernel: uhid0: detached Feb 17 18:15:36 pfSense kernel: ugen0.2: <Tripp Lite TRIPP LITE SMART1500RMXLN> at usbus0 Feb 17 18:15:37 pfSense kernel: uhid0 on uhub0 Feb 17 18:15:37 pfSense kernel: uhid0: <Tripp Lite TRIPP LITE SMART1500RMXLN, class 0/0, rev 1.10/2.0a, addr 4> on usbus0 Feb 17 18:15:39 pfSense upsmon[19379]: Poll UPS [SMART1500RMXLN] failed - Driver not connected Feb 17 18:15:44 pfSense upsmon[19379]: Poll UPS [SMART1500RMXLN] failed - Driver not connected Feb 17 18:15:49 pfSense upsmon[19379]: Poll UPS [SMART1500RMXLN] failed - Driver not connected Feb 17 18:15:51 pfSense kernel: ugen0.2: <Tripp Lite TRIPP LITE SMART1500RMXLN> at usbus0 (disconnected) Feb 17 18:15:51 pfSense kernel: uhid0: at uhub0, port 4, addr 4 (disconnected) Feb 17 18:15:51 pfSense kernel: uhid0: detached Feb 17 18:15:51 pfSense kernel: ugen0.2: <Tripp Lite TRIPP LITE SMART1500RMXLN> at usbus0 Feb 17 18:15:51 pfSense kernel: uhid0 on uhub0 Feb 17 18:15:51 pfSense kernel: uhid0: <Tripp Lite TRIPP LITE SMART1500RMXLN, class 0/0, rev 1.10/2.0a, addr 5> on usbus0 Feb 17 18:15:54 pfSense upsmon[19379]: Poll UPS [SMART1500RMXLN] failed - Driver not connected Feb 17 18:15:59 pfSense upsmon[19379]: Poll UPS [SMART1500RMXLN] failed - Driver not connected Feb 17 18:16:04 pfSense upsmon[19379]: Poll UPS [SMART1500RMXLN] failed - Driver not connected Feb 17 18:16:06 pfSense kernel: ugen0.2: <Tripp Lite TRIPP LITE SMART1500RMXLN> at usbus0 (disconnected) Feb 17 18:16:06 pfSense kernel: uhid0: at uhub0, port 4, addr 5 (disconnected) Feb 17 18:16:06 pfSense kernel: uhid0: detached Feb 17 18:16:06 pfSense kernel: ugen0.2: <Tripp Lite TRIPP LITE SMART1500RMXLN> at usbus0 Feb 17 18:16:06 pfSense kernel: uhid0 on uhub0 Feb 17 18:16:06 pfSense kernel: uhid0: <Tripp Lite TRIPP LITE SMART1500RMXLN, class 0/0, rev 1.10/2.0a, addr 6> on usbus0 Feb 17 18:16:09 pfSense upsmon[19379]: Poll UPS [SMART1500RMXLN] failed - Driver not connected Feb 17 18:16:14 pfSense upsmon[19379]: Poll UPS [SMART1500RMXLN] failed - Driver not connected Feb 17 18:16:20 pfSense upsmon[19379]: Poll UPS [SMART1500RMXLN] failed - Driver not connected Feb 17 18:16:21 pfSense kernel: ugen0.2: <Tripp Lite TRIPP LITE SMART1500RMXLN> at usbus0 (disconnected) Feb 17 18:16:21 pfSense kernel: uhid0: at uhub0, port 4, addr 6 (disconnected) Feb 17 18:16:21 pfSense kernel: uhid0: detached Feb 17 18:16:21 pfSense kernel: ugen0.2: <Tripp Lite TRIPP LITE SMART1500RMXLN> at usbus0 Feb 17 18:16:21 pfSense kernel: uhid0 on uhub0 Feb 17 18:16:21 pfSense kernel: uhid0: <Tripp Lite TRIPP LITE SMART1500RMXLN, class 0/0, rev 1.10/2.0a, addr 7> on usbus0 Feb 17 18:16:25 pfSense upsmon[19379]: Poll UPS [SMART1500RMXLN] failed - Driver not connected Feb 17 18:16:30 pfSense upsmon[19379]: Poll UPS [SMART1500RMXLN] failed - Driver not connected Feb 17 18:16:35 pfSense upsmon[19379]: Poll UPS [SMART1500RMXLN] failed - Driver not connected Feb 17 18:16:36 pfSense kernel: ugen0.2: <Tripp Lite TRIPP LITE SMART1500RMXLN> at usbus0 (disconnected) Feb 17 18:16:36 pfSense kernel: uhid0: at uhub0, port 4, addr 7 (disconnected) Feb 17 18:16:36 pfSense kernel: uhid0: detached Feb 17 18:16:36 pfSense kernel: ugen0.2: <Tripp Lite TRIPP LITE SMART1500RMXLN> at usbus0 Feb 17 18:16:36 pfSense kernel: uhid0 on uhub0 Feb 17 18:16:36 pfSense kernel: uhid0: <Tripp Lite TRIPP LITE SMART1500RMXLN, class 0/0, rev 1.10/2.0a, addr 8> on usbus0 Feb 17 18:16:40 pfSense upsmon[19379]: Poll UPS [SMART1500RMXLN] failed - Driver not connected Feb 17 18:16:45 pfSense upsmon[19379]: Poll UPS [SMART1500RMXLN] failed - Driver not connected Feb 17 18:16:50 pfSense upsmon[19379]: Poll UPS [SMART1500RMXLN] failed - Driver not connected Feb 17 18:16:51 pfSense kernel: ugen0.2: <Tripp Lite TRIPP LITE SMART1500RMXLN> at usbus0 (disconnected) Feb 17 18:16:51 pfSense kernel: uhid0: at uhub0, port 4, addr 8 (disconnected) Feb 17 18:16:51 pfSense kernel: uhid0: detached Feb 17 18:16:51 pfSense kernel: ugen0.2: <Tripp Lite TRIPP LITE SMART1500RMXLN> at usbus0 Feb 17 18:16:51 pfSense kernel: uhid0 on uhub0 Feb 17 18:16:51 pfSense kernel: uhid0: <Tripp Lite TRIPP LITE SMART1500RMXLN, class 0/0, rev 1.10/2.0a, addr 9> on usbus0 Feb 17 18:16:55 pfSense upsmon[19379]: Poll UPS [SMART1500RMXLN] failed - Driver not connected Feb 17 18:17:00 pfSense upsmon[19379]: Poll UPS [SMART1500RMXLN] failed - Driver not connected Feb 17 18:17:05 pfSense upsmon[19379]: Poll UPS [SMART1500RMXLN] failed - Driver not connected Feb 17 18:17:06 pfSense kernel: ugen0.2: <Tripp Lite TRIPP LITE SMART1500RMXLN> at usbus0 (disconnected) Feb 17 18:17:06 pfSense kernel: uhid0: at uhub0, port 4, addr 9 (disconnected) Feb 17 18:17:06 pfSense kernel: uhid0: detached Feb 17 18:17:06 pfSense kernel: ugen0.2: <Tripp Lite TRIPP LITE SMART1500RMXLN> at usbus0 Feb 17 18:17:06 pfSense kernel: uhid0 on uhub0 Feb 17 18:17:06 pfSense kernel: uhid0: <Tripp Lite TRIPP LITE SMART1500RMXLN, class 0/0, rev 1.10/2.0a, addr 10> on usbus0 Feb 17 18:17:10 pfSense upsmon[19379]: Poll UPS [SMART1500RMXLN] failed - Driver not connected Feb 17 18:17:15 pfSense upsmon[19379]: Poll UPS [SMART1500RMXLN] failed - Driver not connected Feb 17 18:17:20 pfSense upsmon[19379]: Poll UPS [SMART1500RMXLN] failed - Driver not connected Feb 17 18:17:21 pfSense kernel: ugen0.2: <Tripp Lite TRIPP LITE SMART1500RMXLN> at usbus0 (disconnected) Feb 17 18:17:21 pfSense kernel: uhid0: at uhub0, port 4, addr 10 (disconnected) Feb 17 18:17:21 pfSense kernel: uhid0: detached Feb 17 18:17:21 pfSense kernel: ugen0.2: <Tripp Lite TRIPP LITE SMART1500RMXLN> at usbus0 Feb 17 18:17:21 pfSense kernel: uhid0 on uhub0 Feb 17 18:17:21 pfSense kernel: uhid0: <Tripp Lite TRIPP LITE SMART1500RMXLN, class 0/0, rev 1.10/2.0a, addr 11> on usbus0 Feb 17 18:17:25 pfSense upsmon[19379]: Poll UPS [SMART1500RMXLN] failed - Driver not connected Feb 17 18:17:30 pfSense upsmon[19379]: Poll UPS [SMART1500RMXLN] failed - Driver not connected Feb 17 18:17:35 pfSense upsmon[19379]: Poll UPS [SMART1500RMXLN] failed - Driver not connected Feb 17 18:17:36 pfSense kernel: ugen0.2: <Tripp Lite TRIPP LITE SMART1500RMXLN> at usbus0 (disconnected) Feb 17 18:17:36 pfSense kernel: uhid0: at uhub0, port 4, addr 11 (disconnected) Feb 17 18:17:36 pfSense kernel: uhid0: detached Feb 17 18:17:36 pfSense kernel: ugen0.2: <Tripp Lite TRIPP LITE SMART1500RMXLN> at usbus0 Feb 17 18:17:36 pfSense kernel: uhid0 on uhub0 Feb 17 18:17:36 pfSense kernel: uhid0: <Tripp Lite TRIPP LITE SMART1500RMXLN, class 0/0, rev 1.10/2.0a, addr 12> on usbus0 Feb 17 18:17:40 pfSense upsmon[19379]: Poll UPS [SMART1500RMXLN] failed - Driver not connected Feb 17 18:17:45 pfSense upsmon[19379]: Poll UPS [SMART1500RMXLN] failed - Driver not connected Feb 17 18:17:50 pfSense upsmon[19379]: Poll UPS [SMART1500RMXLN] failed - Driver not connected Feb 17 18:17:50 pfSense kernel: ugen0.2: <Tripp Lite TRIPP LITE SMART1500RMXLN> at usbus0 (disconnected) Feb 17 18:17:50 pfSense kernel: uhid0: at uhub0, port 4, addr 12 (disconnected) Feb 17 18:17:50 pfSense kernel: uhid0: detached Feb 17 18:17:51 pfSense kernel: ugen0.2: <Tripp Lite TRIPP LITE SMART1500RMXLN> at usbus0 Feb 17 18:17:51 pfSense kernel: uhid0 on uhub0 Feb 17 18:17:51 pfSense kernel: uhid0: <Tripp Lite TRIPP LITE SMART1500RMXLN, class 0/0, rev 1.10/2.0a, addr 13> on usbus0 Feb 17 18:17:55 pfSense upsmon[19379]: Poll UPS [SMART1500RMXLN] failed - Driver not connected Feb 17 18:18:00 pfSense upsmon[19379]: Poll UPS [SMART1500RMXLN] failed - Driver not connected Feb 17 18:18:05 pfSense upsmon[19379]: Poll UPS [SMART1500RMXLN] failed - Driver not connected Feb 17 18:18:06 pfSense kernel: ugen0.2: <Tripp Lite TRIPP LITE SMART1500RMXLN> at usbus0 (disconnected) Feb 17 18:18:06 pfSense kernel: uhid0: at uhub0, port 4, addr 13 (disconnected) Feb 17 18:18:06 pfSense kernel: uhid0: detached Feb 17 18:18:06 pfSense kernel: ugen0.2: <Tripp Lite TRIPP LITE SMART1500RMXLN> at usbus0 Feb 17 18:18:06 pfSense kernel: uhid0 on uhub0 Feb 17 18:18:06 pfSense kernel: uhid0: <Tripp Lite TRIPP LITE SMART1500RMXLN, class 0/0, rev 1.10/2.0a, addr 14> on usbus0 Feb 17 18:18:10 pfSense upsmon[19379]: Poll UPS [SMART1500RMXLN] failed - Driver not connected Feb 17 18:18:15 pfSense upsmon[19379]: Poll UPS [SMART1500RMXLN] failed - Driver not connected Feb 17 18:18:20 pfSense upsmon[19379]: Poll UPS [SMART1500RMXLN] failed - Driver not connected Feb 17 18:18:20 pfSense kernel: ugen0.2: <Tripp Lite TRIPP LITE SMART1500RMXLN> at usbus0 (disconnected) Feb 17 18:18:20 pfSense kernel: uhid0: at uhub0, port 4, addr 14 (disconnected) Feb 17 18:18:20 pfSense kernel: uhid0: detached Feb 17 18:18:21 pfSense kernel: ugen0.2: <Tripp Lite TRIPP LITE SMART1500RMXLN> at usbus0 Feb 17 18:18:21 pfSense kernel: uhid0 on uhub0 Feb 17 18:18:21 pfSense kernel: uhid0: <Tripp Lite TRIPP LITE SMART1500RMXLN, class 0/0, rev 1.10/2.0a, addr 15> on usbus0 Feb 17 18:18:24 pfSense upsd[20933]: Can't connect to UPS [SMART1500RMXLN] (usbhid-ups-SMART1500RMXLN): No such file or directory Feb 17 18:18:25 pfSense upsmon[19379]: Poll UPS [SMART1500RMXLN] failed - Driver not connected Feb 17 18:18:30 pfSense upsmon[19379]: Poll UPS [SMART1500RMXLN] failed - Driver not connected Feb 17 18:18:30 pfSense upsmon[19379]: UPS SMART1500RMXLN is unavailable Feb 17 18:18:35 pfSense upsmon[19379]: Poll UPS [SMART1500RMXLN] failed - Driver not connected Feb 17 18:18:35 pfSense kernel: ugen0.2: <Tripp Lite TRIPP LITE SMART1500RMXLN> at usbus0 (disconnected) Feb 17 18:18:35 pfSense kernel: uhid0: at uhub0, port 4, addr 15 (disconnected) Feb 17 18:18:35 pfSense kernel: uhid0: detached Feb 17 18:18:36 pfSense kernel: ugen0.2: <Tripp Lite TRIPP LITE SMART1500RMXLN> at usbus0 Feb 17 18:18:36 pfSense kernel: uhid0 on uhub0 Feb 17 18:18:36 pfSense kernel: uhid0: <Tripp Lite TRIPP LITE SMART1500RMXLN, class 0/0, rev 1.10/2.0a, addr 16> on usbus0 Feb 17 18:18:40 pfSense upsmon[19379]: Poll UPS [SMART1500RMXLN] failed - Driver not connected Feb 17 18:18:45 pfSense upsmon[19379]: Poll UPS [SMART1500RMXLN] failed - Driver not connected Feb 17 18:18:50 pfSense upsmon[19379]: Poll UPS [SMART1500RMXLN] failed - Driver not connected Feb 17 18:18:50 pfSense kernel: ugen0.2: <Tripp Lite TRIPP LITE SMART1500RMXLN> at usbus0 (disconnected) Feb 17 18:18:50 pfSense kernel: uhid0: at uhub0, port 4, addr 16 (disconnected) Feb 17 18:18:50 pfSense kernel: uhid0: detached Feb 17 18:18:51 pfSense kernel: ugen0.2: <Tripp Lite TRIPP LITE SMART1500RMXLN> at usbus0 Feb 17 18:18:51 pfSense kernel: uhid0 on uhub0 Feb 17 18:18:51 pfSense kernel: uhid0: <Tripp Lite TRIPP LITE SMART1500RMXLN, class 0/0, rev 1.10/2.0a, addr 17> on usbus0 Feb 17 18:18:55 pfSense upsmon[19379]: Poll UPS [SMART1500RMXLN] failed - Driver not connected Feb 17 18:19:00 pfSense upsmon[19379]: Poll UPS [SMART1500RMXLN] failed - Driver not connected Feb 17 18:19:05 pfSense upsmon[19379]: Poll UPS [SMART1500RMXLN] failed - Driver not connected Feb 17 18:19:05 pfSense kernel: ugen0.2: <Tripp Lite TRIPP LITE SMART1500RMXLN> at usbus0 (disconnected) Feb 17 18:19:05 pfSense kernel: uhid0: at uhub0, port 4, addr 17 (disconnected) Feb 17 18:19:05 pfSense kernel: uhid0: detached Feb 17 18:19:06 pfSense kernel: ugen0.2: <Tripp Lite TRIPP LITE SMART1500RMXLN> at usbus0 Feb 17 18:19:06 pfSense kernel: uhid0 on uhub0 Feb 17 18:19:06 pfSense kernel: uhid0: <Tripp Lite TRIPP LITE SMART1500RMXLN, class 0/0, rev 1.10/2.0a, addr 18> on usbus0 Feb 17 18:19:10 pfSense upsmon[19379]: Poll UPS [SMART1500RMXLN] failed - Driver not connected Feb 17 18:19:15 pfSense upsmon[19379]: Poll UPS [SMART1500RMXLN] failed - Driver not connected Feb 17 18:19:20 pfSense kernel: ugen0.2: <Tripp Lite TRIPP LITE SMART1500RMXLN> at usbus0 (disconnected) Feb 17 18:19:20 pfSense kernel: uhid0: at uhub0, port 4, addr 18 (disconnected) Feb 17 18:19:20 pfSense kernel: uhid0: detached Feb 17 18:19:20 pfSense upsmon[19379]: Poll UPS [SMART1500RMXLN] failed - Driver not connected Feb 17 18:19:21 pfSense kernel: ugen0.2: <Tripp Lite TRIPP LITE SMART1500RMXLN> at usbus0 Feb 17 18:19:21 pfSense kernel: uhid0 on uhub0 Feb 17 18:19:21 pfSense kernel: uhid0: <Tripp Lite TRIPP LITE SMART1500RMXLN, class 0/0, rev 1.10/2.0a, addr 19> on usbus0
-
@jonathanlee said in NUT package:
I removed the package for now, it is generating tons of logs that I can't see anything else in the GUI logs.
No worries. I'll let you know if I need you to test anything. Thanks.
-
@azdeltawye At first glance that looks like a simple bad usb cable, ups or possible a usb driver problem. But let's make sure...
First, please post your current nut configuration (Services / UPS / Settings). Also, what type of hardware are you running pfSense on?
Then do the following:
- go into Services / UPS / Settings and select Disabled as your UPS Type. Save the configuration.
- unplug the usb connection to the ups.
- reboot pfSense, and wait for it to fully boot.
- plug the usb connection to the ups back in.
- wait a couple of minutes
- collect and post all kernel messages since boot pertaining to usb in an way.
I am particularly interested in seeing if it continues in a detach / re-attach loop on the usb bus.
After that, you can re-enable nut and start trying different usb cables and usb ports (particularly usb v2 vs usb v3) to see if that affects the behavior. You can also try adding / removing a usb hub (preferably powered).
Thanks
-
@dennypage
Thanks for helping out with this. I really appreciate it!Settings:
Hardware: Netgate SG-5100
I followed your instructions & swapped USB ports and cables. Here are the logs since bootup @19:42
Feb 17 19:56:30 upsmon 94045 Poll UPS [SMART1500RMXLN] failed - Driver not connected Feb 17 19:56:25 upsmon 94045 UPS SMART1500RMXLN is unavailable Feb 17 19:56:25 upsmon 94045 Poll UPS [SMART1500RMXLN] failed - Driver not connected Feb 17 19:56:25 upsd 94798 User local-monitor@::1 logged into UPS [SMART1500RMXLN] Feb 17 19:56:21 upsd 94798 Startup successful Feb 17 19:56:21 upsd 94798 Can't connect to UPS [SMART1500RMXLN] (usbhid-ups-SMART1500RMXLN): No such file or directory Feb 17 19:56:21 upsd 94798 listening on 127.0.0.1 port 3493 Feb 17 19:56:21 upsd 94798 listening on ::1 port 3493 Feb 17 19:56:20 upsmon 94045 Communications with UPS SMART1500RMXLN lost Feb 17 19:56:20 upsmon 94045 UPS [SMART1500RMXLN]: connect failed: Connection failure: Connection refused Feb 17 19:56:20 upsmon 94045 Startup successful Feb 17 19:56:20 php-fpm 367 /nut_settings.php: Starting service nut Feb 17 19:56:20 upsd 33565 Signal 15: exiting Feb 17 19:56:20 upsd 33565 mainloop: Interrupted system call Feb 17 19:56:20 upsd 33565 User local-monitor@::1 logged out from UPS [SMART1500RMXLN] Feb 17 19:56:20 upsmon 32053 Signal 15: exiting Feb 17 19:56:20 php-fpm 367 /nut_settings.php: Stopping service nut Feb 17 19:56:20 check_reload_status 396 Syncing firewall Feb 17 19:56:20 php-fpm 367 /nut_settings.php: Configuration Change: DSIMS@192.168.200.241 (Local Database): Updated UPS settings Feb 17 19:56:18 kernel uhid0: <Tripp Lite TRIPP LITE SMART1500RMXLN, class 0/0, rev 1.10/2.0a, addr 2> on usbus0 Feb 17 19:56:18 kernel uhid0 on uhub0 Feb 17 19:56:17 kernel ugen0.2: <Tripp Lite TRIPP LITE SMART1500RMXLN> at usbus0 Feb 17 19:56:17 kernel uhid0: detached Feb 17 19:56:17 kernel uhid0: at uhub0, port 4, addr 1 (disconnected) Feb 17 19:56:17 kernel ugen0.2: <Tripp Lite TRIPP LITE SMART1500RMXLN> at usbus0 (disconnected) Feb 17 19:56:15 upsmon 32053 Poll UPS [SMART1500RMXLN] failed - Driver not connected Feb 17 19:56:10 upsmon 32053 Poll UPS [SMART1500RMXLN] failed - Driver not connected Feb 17 19:56:05 upsmon 32053 Poll UPS [SMART1500RMXLN] failed - Driver not connected Feb 17 19:56:03 kernel uhid0: <Tripp Lite TRIPP LITE SMART1500RMXLN, class 0/0, rev 1.10/2.0a, addr 1> on usbus0 Feb 17 19:56:03 kernel uhid0 on uhub0 Feb 17 19:56:02 kernel ugen0.2: <Tripp Lite TRIPP LITE SMART1500RMXLN> at usbus0 Feb 17 19:56:02 kernel uhid0: detached Feb 17 19:56:02 kernel uhid0: at uhub0, port 4, addr 32 (disconnected) Feb 17 19:56:02 kernel ugen0.2: <Tripp Lite TRIPP LITE SMART1500RMXLN> at usbus0 (disconnected) Feb 17 19:56:00 upsmon 32053 Poll UPS [SMART1500RMXLN] failed - Driver not connected Feb 17 19:55:55 upsmon 32053 Poll UPS [SMART1500RMXLN] failed - Driver not connected Feb 17 19:55:50 upsmon 32053 Poll UPS [SMART1500RMXLN] failed - Driver not connected Feb 17 19:55:48 kernel uhid0: <Tripp Lite TRIPP LITE SMART1500RMXLN, class 0/0, rev 1.10/2.0a, addr 32> on usbus0 Feb 17 19:55:48 kernel uhid0 on uhub0 Feb 17 19:55:48 kernel ugen0.2: <Tripp Lite TRIPP LITE SMART1500RMXLN> at usbus0 Feb 17 19:55:47 kernel uhid0: detached Feb 17 19:55:47 kernel uhid0: at uhub0, port 4, addr 31 (disconnected) Feb 17 19:55:47 kernel ugen0.2: <Tripp Lite TRIPP LITE SMART1500RMXLN> at usbus0 (disconnected) Feb 17 19:55:45 upsmon 32053 Poll UPS [SMART1500RMXLN] failed - Driver not connected Feb 17 19:55:40 upsmon 32053 Poll UPS [SMART1500RMXLN] failed - Driver not connected Feb 17 19:55:35 upsmon 32053 Poll UPS [SMART1500RMXLN] failed - Driver not connected Feb 17 19:55:33 kernel uhid0: <Tripp Lite TRIPP LITE SMART1500RMXLN, class 0/0, rev 1.10/2.0a, addr 31> on usbus0 Feb 17 19:55:33 kernel uhid0 on uhub0 Feb 17 19:55:33 kernel ugen0.2: <Tripp Lite TRIPP LITE SMART1500RMXLN> at usbus0 Feb 17 19:55:32 kernel uhid0: detached Feb 17 19:55:32 kernel uhid0: at uhub0, port 4, addr 30 (disconnected) Feb 17 19:55:32 kernel ugen0.2: <Tripp Lite TRIPP LITE SMART1500RMXLN> at usbus0 (disconnected) Feb 17 19:55:30 upsmon 32053 Poll UPS [SMART1500RMXLN] failed - Driver not connected Feb 17 19:55:25 upsmon 32053 Poll UPS [SMART1500RMXLN] failed - Driver not connected Feb 17 19:55:20 upsmon 32053 Poll UPS [SMART1500RMXLN] failed - Driver not connected Feb 17 19:55:18 kernel uhid0: <Tripp Lite TRIPP LITE SMART1500RMXLN, class 0/0, rev 1.10/2.0a, addr 30> on usbus0 Feb 17 19:55:18 kernel uhid0 on uhub0 Feb 17 19:55:18 kernel ugen0.2: <Tripp Lite TRIPP LITE SMART1500RMXLN> at usbus0 Feb 17 19:55:18 kernel uhid0: detached Feb 17 19:55:17 kernel uhid0: at uhub0, port 4, addr 29 (disconnected) Feb 17 19:55:17 kernel ugen0.2: <Tripp Lite TRIPP LITE SMART1500RMXLN> at usbus0 (disconnected) Feb 17 19:55:15 upsmon 32053 Poll UPS [SMART1500RMXLN] failed - Driver not connected Feb 17 19:55:10 upsmon 32053 Poll UPS [SMART1500RMXLN] failed - Driver not connected Feb 17 19:55:05 upsmon 32053 Poll UPS [SMART1500RMXLN] failed - Driver not connected Feb 17 19:55:03 kernel uhid0: <Tripp Lite TRIPP LITE SMART1500RMXLN, class 0/0, rev 1.10/2.0a, addr 29> on usbus0 Feb 17 19:55:03 kernel uhid0 on uhub0 Feb 17 19:55:03 kernel ugen0.2: <Tripp Lite TRIPP LITE SMART1500RMXLN> at usbus0 Feb 17 19:55:00 upsmon 32053 Poll UPS [SMART1500RMXLN] failed - Driver not connected Feb 17 19:54:55 upsmon 32053 Poll UPS [SMART1500RMXLN] failed - Driver not connected Feb 17 19:54:50 upsmon 32053 Poll UPS [SMART1500RMXLN] failed - Driver not connected Feb 17 19:54:45 upsmon 32053 Poll UPS [SMART1500RMXLN] failed - Driver not connected Feb 17 19:54:40 upsmon 32053 Poll UPS [SMART1500RMXLN] failed - Driver not connected Feb 17 19:54:35 upsmon 32053 Poll UPS [SMART1500RMXLN] failed - Driver not connected Feb 17 19:54:30 upsmon 32053 Poll UPS [SMART1500RMXLN] failed - Driver not connected Feb 17 19:54:25 upsmon 32053 Poll UPS [SMART1500RMXLN] failed - Driver not connected Feb 17 19:54:20 upsmon 32053 Poll UPS [SMART1500RMXLN] failed - Driver not connected Feb 17 19:54:15 upsmon 32053 Poll UPS [SMART1500RMXLN] failed - Driver not connected Feb 17 19:54:11 kernel uhid0: detached Feb 17 19:54:11 kernel uhid0: at uhub0, port 3, addr 28 (disconnected) Feb 17 19:54:11 kernel ugen0.2: <Tripp Lite TRIPP LITE SMART1500RMXLN> at usbus0 (disconnected) Feb 17 19:54:10 upsmon 32053 Poll UPS [SMART1500RMXLN] failed - Driver not connected Feb 17 19:54:09 kernel uhid0: <Tripp Lite TRIPP LITE SMART1500RMXLN, class 0/0, rev 1.10/2.0a, addr 28> on usbus0 Feb 17 19:54:09 kernel uhid0 on uhub0 Feb 17 19:54:09 kernel ugen0.2: <Tripp Lite TRIPP LITE SMART1500RMXLN> at usbus0 Feb 17 19:54:08 kernel uhid0: detached Feb 17 19:54:08 kernel uhid0: at uhub0, port 3, addr 27 (disconnected) Feb 17 19:54:08 kernel ugen0.2: <Tripp Lite TRIPP LITE SMART1500RMXLN> at usbus0 (disconnected) Feb 17 19:54:05 upsmon 32053 Poll UPS [SMART1500RMXLN] failed - Driver not connected Feb 17 19:54:00 upsmon 32053 UPS SMART1500RMXLN is unavailable Feb 17 19:54:00 upsmon 32053 Poll UPS [SMART1500RMXLN] failed - Driver not connected Feb 17 19:53:55 upsmon 32053 Poll UPS [SMART1500RMXLN] failed - Driver not connected Feb 17 19:53:55 upsd 33565 Can't connect to UPS [SMART1500RMXLN] (usbhid-ups-SMART1500RMXLN): No such file or directory Feb 17 19:53:54 kernel uhid0: <Tripp Lite TRIPP LITE SMART1500RMXLN, class 0/0, rev 1.10/2.0a, addr 27> on usbus0 Feb 17 19:53:54 kernel uhid0 on uhub0 Feb 17 19:53:54 kernel ugen0.2: <Tripp Lite TRIPP LITE SMART1500RMXLN> at usbus0 Feb 17 19:53:53 kernel uhid0: detached Feb 17 19:53:53 kernel uhid0: at uhub0, port 3, addr 26 (disconnected) Feb 17 19:53:53 kernel ugen0.2: <Tripp Lite TRIPP LITE SMART1500RMXLN> at usbus0 (disconnected) Feb 17 19:53:50 upsmon 32053 Poll UPS [SMART1500RMXLN] failed - Driver not connected Feb 17 19:53:45 upsmon 32053 Poll UPS [SMART1500RMXLN] failed - Driver not connected Feb 17 19:53:40 upsmon 32053 Poll UPS [SMART1500RMXLN] failed - Driver not connected Feb 17 19:53:39 kernel uhid0: <Tripp Lite TRIPP LITE SMART1500RMXLN, class 0/0, rev 1.10/2.0a, addr 26> on usbus0 Feb 17 19:53:39 kernel uhid0 on uhub0 Feb 17 19:53:39 kernel ugen0.2: <Tripp Lite TRIPP LITE SMART1500RMXLN> at usbus0 Feb 17 19:53:38 kernel uhid0: detached Feb 17 19:53:38 kernel uhid0: at uhub0, port 3, addr 25 (disconnected) Feb 17 19:53:38 kernel ugen0.2: <Tripp Lite TRIPP LITE SMART1500RMXLN> at usbus0 (disconnected) Feb 17 19:53:35 upsmon 32053 Poll UPS [SMART1500RMXLN] failed - Driver not connected Feb 17 19:53:30 upsmon 32053 Poll UPS [SMART1500RMXLN] failed - Driver not connected Feb 17 19:53:25 upsmon 32053 Poll UPS [SMART1500RMXLN] failed - Driver not connected Feb 17 19:53:24 kernel uhid0: <Tripp Lite TRIPP LITE SMART1500RMXLN, class 0/0, rev 1.10/2.0a, addr 25> on usbus0 Feb 17 19:53:24 kernel uhid0 on uhub0 Feb 17 19:53:24 kernel ugen0.2: <Tripp Lite TRIPP LITE SMART1500RMXLN> at usbus0 Feb 17 19:53:23 kernel uhid0: detached Feb 17 19:53:23 kernel uhid0: at uhub0, port 3, addr 24 (disconnected) Feb 17 19:53:23 kernel ugen0.2: <Tripp Lite TRIPP LITE SMART1500RMXLN> at usbus0 (disconnected) Feb 17 19:53:20 upsmon 32053 Poll UPS [SMART1500RMXLN] failed - Driver not connected Feb 17 19:53:15 upsmon 32053 Poll UPS [SMART1500RMXLN] failed - Driver not connected Feb 17 19:53:09 upsmon 32053 Poll UPS [SMART1500RMXLN] failed - Driver not connected Feb 17 19:53:09 kernel uhid0: <Tripp Lite TRIPP LITE SMART1500RMXLN, class 0/0, rev 1.10/2.0a, addr 24> on usbus0 Feb 17 19:53:09 kernel uhid0 on uhub0 Feb 17 19:53:09 kernel ugen0.2: <Tripp Lite TRIPP LITE SMART1500RMXLN> at usbus0 Feb 17 19:53:08 kernel uhid0: detached Feb 17 19:53:08 kernel uhid0: at uhub0, port 3, addr 23 (disconnected) Feb 17 19:53:08 kernel ugen0.2: <Tripp Lite TRIPP LITE SMART1500RMXLN> at usbus0 (disconnected) Feb 17 19:53:04 upsmon 32053 Poll UPS [SMART1500RMXLN] failed - Driver not connected Feb 17 19:52:59 upsmon 32053 Poll UPS [SMART1500RMXLN] failed - Driver not connected Feb 17 19:52:54 upsmon 32053 Poll UPS [SMART1500RMXLN] failed - Driver not connected Feb 17 19:52:54 kernel uhid0: <Tripp Lite TRIPP LITE SMART1500RMXLN, class 0/0, rev 1.10/2.0a, addr 23> on usbus0 Feb 17 19:52:54 kernel uhid0 on uhub0 Feb 17 19:52:54 kernel ugen0.2: <Tripp Lite TRIPP LITE SMART1500RMXLN> at usbus0 Feb 17 19:52:54 kernel uhid0: detached Feb 17 19:52:54 kernel uhid0: at uhub0, port 3, addr 22 (disconnected) Feb 17 19:52:54 kernel ugen0.2: <Tripp Lite TRIPP LITE SMART1500RMXLN> at usbus0 (disconnected) Feb 17 19:52:49 upsmon 32053 Poll UPS [SMART1500RMXLN] failed - Driver not connected Feb 17 19:52:44 upsmon 32053 Poll UPS [SMART1500RMXLN] failed - Driver not connected Feb 17 19:52:39 upsmon 32053 Poll UPS [SMART1500RMXLN] failed - Driver not connected Feb 17 19:52:39 kernel uhid0: <Tripp Lite TRIPP LITE SMART1500RMXLN, class 0/0, rev 1.10/2.0a, addr 22> on usbus0 Feb 17 19:52:39 kernel uhid0 on uhub0 Feb 17 19:52:39 kernel ugen0.2: <Tripp Lite TRIPP LITE SMART1500RMXLN> at usbus0 Feb 17 19:52:38 kernel uhid0: detached Feb 17 19:52:38 kernel uhid0: at uhub0, port 3, addr 21 (disconnected) Feb 17 19:52:38 kernel ugen0.2: <Tripp Lite TRIPP LITE SMART1500RMXLN> at usbus0 (disconnected) Feb 17 19:52:34 upsmon 32053 Poll UPS [SMART1500RMXLN] failed - Driver not connected Feb 17 19:52:29 upsmon 32053 Poll UPS [SMART1500RMXLN] failed - Driver not connected Feb 17 19:52:24 upsmon 32053 Poll UPS [SMART1500RMXLN] failed - Driver not connected Feb 17 19:52:24 kernel uhid0: <Tripp Lite TRIPP LITE SMART1500RMXLN, class 0/0, rev 1.10/2.0a, addr 21> on usbus0 Feb 17 19:52:24 kernel uhid0 on uhub0 Feb 17 19:52:24 kernel ugen0.2: <Tripp Lite TRIPP LITE SMART1500RMXLN> at usbus0 Feb 17 19:52:23 kernel uhid0: detached Feb 17 19:52:23 kernel uhid0: at uhub0, port 3, addr 20 (disconnected) Feb 17 19:52:23 kernel ugen0.2: <Tripp Lite TRIPP LITE SMART1500RMXLN> at usbus0 (disconnected) Feb 17 19:52:19 upsmon 32053 Poll UPS [SMART1500RMXLN] failed - Driver not connected Feb 17 19:52:14 upsmon 32053 Poll UPS [SMART1500RMXLN] failed - Driver not connected Feb 17 19:52:09 upsmon 32053 Poll UPS [SMART1500RMXLN] failed - Driver not connected Feb 17 19:52:09 kernel uhid0: <Tripp Lite TRIPP LITE SMART1500RMXLN, class 0/0, rev 1.10/2.0a, addr 20> on usbus0 Feb 17 19:52:09 kernel uhid0 on uhub0 Feb 17 19:52:09 kernel ugen0.2: <Tripp Lite TRIPP LITE SMART1500RMXLN> at usbus0 Feb 17 19:52:09 kernel uhid0: detached Feb 17 19:52:09 kernel uhid0: at uhub0, port 3, addr 19 (disconnected) Feb 17 19:52:09 kernel ugen0.2: <Tripp Lite TRIPP LITE SMART1500RMXLN> at usbus0 (disconnected) Feb 17 19:52:04 upsmon 32053 Poll UPS [SMART1500RMXLN] failed - Driver not connected Feb 17 19:51:59 upsmon 32053 Poll UPS [SMART1500RMXLN] failed - Driver not connected Feb 17 19:51:54 kernel uhid0: <Tripp Lite TRIPP LITE SMART1500RMXLN, class 0/0, rev 1.10/2.0a, addr 19> on usbus0 Feb 17 19:51:54 kernel uhid0 on uhub0 Feb 17 19:51:54 kernel ugen0.2: <Tripp Lite TRIPP LITE SMART1500RMXLN> at usbus0 Feb 17 19:51:54 upsmon 32053 Poll UPS [SMART1500RMXLN] failed - Driver not connected Feb 17 19:51:49 upsmon 32053 Poll UPS [SMART1500RMXLN] failed - Driver not connected Feb 17 19:51:44 upsmon 32053 Poll UPS [SMART1500RMXLN] failed - Driver not connected Feb 17 19:51:39 upsmon 32053 Poll UPS [SMART1500RMXLN] failed - Driver not connected Feb 17 19:51:34 upsmon 32053 Poll UPS [SMART1500RMXLN] failed - Driver not connected Feb 17 19:51:29 upsmon 32053 Poll UPS [SMART1500RMXLN] failed - Driver not connected Feb 17 19:51:24 upsmon 32053 Poll UPS [SMART1500RMXLN] failed - Driver not connected Feb 17 19:51:19 upsmon 32053 Poll UPS [SMART1500RMXLN] failed - Driver not connected Feb 17 19:51:14 upsmon 32053 Poll UPS [SMART1500RMXLN] failed - Driver not connected Feb 17 19:51:09 upsmon 32053 Poll UPS [SMART1500RMXLN] failed - Driver not connected Feb 17 19:51:04 upsmon 32053 Poll UPS [SMART1500RMXLN] failed - Driver not connected Feb 17 19:50:59 upsmon 32053 Poll UPS [SMART1500RMXLN] failed - Driver not connected Feb 17 19:50:59 kernel uhid0: detached Feb 17 19:50:59 kernel uhid0: at uhub0, port 4, addr 18 (disconnected) Feb 17 19:50:59 kernel ugen0.2: <Tripp Lite TRIPP LITE SMART1500RMXLN> at usbus0 (disconnected) Feb 17 19:50:58 kernel uhid0: <Tripp Lite TRIPP LITE SMART1500RMXLN, class 0/0, rev 1.10/2.0a, addr 18> on usbus0 Feb 17 19:50:58 kernel uhid0 on uhub0 Feb 17 19:50:58 kernel ugen0.2: <Tripp Lite TRIPP LITE SMART1500RMXLN> at usbus0 Feb 17 19:50:58 kernel uhid0: detached Feb 17 19:50:58 kernel uhid0: at uhub0, port 4, addr 17 (disconnected) Feb 17 19:50:58 kernel ugen0.2: <Tripp Lite TRIPP LITE SMART1500RMXLN> at usbus0 (disconnected) Feb 17 19:50:54 upsmon 32053 Poll UPS [SMART1500RMXLN] failed - Driver not connected Feb 17 19:50:49 upsmon 32053 Poll UPS [SMART1500RMXLN] failed - Driver not connected Feb 17 19:50:44 upsmon 32053 Poll UPS [SMART1500RMXLN] failed - Driver not connected Feb 17 19:50:43 kernel uhid0: <Tripp Lite TRIPP LITE SMART1500RMXLN, class 0/0, rev 1.10/2.0a, addr 17> on usbus0 Feb 17 19:50:43 kernel uhid0 on uhub0 Feb 17 19:50:43 kernel ugen0.2: <Tripp Lite TRIPP LITE SMART1500RMXLN> at usbus0 Feb 17 19:50:43 kernel uhid0: detached Feb 17 19:50:43 kernel uhid0: at uhub0, port 4, addr 16 (disconnected) Feb 17 19:50:43 kernel ugen0.2: <Tripp Lite TRIPP LITE SMART1500RMXLN> at usbus0 (disconnected) Feb 17 19:50:39 upsmon 32053 Poll UPS [SMART1500RMXLN] failed - Driver not connected Feb 17 19:50:33 upsmon 32053 Poll UPS [SMART1500RMXLN] failed - Driver not connected Feb 17 19:50:28 upsmon 32053 Poll UPS [SMART1500RMXLN] failed - Driver not connected Feb 17 19:50:28 kernel uhid0: <Tripp Lite TRIPP LITE SMART1500RMXLN, class 0/0, rev 1.10/2.0a, addr 16> on usbus0 Feb 17 19:50:28 kernel uhid0 on uhub0 Feb 17 19:50:28 kernel ugen0.2: <Tripp Lite TRIPP LITE SMART1500RMXLN> at usbus0 Feb 17 19:50:28 kernel uhid0: detached Feb 17 19:50:28 kernel uhid0: at uhub0, port 4, addr 15 (disconnected) Feb 17 19:50:28 kernel ugen0.2: <Tripp Lite TRIPP LITE SMART1500RMXLN> at usbus0 (disconnected) Feb 17 19:50:23 upsmon 32053 Poll UPS [SMART1500RMXLN] failed - Driver not connected Feb 17 19:50:18 upsmon 32053 Poll UPS [SMART1500RMXLN] failed - Driver not connected Feb 17 19:50:13 kernel uhid0: <Tripp Lite TRIPP LITE SMART1500RMXLN, class 0/0, rev 1.10/2.0a, addr 15> on usbus0 Feb 17 19:50:13 kernel on uhub0 Feb 17 19:50:13 kernel uhid0 Feb 17 19:50:13 upsmon 32053 Poll UPS [SMART1500RMXLN] failed - Driver not connected Feb 17 19:50:13 kernel ugen0.2: <Tripp Lite TRIPP LITE SMART1500RMXLN> at usbus0 Feb 17 19:50:13 kernel uhid0: detached Feb 17 19:50:13 kernel uhid0: at uhub0, port 4, addr 14 (disconnected) Feb 17 19:50:13 kernel ugen0.2: <Tripp Lite TRIPP LITE SMART1500RMXLN> at usbus0 (disconnected) Feb 17 19:50:08 upsmon 32053 Poll UPS [SMART1500RMXLN] failed - Driver not connected Feb 17 19:50:03 upsmon 32053 Poll UPS [SMART1500RMXLN] failed - Driver not connected Feb 17 19:49:58 kernel uhid0: <Tripp Lite TRIPP LITE SMART1500RMXLN, class 0/0, rev 1.10/2.0a, addr 14> on usbus0 Feb 17 19:49:58 kernel uhid0 on uhub0 Feb 17 19:49:58 kernel ugen0.2: <Tripp Lite TRIPP LITE SMART1500RMXLN> at usbus0 Feb 17 19:49:58 upsmon 32053 Poll UPS [SMART1500RMXLN] failed - Driver not connected Feb 17 19:49:58 kernel uhid0: detached Feb 17 19:49:58 kernel uhid0: at uhub0, port 4, addr 13 (disconnected) Feb 17 19:49:58 kernel ugen0.2: <Tripp Lite TRIPP LITE SMART1500RMXLN> at usbus0 (disconnected) Feb 17 19:49:53 upsmon 32053 Poll UPS [SMART1500RMXLN] failed - Driver not connected Feb 17 19:49:48 upsmon 32053 Poll UPS [SMART1500RMXLN] failed - Driver not connected Feb 17 19:49:44 kernel uhid0: <Tripp Lite TRIPP LITE SMART1500RMXLN, class 0/0, rev 1.10/2.0a, addr 13> on usbus0 Feb 17 19:49:44 kernel uhid0 on uhub0 Feb 17 19:49:43 kernel ugen0.2: <Tripp Lite TRIPP LITE SMART1500RMXLN> at usbus0 Feb 17 19:49:43 upsmon 32053 Poll UPS [SMART1500RMXLN] failed - Driver not connected Feb 17 19:49:43 kernel uhid0: detached Feb 17 19:49:43 kernel uhid0: at uhub0, port 4, addr 12 (disconnected) Feb 17 19:49:43 kernel ugen0.2: <Tripp Lite TRIPP LITE SMART1500RMXLN> at usbus0 (disconnected) Feb 17 19:49:38 upsmon 32053 Poll UPS [SMART1500RMXLN] failed - Driver not connected Feb 17 19:49:33 upsmon 32053 Poll UPS [SMART1500RMXLN] failed - Driver not connected Feb 17 19:49:28 kernel uhid0: <Tripp Lite TRIPP LITE SMART1500RMXLN, class 0/0, rev 1.10/2.0a, addr 12> on usbus0 Feb 17 19:49:28 kernel uhid0 on uhub0 Feb 17 19:49:28 kernel ugen0.2: <Tripp Lite TRIPP LITE SMART1500RMXLN> at usbus0 Feb 17 19:49:28 upsmon 32053 Poll UPS [SMART1500RMXLN] failed - Driver not connected Feb 17 19:49:28 kernel uhid0: detached Feb 17 19:49:28 kernel uhid0: at uhub0, port 4, addr 11 (disconnected) Feb 17 19:49:28 kernel ugen0.2: <Tripp Lite TRIPP LITE SMART1500RMXLN> at usbus0 (disconnected) Feb 17 19:49:23 upsmon 32053 Poll UPS [SMART1500RMXLN] failed - Driver not connected Feb 17 19:49:18 upsmon 32053 Poll UPS [SMART1500RMXLN] failed - Driver not connected Feb 17 19:49:14 kernel uhid0: <Tripp Lite TRIPP LITE SMART1500RMXLN, class 0/0, rev 1.10/2.0a, addr 11> on usbus0 Feb 17 19:49:14 kernel uhid0 on uhub0 Feb 17 19:49:13 kernel ugen0.2: <Tripp Lite TRIPP LITE SMART1500RMXLN> at usbus0 Feb 17 19:49:13 upsmon 32053 Poll UPS [SMART1500RMXLN] failed - Driver not connected Feb 17 19:49:13 kernel uhid0: detached Feb 17 19:49:13 kernel uhid0: at uhub0, port 4, addr 10 (disconnected) Feb 17 19:49:13 kernel ugen0.2: <Tripp Lite TRIPP LITE SMART1500RMXLN> at usbus0 (disconnected) Feb 17 19:49:08 upsmon 32053 Poll UPS [SMART1500RMXLN] failed - Driver not connected Feb 17 19:49:03 upsmon 32053 Poll UPS [SMART1500RMXLN] failed - Driver not connected Feb 17 19:48:59 kernel uhid0: <Tripp Lite TRIPP LITE SMART1500RMXLN, class 0/0, rev 1.10/2.0a, addr 10> on usbus0 Feb 17 19:48:59 kernel uhid0 on uhub0 Feb 17 19:48:59 kernel ugen0.2: <Tripp Lite TRIPP LITE SMART1500RMXLN> at usbus0 Feb 17 19:48:58 upsmon 32053 UPS SMART1500RMXLN is unavailable Feb 17 19:48:58 upsmon 32053 Poll UPS [SMART1500RMXLN] failed - Driver not connected Feb 17 19:48:58 upsd 33565 User local-monitor@::1 logged into UPS [SMART1500RMXLN] Feb 17 19:48:58 kernel uhid0: detached Feb 17 19:48:58 kernel uhid0: at uhub0, port 4, addr 9 (disconnected) Feb 17 19:48:58 kernel ugen0.2: <Tripp Lite TRIPP LITE SMART1500RMXLN> at usbus0 (disconnected) Feb 17 19:48:54 upsd 33565 Startup successful Feb 17 19:48:54 upsd 33565 Can't connect to UPS [SMART1500RMXLN] (usbhid-ups-SMART1500RMXLN): No such file or directory Feb 17 19:48:54 upsd 33565 listening on 127.0.0.1 port 3493 Feb 17 19:48:54 upsd 33565 listening on ::1 port 3493 Feb 17 19:48:53 upsmon 32053 Communications with UPS SMART1500RMXLN lost Feb 17 19:48:53 upsmon 32053 UPS [SMART1500RMXLN]: connect failed: Connection failure: Connection refused Feb 17 19:48:53 upsmon 32053 Startup successful Feb 17 19:48:53 php-fpm 366 /nut_settings.php: Starting service nut Feb 17 19:48:53 check_reload_status 396 Syncing firewall Feb 17 19:48:53 php-fpm 366 /nut_settings.php: Configuration Change: DSIMS@192.168.200.241 (Local Database): Updated UPS settings Feb 17 19:48:44 kernel uhid0: <Tripp Lite TRIPP LITE SMART1500RMXLN, class 0/0, rev 1.10/2.0a, addr 9> on usbus0 Feb 17 19:48:44 kernel uhid0 on uhub0 Feb 17 19:48:43 kernel ugen0.2: <Tripp Lite TRIPP LITE SMART1500RMXLN> at usbus0 Feb 17 19:48:43 kernel uhid0: detached Feb 17 19:48:43 kernel uhid0: at uhub0, port 4, addr 8 (disconnected) Feb 17 19:48:43 kernel ugen0.2: <Tripp Lite TRIPP LITE SMART1500RMXLN> at usbus0 (disconnected) Feb 17 19:48:29 kernel uhid0: <Tripp Lite TRIPP LITE SMART1500RMXLN, class 0/0, rev 1.10/2.0a, addr 8> on usbus0 Feb 17 19:48:29 kernel uhid0 on uhub0 Feb 17 19:48:29 kernel ugen0.2: <Tripp Lite TRIPP LITE SMART1500RMXLN> at usbus0 Feb 17 19:48:28 kernel uhid0: detached Feb 17 19:48:28 kernel uhid0: at uhub0, port 4, addr 7 (disconnected) Feb 17 19:48:28 kernel ugen0.2: <Tripp Lite TRIPP LITE SMART1500RMXLN> at usbus0 (disconnected) Feb 17 19:48:14 kernel uhid0: <Tripp Lite TRIPP LITE SMART1500RMXLN, class 0/0, rev 1.10/2.0a, addr 7> on usbus0 Feb 17 19:48:14 kernel uhid0 on uhub0 Feb 17 19:48:14 kernel ugen0.2: <Tripp Lite TRIPP LITE SMART1500RMXLN> at usbus0 Feb 17 19:48:13 kernel uhid0: detached Feb 17 19:48:13 kernel uhid0: at uhub0, port 4, addr 6 (disconnected) Feb 17 19:48:13 kernel ugen0.2: <Tripp Lite TRIPP LITE SMART1500RMXLN> at usbus0 (disconnected) Feb 17 19:47:59 kernel uhid0: <Tripp Lite TRIPP LITE SMART1500RMXLN, class 0/0, rev 1.10/2.0a, addr 6> on usbus0 Feb 17 19:47:59 kernel uhid0 on uhub0 Feb 17 19:47:59 kernel ugen0.2: <Tripp Lite TRIPP LITE SMART1500RMXLN> at usbus0 Feb 17 19:47:58 kernel uhid0: detached Feb 17 19:47:58 kernel uhid0: at uhub0, port 4, addr 5 (disconnected) Feb 17 19:47:58 kernel ugen0.2: <Tripp Lite TRIPP LITE SMART1500RMXLN> at usbus0 (disconnected) Feb 17 19:47:44 kernel uhid0: <Tripp Lite TRIPP LITE SMART1500RMXLN, class 0/0, rev 1.10/2.0a, addr 5> on usbus0 Feb 17 19:47:44 kernel uhid0 on uhub0 Feb 17 19:47:44 kernel ugen0.2: <Tripp Lite TRIPP LITE SMART1500RMXLN> at usbus0 Feb 17 19:47:43 kernel uhid0: detached Feb 17 19:47:43 kernel uhid0: at uhub0, port 4, addr 4 (disconnected) Feb 17 19:47:43 kernel ugen0.2: <Tripp Lite TRIPP LITE SMART1500RMXLN> at usbus0 (disconnected) Feb 17 19:47:29 kernel uhid0: <Tripp Lite TRIPP LITE SMART1500RMXLN, class 0/0, rev 1.10/2.0a, addr 4> on usbus0 Feb 17 19:47:29 kernel uhid0 on uhub0 Feb 17 19:47:29 kernel ugen0.2: <Tripp Lite TRIPP LITE SMART1500RMXLN> at usbus0 Feb 17 19:47:28 kernel uhid0: detached Feb 17 19:47:28 kernel uhid0: at uhub0, port 4, addr 3 (disconnected) Feb 17 19:47:28 kernel ugen0.2: <Tripp Lite TRIPP LITE SMART1500RMXLN> at usbus0 (disconnected) Feb 17 19:47:14 kernel uhid0: <Tripp Lite TRIPP LITE SMART1500RMXLN, class 0/0, rev 1.10/2.0a, addr 3> on usbus0 Feb 17 19:47:14 kernel uhid0 on uhub0 Feb 17 19:47:14 kernel ugen0.2: <Tripp Lite TRIPP LITE SMART1500RMXLN> at usbus0 Feb 17 19:47:13 kernel uhid0: detached Feb 17 19:47:13 kernel uhid0: at uhub0, port 4, addr 2 (disconnected) Feb 17 19:47:13 kernel ugen0.2: <Tripp Lite TRIPP LITE SMART1500RMXLN> at usbus0 (disconnected) Feb 17 19:46:59 kernel uhid0: <Tripp Lite TRIPP LITE SMART1500RMXLN, class 0/0, rev 1.10/2.0a, addr 2> on usbus0 Feb 17 19:46:59 kernel uhid0 on uhub0 Feb 17 19:46:59 kernel ugen0.2: <Tripp Lite TRIPP LITE SMART1500RMXLN> at usbus0 Feb 17 19:46:58 kernel uhid0: detached Feb 17 19:46:58 kernel uhid0: at uhub0, port 4, addr 1 (disconnected) Feb 17 19:46:58 kernel ugen0.2: <Tripp Lite TRIPP LITE SMART1500RMXLN> at usbus0 (disconnected) Feb 17 19:46:44 kernel uhid0: <Tripp Lite TRIPP LITE SMART1500RMXLN, class 0/0, rev 1.10/2.0a, addr 1> on usbus0 Feb 17 19:46:44 kernel uhid0 on uhub0 Feb 17 19:46:44 kernel ugen0.2: <Tripp Lite TRIPP LITE SMART1500RMXLN> at usbus0 Feb 17 19:42:49 nginx 2023/02/17 19:42:49 [error] 48385#100290: send() failed (54: Connection reset by peer) Feb 17 19:42:49 php-fpm 366 /index.php: Successful login for user 'XXXX' from: 192.168.200.241 (Local Database) Feb 17 19:42:14 sshguard 47351 Now monitoring attacks. Feb 17 19:42:14 login 44043 login on ttyv0 as root Feb 17 19:42:14 login 45396 login on ttyu0 as root Feb 17 19:42:13 php_pfb 75042 [pfBlockerNG] filterlog daemon started Feb 17 19:42:13 php_pfb 73949 [pfBlockerNG] filterlog daemon started Feb 17 19:42:13 root 79754 Bootup complete
-
@azdeltawye So for a couple of minutes, 19:46:44 to 19:48:44, the ups disconnects and reconnects from the USB bus 8 times without any other interaction. Not something to do with nut itself.
Potential causes:
- bad UPS
- bad cable
- bad usb chip
- bug in usb driver
Odds heavily favor the first two potential causes. I generally discount the third option as the 5100 is a pretty tried and true solution. Could be a (new) bug in the usb driver--if a bunch of other folks show up with the same problem that will be indicative.
There are two usb hubs in the 5100, but I don't remember if both ports on the front go to one hub or they are split. Try both for sure--you should be able tell if they are different by looking at the output of usbconfig when the device is connected.
Try using a hub, and try both ports. Try a different cable. Btw, is the cable one of the modular rj ones? Or a regular usb-a / usb-a one?
-
Yeah, I guess it could be a bad UPS. It is a pretty old unit. However I find it too coincidental that this failure occurred at the same exact time as the upgrade to 23.01...
I did try a brand new USB cable (usb-a / usb-b) and no change. Then I made the dumb mistake of plugging in a USB hub into the 5100 which took down the 5100. I had to cycle power to the 5100 to reboot. Fortunately I'm using ZFS, so it recovered and rebooted without any file corruption issues.
I guess I'll just have to figure out how to use snmp for NUT instead of USB...
Thanks again for all the help on this.
-
@azdeltawye why don't you try nut on a pc with windows or linux, to see if it works properly ;-)
-
@dennypage I can code in C++ just a small amount I took an intro course. I am more fluent in Java and Python. Do you need some code looked at? I am currently a computer science student at Sacramento State University, and I would love to look at this. I currently have jGRASP as an IDE so it can read many different languages. Just tell me the lines you want looked at, and where to find the source code. Plus check out my Java based dynamic database program I wrote the code for it when I was a Java tutor, it is an inventory database of all my son's Hotwheels.
(Image: Dynamic Database)
(Image: Card Game)I also created a blackjack game to share with students. Yet me know if you want some code checked out for that pointer issue.
-
@azdeltawye said in NUT package:
Then I made the dumb mistake of plugging in a USB hub into the 5100 which took down the 5100. I had to cycle power to the 5100 to reboot.
This is a bad sign. Plugging in a usb hub should not take down the 5100. That would indicate either a hardware or an OS issue. If it's reproducible, I would open a ticket with Netgate for assistance.
-
Well guys after the update i have also problems with nut. Using 22.05 is working fine.
Feb 18 21:39:44 upsmon 97925 Poll UPS [APC] failed - Driver not connected Feb 18 21:39:39 upsmon 97925 Poll UPS [APC] failed - Driver not connected Feb 18 21:39:34 upsd 8568 User wingoz@192.168.2.2 logged into UPS [APC] Feb 18 21:39:33 upsmon 97925 UPS APC is unavailable Feb 18 21:39:33 upsmon 97925 Poll UPS [APC] failed - Driver not connected Feb 18 21:39:33 upsd 8568 User local-monitor@127.0.0.1 logged into UPS [APC] Feb 18 21:39:29 upsd 8568 Startup successful Feb 18 21:39:29 upsd 8568 Can't connect to UPS [APC] (usbhid-ups-APC): No such file or directory Feb 18 21:39:29 upsd 8568 listening on 127.0.0.1 port 3493 Feb 18 21:39:29 upsd 8568 listening on ::1 port 3493 Feb 18 21:39:29 upsd 8568 listening on 192.168.2.1 port 3493
-
@lcbbcl Output from upsmon and upsd can be ignored.
The output from usbhid-ups and kernel (usb) is what you are looking for.
-
@dennypage
I have only this with kernelFeb 18 22:39:29 kernel uhid0: <American Power Conversion Smart-UPS C 1000 FW:UPS 12.0 / ID1005, class 0/0, rev 2.00/1.06, addr 1> on usbus0 Feb 18 22:39:29 kernel uhid0 on uhub0 Feb 18 22:39:29 kernel ugen0.2: <American Power Conversion Smart-UPS C 1000 FW:UPS 12.0 / ID1005> at usbus0 Feb 18 22:39:29 kernel uhub0: 20 ports with 20 removable, self powered Feb 18 22:39:29 kernel Root mount waiting for: usbus0 CAM Feb 18 22:39:29 kernel uhub0: <Intel XHCI root HUB, class 9/0, rev 3.00/1.00, addr 1> on usbus0 Feb 18 22:39:29 kernel uhub0 on usbus0 Feb 18 22:39:29 kernel ugen0.1: <Intel XHCI root HUB> at usbus0