[arch-general] nut UPS driver (upsdrvctl) fails to start for usbhid devices due to node perms - howto fix?

David C. Rankin drankinatty at suddenlinkmail.com
Mon Dec 16 22:33:33 EST 2013


On 12/14/2013 03:16 PM, David C. Rankin wrote:

Disregard the previous information in this thread. Here is the new information:

  After upgrade to kernel 3.12.5-1 and glic 2.18-11, network-ups-tools (upsd)
fails to start giving the error:

getaddrinfo: Servname not supported for

  I had spent the last couple of days working with nut, so I was very familiar
with how it was starting on this box. Literally, nothing else changed, it looks
the update killed it. Here is the journalctl log per/post reboot for kernel
update when glibc was updated:

Dec 14 14:02:00 phoinix systemd[1]: Starting Network UPS Tools - power devices
information server...
Dec 14 14:02:00 phoinix upsd[32616]: fopen /var/state/ups/upsd.pid: No such file
or directory
Dec 14 14:02:00 phoinix upsd[32616]: listening on 192.168.7.16 port 3493
Dec 14 14:02:00 phoinix upsd[32616]: listening on ::1 port 3493
Dec 14 14:02:00 phoinix upsd[32616]: listening on 127.0.0.1 port 3493
Dec 14 14:02:00 phoinix upsd[32616]: listening on 192.168.7.16 port 3493
Dec 14 14:02:00 phoinix upsd[32616]: listening on ::1 port 3493
Dec 14 14:02:00 phoinix upsd[32616]: listening on 127.0.0.1 port 3493
Dec 14 14:02:00 phoinix upsd[32617]: Startup successful
Dec 14 14:02:00 phoinix systemd[1]: Started Network UPS Tools - power devices
information server.
Dec 16 14:05:26 phoinix systemd[1]: Stopping Network UPS Tools - power devices
information server...
Dec 16 14:05:26 phoinix upsd[21265]: Network UPS Tools upsd 2.7.1-signed-9-g6fb35b3
Dec 16 14:05:26 phoinix systemd[1]: Stopped Network UPS Tools - power devices
information server.
-- Reboot --
Dec 16 14:05:16 phoinix systemd[1]: Starting Network UPS Tools - power devices
information server...
Dec 16 14:05:16 phoinix upsd[369]: fopen /var/state/ups/upsd.pid: No such file
or directory
Dec 16 14:05:16 phoinix upsd[369]: getaddrinfo: Servname not supported for
ai_socktype
Dec 16 14:05:16 phoinix upsd[369]: Network UPS Tools upsd 2.7.1-signed-9-g6fb35b3
Dec 16 14:05:16 phoinix systemd[1]: nut-server.service: control process exited,
code=exited status=1
Dec 16 14:05:16 phoinix systemd[1]: Failed to start Network UPS Tools - power
devices information server.
Dec 16 14:05:16 phoinix systemd[1]: Unit nut-server.service entered failed state.

  Is this a glibc issue or a nut issue?

  Sorry for continuing this in the same thread, but I could not create a new
thread because:

Posting of your message titled "nut UPS (upsd) fails to start after kernel
upgrade (3.12.5-1) error: getaddinfo"

has been rejected by the list moderator. The moderator gave the following reason
for rejecting your request:

"Stop creating brand new threads for discussing related issues. Cheers. --Gaetan"

So if you think this should be in a new thread and not here -- talk to Gaetan.

-- 
David C. Rankin, J.D.,P.E.


More information about the arch-general mailing list