Skip to main content

Thread: APCUPSD - Terminating due to configuration file errors


problem: can’t apcupsd working.
system: ubuntu 10.04 lts (lucid)
apc – xs 1300

symptoms: when running “apcupsd”, system returns “terminating due configuration file errors.”

/etc/apcupsd/apcupsd.conf – changes made/common settings:
#upsname xs1300
upscable usb
upstype usb
device
#polltime 60
upsclass standalone
upsmode disabled

/etc/default/apcupsd – changes made:
isconfigured=yes

“lsusb” shows:
bus 004 device 002: id 051d:0002 american power conversion uninterruptible power supply

"usb-devices" shows:
t: bus=04 lev=01 prnt=01 port=00 cnt=01 dev#= 2 spd=12 mxch= 0
d: ver= 2.00 cls=00(>ifc ) sub=00 prot=00 mxps=64 #cfgs= 1
p: vendor=051d prodid=0002 rev=00.90
s: manufacturer=american power conversion
s: product=back-ups bx1300g fw:864.l5 .d usb fw:l5
s: serialnumber=4b1121p34802
c: #ifs= 1 cfg#= 1 atr=e0 mxpwr=2ma
i: if#= 0 alt= 0 #eps= 1 cls=03(hid ) sub=00 prot=00 driver=usbhid


“ls -l /sys/bus/usb/drivers” shows:
drwxr-xr-x 2 root root 0 2011-09-11 12:59 btusb
drwxr-xr-x 2 root root 0 2011-09-11 13:19 hiddev
drwxr-xr-x 2 root root 0 2011-09-11 12:59 hub
drwxr-xr-x 2 root root 0 2011-09-11 12:59 usb
drwxr-xr-x 2 root root 0 2011-09-11 13:19 usbfs
drwxr-xr-x 2 root root 0 2011-09-11 12:59 usbhid

when unplug/re-plug apc, logs show:
sep 11 13:38:13 tv kernel: [ 2367.415538] usb 4-1: usb disconnect, address 2
sep 11 13:38:27 tv kernel: [ 2381.540090] usb 4-1: new full speed usb device using ohci_hcd , address 4
sep 11 13:38:28 tv kernel: [ 2381.779844] usb 4-1: configuration #1 chosen 1 choice
sep 11 13:38:28 tv kernel: [ 2381.874580] generic-usb 0003:051d:0002.0003: hiddev96,hidraw0: usb hid v1.00 device [american power conversion back-ups bx1300g fw:864.l5 .d usb fw:l5 ] on usb-0000:00:04.0-1/input0

---------------------------
i’m stumped.. assume usb correct cable type (cable usb on pc end, , rj-?? on apc end.

i’ve rebooted, , plugged/un-plugged many times, still same results.

i’m using apcuspd repositories, 3.14.6.

know how working?

10-29- bump??
--------------------
10-29: turns out /etc/apcupsd/apcupsd.conf had:
code:
lockfile /var/lock/apcupsd/apcupsd
when should have been-
code:
lockfile /var/lock



Forum The Ubuntu Forum Community Ubuntu Official Flavours Support Hardware [SOLVED] APCUPSD - Terminating due to configuration file errors


Ubuntu

Comments

Popular posts from this blog

Warning, the Safe Path is not accessible vm3 - Joomla! Forum - community, help and support

uppercase letters in url - Joomla! Forum - community, help and support

Joomla! Update is not offering Joomla 3 - Joomla! Forum - community, help and support