[Nut-upsuser] NUT-Server will not start at boot with Cyberpower PR1500

Paul Newbery newberype at hotmail.co.uk
Sat Mar 7 17:38:07 GMT 2020


Hi Charles,
Thanks for your response. No, I only put 192.168.1.64 as an extra option as I want to allow Slave access from another computer. Otherwise, access will normally only be from localhost. There is only one network interface on this machine.
I will try it out with "LISTEN 0.0.0.0 3493" and see what happens. I must confess I usually run without a firewall as I'm only running a home network, but I suppose I really should start using it!
I will report back.
Paul N.
________________________________
From: Charles Lepple <clepple at gmail.com>
Sent: 07 March 2020 15:50
To: Paul Newbery <newberype at hotmail.co.uk>
Cc: nut-upsuser at alioth-lists.debian.net <nut-upsuser at alioth-lists.debian.net>
Subject: Re: [Nut-upsuser] NUT-Server will not start at boot with Cyberpower PR1500

On Mar 6, 2020, at 2:02 PM, Paul Newbery <newberype at hotmail.co.uk> wrote:
>
> I have since been trying to get them working with the NUT software, which I can do, but I simply cannot get them to start at system start up. It can be seen from the "Syslog Nut Extract" that upsdrvctl successfully loads the driver, but nut-server fails to start and the driver then stops as it is no longer required. However, upsmon continues to load successfully and proceeds to fill up the syslog with error messages.
>
Mar  6 14:05:02 paul-desktop upsd[947]: fopen /var/run/nut/upsd.pid: No such file or directory
Mar  6 14:05:02 paul-desktop upsd[947]: /etc/nut/upsd.conf is world readable
Mar  6 14:05:02 paul-desktop upsd[947]: /etc/nut/upsd.conf is world readable
Mar  6 14:05:02 paul-desktop upsd[947]: not listening on 192.168.1.64 port 3493
Mar  6 14:05:02 paul-desktop upsd[947]: listening on ::1 port 3493
Mar  6 14:05:02 paul-desktop upsd[947]: listening on 127.0.0.1 port 3493
Mar  6 14:05:02 paul-desktop upsd[947]: no listening interface available
Mar  6 14:05:02 paul-desktop upsd[947]: not listening on 192.168.1.64 port 3493

^ At this point, the 192.168.1.64 network interface may not be up. Are you intending to allow NUT to only listen on localhost and one specific network interface? Or is there only one physical network interface total?

If the latter, I recommend "LISTEN 0.0.0.0" to listen on all local addresses. If the former, I would use a firewall that does filtering well before the packets touch NUT code, and that can also block packets destined to other interfaces until the one allowed interface is up.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/nut-upsuser/attachments/20200307/7a14bc6c/attachment.html>


More information about the Nut-upsuser mailing list