On 10/22/2017 09:39 AM, Daniel Shields wrote:

Hello,

     I have a Raspberry Pi model B running Raspbian Stretch.  I have installed version 2.7.4-5 of nut from the raspbian repos.  I have a CyberPower 1500PFCLCD UPS. When I reboot the Pi, the nut-server service fails to start.

root@nut:~# service nut-server status

● nut-server.service - Network UPS Tools - power devices information server

   Loaded: loaded (/lib/systemd/system/nut-server.service; enabled; vendor preset: enabled)

   Active: failed (Result: exit-code) since Sun 2017-10-22 05:57:37 UTC; 5min ago

  Process: 341 ExecStart=/sbin/upsd (code=exited, status=1/FAILURE)

Oct 22 05:57:37 nut.tklapp.com upsd[341]: fopen /var/run/nut/upsd.pid: No such file or directory

Oct 22 05:57:37 nut.tklapp.com upsd[341]: not listening on 192.168.213.189 port 3493

Oct 22 05:57:37 nut.tklapp.com upsd[341]: not listening on 192.168.213.189 port 3493

Oct 22 05:57:37 nut.tklapp.com upsd[341]: listening on 127.0.0.1 port 3493

Oct 22 05:57:37 nut.tklapp.com upsd[341]: no listening interface available

Oct 22 05:57:37 nut.tklapp.com upsd[341]: Network UPS Tools upsd 2.7.4

Oct 22 05:57:37 nut.tklapp.com systemd[1]: nut-server.service: Control process exited, code=exited status=1

Oct 22 05:57:37 nut.tklapp.com systemd[1]: Failed to start Network UPS Tools - power devices information server.

Oct 22 05:57:37 nut.tklapp.com systemd[1]: nut-server.service: Unit entered failed state.

Oct 22 05:57:37 nut.tklapp.com systemd[1]: nut-server.service: Failed with result 'exit-code'.

root@nut:~#

I have looked through the syslogs, but have not been able to find anything obvious.

I have attached an excerpt from the syslog from when the server is rebooted and the nut-server service fails.  Any help or advice is greatly appreciated.  Thanks!


Can you please try replacing "after=network.target" with "after=network-online.target" ?
_______________________________________________
Nut-upsuser mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/nut-upsuser

Reply via email to