[Nut-upsuser] safenet on debian etch
Kjell Claesson
kjell.claesson at telia.com
Mon Jul 24 12:33:10 UTC 2006
mån 2006-07-24 klockan 15:06 +0300 skrev Omry Yadan:
> Hi List,
>
Hi Omry,
> I just got myself a new everpower-1000va.
>
> according to the compatibility list, the 'safenet' driver supposed to
> support it,
>
> however, when I try, I get this in syslog:
>
>
> Jul 24 15:05:22 tv upsd[26458]: Can't connect to UPS [everpower1000]
> (safenet-ttyS1): No such file or directory
>
As you can see, it is the upsd that need to connect. Check that you have
the /var/state/ups dirrectory, and that it is writable by the user you
run nut as.
What upsd is looking for is the socket named safenet-ttyS1. This
should be created in /var/state/ups.
This is how it looks on my computer running bcmxcp-usb driver.
ls -al /var/state/ups/
totalt 8
drwxrwx--- 2 nut nut 144 24 jul 08.39 .
drwxr-xr-x 3 root root 96 23 feb 15.52 ..
srw-rw---- 1 nut nut 0 24 jul 08.39 bcmxcp_usb-auto
-rw-r--r-- 1 nut nut 5 24 jul 08.39 bcmxcp_usb-auto.pid
-rw-r--r-- 1 nut nut 5 24 jul 08.39 upsd.pid
>
> this is my ups.conf:
>
>
> [everpower1000]
> driver = safenet
> port = /dev/ttyS1
> desc = "firefang.net"
>
Ok.
Regards
Kjell
More information about the Nut-upsuser
mailing list