David C. Rankin
2013-Dec-16 21:19 UTC
[Nut-upsdev] kernel update to 3.12.5-1, now: upsd[617]: getaddrinfo: Servname not supported for ai_socktype
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.
Charles Lepple
2013-Dec-17 02:01 UTC
[Nut-upsdev] kernel update to 3.12.5-1, now: upsd[617]: getaddrinfo: Servname not supported for ai_socktype
On Dec 16, 2013, at 4:19 PM, David C. Rankin wrote:> Dec 16 14:05:16 phoinix upsd[369]: getaddrinfo: Servname not supported for > ai_socktype[...]> 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?getaddrinfo(3) is a libc function - is it possible that libc was updated as well? I am not seeing many references to the kernel when googling for that error message, but there was this about glib 2.18: http://sourceware.org/ml/libc-help/2013-08/msg00023.html -- Charles Lepple clepple at gmail
David C. Rankin
2013-Dec-17 03:11 UTC
[Nut-upsdev] kernel update to 3.12.5-1, now: upsd[617]: getaddrinfo: Servname not supported for ai_socktype
On 12/16/2013 08:01 PM, Charles Lepple wrote:> On Dec 16, 2013, at 4:19 PM, David C. Rankin wrote: > >> > Dec 16 14:05:16 phoinix upsd[369]: getaddrinfo: Servname not supported for >> > ai_socktype > [...] >> > 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? > getaddrinfo(3) is a libc function - is it possible that libc was updated as well? > > I am not seeing many references to the kernel when googling for that error message, but there was this about glib 2.18: > > http://sourceware.org/ml/libc-help/2013-08/msg00023.htmlCrap! You are right! [2013-12-16 14:03] [PACMAN] upgraded glibc (2.18-10 -> 2.18-11) How do I fix that other than downgrading? -- David C. Rankin, J.D.,P.E.
Possibly Parallel Threads
- kernel update to 3.12.5-1, now: upsd[617]: getaddrinfo: Servname not supported for ai_socktype
- kernel update to 3.12.5-1, now: upsd[617]: getaddrinfo: Servname not supported for ai_socktype
- kernel update to 3.12.5-1, now: upsd[617]: getaddrinfo: Servname not supported for ai_socktype
- kernel update to 3.12.5-1, now: upsd[617]: getaddrinfo: Servname not supported for ai_socktype
- SOLVED Re: kernel update to 3.12.5-1, now: upsd[617]: getaddrinfo: Servname not supported for ai_socktype