Hello everybody,
I've decided to do it the hard way, choosing something else than an APC with USB (that is said to run simply).
I'm nuts (sorry)
According to the doc, My UPS model is 'genericups upstype=16' and is plug on the serial port 0.
So my /etc/ups/ups.conf file looks like (no templates for the test) :
[UPS]
# driver = hidups
driver = genericups upstype=16
# port = /var/lib/ups/hiddev0
port = /dev/ttyS0
And my /etc/sysconfig/ups file sounds like that :
# DEVICE=/var/lib/ups/hiddev0
DEVICE=/dev/ttyS0
#MODEL=hidups
MODEL=genericups upstype=16
OPTIONS=
SERVER=yes
So, when I try :
#service nut start
I've got the 3 [OK], but in /var/log/messages :
Sep 20 20:39:48 test upsmon[5435]: Startup successful
Sep 20 20:39:48 test upsd[5430]: Connection from 127.0.0.1
Sep 20 20:39:48 test upsmon[5436]: Poll UPS [localhost] failed - Data stale
Sep 20 20:39:48 test upsmon[5436]: UPS localhost is unavailable
sep 20 20:39:48 test upsmon: UPS: localhost (slave) (power value 1)
sep 20 20:39:48 test upsmon: Using power down flag file /etc/killpower
sep 20 20:39:48 test upsmon:
sep 20 20:39:48 test nut: Démarrage de upsmon succeeded
Sep 20 20:39:53 test upsmon[5436]: Poll UPS [localhost] failed - Data stale
And, of course, it doesn't works.
A 'service nut stop' command give me an interrresting info :
Can't open /var/lib/ups/genericups-ttyS0.pid: No such file or directory
Is there a simlink to create or something like that ?
Thanks for reading until here,
I hope to find some help.
A+,
RV.