[Nut-upsuser] nut-server service fails to start at boot
Manuel Wolfshant
wolfy at nobugconsulting.ro
Sun Oct 22 13:41:19 UTC 2017
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 at 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 at 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" ?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/nut-upsuser/attachments/20171022/789431c4/attachment.html>
More information about the Nut-upsuser
mailing list