Netgate SG-1000 microFirewall

Author Topic: NUT loses connectivity to UPS when WAN goes down. (2.3.1)  (Read 656 times)

0 Members and 1 Guest are viewing this topic.

Offline cciechad

  • Newbie
  • *
  • Posts: 16
  • Karma: +0/-0
    • View Profile
NUT loses connectivity to UPS when WAN goes down. (2.3.1)
« on: June 28, 2016, 11:38:09 pm »
I've noticed strangely that if the WAN goes down or if I apply any change to the WAN interface I get these logs.

Jun 29 00:13:50 chadhome upsmon[85937]: Poll UPS [900AVR@localhost] failed - Driver not connected
Jun 29 00:13:50 chadhome upsmon[85937]: UPS 900AVR@localhost is unavailable
Jun 29 00:13:51 chadhome usbhid-ups[1309]: Startup successful
Jun 29 00:13:52 chadhome upsd[85168]: Connected to UPS [900AVR]: usbhid-ups-900AVR
Jun 29 00:13:55 chadhome upsmon[85937]: Communications with UPS 900AVR@localhost established
Jun 29 00:31:06 chadhome upsmon[85937]: Signal 15: exiting
Jun 29 00:31:06 chadhome upsd[85168]: User monuser@127.0.0.1 logged out from UPS [900AVR]
Jun 29 00:31:06 chadhome upsd[85168]: mainloop: Interrupted system call
Jun 29 00:31:06 chadhome upsd[85168]: Signal 15: exiting
Jun 29 00:31:06 chadhome usbhid-ups[1309]: Signal 15: exiting
Jun 29 00:31:08 chadhome usbhid-ups[98333]: Startup successful
Jun 29 00:31:08 chadhome usbhid-ups[98333]: Signal 15: exiting
Jun 29 00:31:08 chadhome upsd[98600]: listening on ::1 port 3493
Jun 29 00:31:08 chadhome upsd[98600]: listening on 127.0.0.1 port 3493
Jun 29 00:31:08 chadhome upsd[98600]: Can't connect to UPS [900AVR] (usbhid-ups-900AVR): No such file or directory
Jun 29 00:31:08 chadhome upsd[98758]: Startup successful
Jun 29 00:31:08 chadhome upsmon[98943]: Startup successful
Jun 29 00:31:08 chadhome upsd[98758]: User monuser@127.0.0.1 logged into UPS [900AVR]
Jun 29 00:31:08 chadhome upsmon[99002]: Poll UPS [900AVR@localhost] failed - Driver not connected
Jun 29 00:31:08 chadhome upsmon[99002]: Communications with UPS 900AVR@localhost lost
Jun 29 00:31:13 chadhome upsmon[99002]: Poll UPS [900AVR@localhost] failed - Driver not connected
Jun 29 00:31:13 chadhome upsmon[99002]: UPS 900AVR@localhost is unavailable
Jun 29 00:31:13 chadhome usbhid-ups[1842]: Startup successful
Jun 29 00:31:15 chadhome upsd[98758]: Connected to UPS [900AVR]: usbhid-ups-900AVR
Jun 29 00:31:18 chadhome upsmon[99002]: Communications with UPS 900AVR@localhost established

I'm not getting how the UPS connected via USB is affected via the status or config of the WAN interface. Any ideas?

Offline spyke562

  • Newbie
  • *
  • Posts: 3
  • Karma: +0/-0
    • View Profile
Re: NUT loses connectivity to UPS when WAN goes down. (2.3.1)
« Reply #1 on: August 11, 2016, 08:18:07 pm »
Hi cciechad,

I just posted a question here (https://forum.pfsense.org/index.php?topic=116737.msg646992#msg646992) regarding using pfSense and NUT and was wondering if you could help me out?

First, sorry I don't an answer to your question.

I was wondering if I could use a UPS (CyberPower) and connect it to both an ESXi box and my pfSense box to auto shutdown during power outage?  Does the pfSence box and NUT require USB connection for UPS auto shutdown or can it do it via network?

Thanks for any info,
Ian...

Offline dennypage

  • Hero Member
  • *****
  • Posts: 715
  • Karma: +136/-0
    • View Profile
Re: NUT loses connectivity to UPS when WAN goes down. (2.3.1)
« Reply #2 on: August 11, 2016, 10:48:46 pm »
I'm not getting how the UPS connected via USB is affected via the status or config of the WAN interface. Any ideas?

It is normal for packages to be restarted when interfaces are restarted. Nothing to worry about.