Hello,
I want to manage my SMART APC with nut 2.0.3 on Fedora Core 4. But i have this
output at start of my ups:
D?marrage de apcsmart :Network UPS Tools (version 2.0.3) - APC Smart protocol
driver
Driver version 1.99.7, command table version 2.0
Detected Smart-UPS SC1500 [5S0713T66466] on /dev/ttyS0
[ OK ]
D?marrage de upsd :Network UPS Tools upsd 2.0.3
stat /etc/ups/upsd.conf: Permission denied
[?CHOU?]
D?marrage du moniteur (ma?tre) UPS :Network UPS Tools upsmon 2.0.3
UPS: siUps0 at localhost (master) (power value 1)
UPS: siUps1 at localhost (master) (power value 1)
Using power down flag file /etc/killpower
[ OK ]
It seems that my upsd.conf hav'nt the right permissions. What would they be?
Here i put the permissions i have on /etc/ups:
-rw-r----- 1 root nut 3997 d?c 18 10:42 ups.conf
-rw-r----- 1 root nut 3677 mar 28 2007 ups.conf.orig
-rwxrwx--- 1 nut root 1523 d?c 18 11:18 upsd.conf
-rw-r----- 1 root nut 1364 mar 28 2007 upsd.conf.orig
-rw-r----- 1 root nut 2465 d?c 17 16:51 upsd.users
-rw-r----- 1 root nut 11283 d?c 17 16:48 upsmon.conf
-rw-r----- 1 root nut 11131 mar 28 2007 upsmon.orig.conf
-rw-r----- 1 root nut 3884 avr 25 2006 upssched.conf
and i post upsd.conf file:
STATEPATH = /var/nut
ACL all 0.0.0.0/0
ACL localhost 127.0.0.1/32
#ACL localhost 192.168.210.24
ACL lan 192.168.210.0/24
ACCEPT localhost lan
REJECT all
Thank you for all replying me.
--
"Heureux ceux qui sont conscients de leur pauvret? spirituelle." - Mat
5:3(Les
Saintes Ecritures - Traduction du monde nouveau).
----------------------------------------------------------------
Ce message a ??t?? envoy?? depuis le serveur de messagerie de l'Universit??
de
Lom??.
Universit?? de Lom??
BP 1515
Lom?? TOGO.
On Dec 18, 2007 6:55 AM, Edj? <edosseh at ub.tg> wrote:> It seems that my upsd.conf hav'nt the right permissions. What would they be? > Here i put the permissions i have on /etc/ups:It is also possible that the permissions on the /etc/ups directory are too restrictive. (This would be shown in the output of "ls -la /etc/ups".) I can't remember if Fedora includes NUT or not - where was NUT installed from? (e.g. source, RPM from Fedora, some other YUM repository, etc.) -- - Charles Lepple
On Dec 24, 2007 9:31 AM, Edj? <edosseh at ub.tg> wrote:> > Also, what does "upsc siUps1" return? (Some UPSes have an adjustable > > "low battery" threshold.) > That is why it returns: > battery.alarm.threshold: L > battery.charge: 100.0 > battery.charge.restart: 15This probably means that after a power failure, the UPS will wait until the battery is at least 15% charged before turning on the outlets again. This means you do not need the hack mentioned in shutdown.txt under "One more tip".> battery.date: 03/31/07[...]> ups.test.result: NOEven though the battery seems to be less than a year old, I would assume that the test result means you need a new battery. -- - Charles Lepple