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

Charles Lepple clepple at gmail.com
Wed Dec 18 03:53:27 UTC 2013


On Dec 17, 2013, at 1:08 PM, David C. Rankin wrote:

> On 12/17/2013 10:43 AM, David C. Rankin wrote:
>>  Huh? Why the : in Servname? So I just hardwired it passing the port "Servname"
>> as "3493" (could have just used "nut" from /etc/services):
> 
> Sheepishly looking for a place to hide....
> 
>  Yes there was a ':' there all right. Seems I was hit by a vi error:
> 
> [12:04 phoinix:/etc/ups] # grep 3493 *.conf
> upsd.conf:LISTEN 127.0.0.1 3493
> upsd.conf:LISTEN ::1 3493
> upsd.conf:LISTEN 192.168.7.16 :3493
> 
> GRRR!  I hate it when that happens.

Thanks for taking the time to track this down. It's another thing we need to add to the list of areas that need better debug messages.

-- 
Charles Lepple
clepple at gmail






More information about the Nut-upsdev mailing list