[Nut-upsdev] kernel update to 3.12.5-1, now: upsd[617]: getaddrinfo: Servname not supported for ai_socktype

David C. Rankin drankinatty at suddenlinkmail.com
Mon Dec 16 21:19:48 UTC 2013


Charles, All,

  I just updated the kernel on my Arch box (the one we have been working on nut
with on this list). Now upsd fails to start. (upsdrvctl is fine). I've posted
working then -- Reboot -- the failing log information below. The 'Reboot' was
for the kernel upgrade:

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.

  The kernel update was from linux (3.12.1-3 -> 3.12.5-1), I don't see what
could have changed. How do I attempt to further debug/fix this?


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



More information about the Nut-upsdev mailing list