# uname -a
Linux pavka 2.6.32-5-686 #1 SMP Tue Jun 1 04:59:47 UTC 2010 i686 GNU/Linux
упсник back ups es 525
установил пакет apcupsd
подправил конфиг , как мне надо
делаю apctest
Код: Выделить всё
2010-06-26 17:53:04 apctest 3.14.8 (16 January 2010) debian
Checking configuration ...
Attached to driver: usb
sharenet.type = DISABLE
cable.type = USB_CABLE
You are using a USB cable type, so I'm entering USB test mode
mode.type = USB_UPS
Setting up the port ...
Hello, this is the apcupsd Cable Test program.
This part of apctest is for testing USB UPSes.
Getting UPS capabilities...SUCCESS
и далее по текступотом решил выполнить # /etc/init.d/apcupsd restart
выдало ошибку >>
Please check your configuration ISCONFIGURED in /etc/default/apcupsd
погуглил нашел причину в файле прописал
/etc/init.d/apcupsd
CONFIG=/etc/apcupsd/apcupsd.conf
снова пытаюсь выполнить # /etc/init.d/apcupsd restart
пишет
/etc/apcupsd/apcupsd.conf: 29: UPSCABLE: not found
в файле все есть
# cat apcupsd.conf | grep 'UPSCA'
# UPSCABLE <cable>
UPSCABLE usb << та самая 29 строка на которую ругается