not able to start apcupsd daemon
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
apcupsd (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: apcupsd
Hi all,
I just bought an APC UPS - 800 for my standalone machine and I downloaded apcupsd . If I run cat /proc/bus/
Note:- I had to manually do the mount -t usbdevfs none /proc/bus/usb
Later taking information from http://
I added the line below in /etc/fstab
none /proc/bus/usb usbfs defaults 0 0
then I could see the following
T: Bus=03 Lev=01 Prnt=01 Port=01 Cnt=01 Dev#= 2 Spd=1.5 MxCh= 0
D: Ver= 1.10 Cls=00(>ifc ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1
P: Vendor=051d ProdID=0002 Rev= 1.06
S: Manufacturer=
S: Product=Back-UPS BR 800 FW:9.o4 .I USB FW:o4
S: SerialNumber=
C:* #Ifs= 1 Cfg#= 1 Atr=a0 MxPwr= 24mA
I:* If#= 0 Alt= 0 #EPs= 1 Cls=03(HID ) Sub=00 Prot=00 Driver=usbhid
E: Ad=81(I) Atr=03(Int.) MxPS= 6 Ivl=10ms
dmesg shows the following
shirish@
[ 6.587353] hiddev96hidraw0: USB HID v1.10 Device [American Power Conversion Back-UPS BR 800 FW:9.o4 .I USB FW:o4 ] on usb-0000:00:1d.1-2
Now if I do either /etc/init.d/apcupsd start or /etc/init.d/apcupsd status I get the following errors :-
Scenario a :-
/etc/init.
Starting UPS power management: Terminating due to configuration file errors.
Scenario b:-
/etc/init.d/apcupsd status
Error contacting apcupsd @ localhost:3551: Connection refused
Attaching my /etc/apcupsd/
ProblemType: Bug
Architecture: i386
DistroRelease: Ubuntu 8.10
Package: apcupsd 3.14.4-1
ProcEnviron:
SHELL=/bin/bash
PATH=/
LANG=en_IN
SourcePackage: apcupsd
Uname: Linux 2.6.27-7-generic i686
There is something which is in my /var/log/messages which may be connected or not.
Oct 16 10:27:44 Mugglewille-desktop kernel: [ 268.740457] type=1503 audit(122413306 4.680:5) : operation= "inode_ per mask="r: :" denied_mask="r::" fsuid=7 name="/ proc/5893/ net/" pid=5893 profile= "/usr/sbin/ cupsd" 5.732:6) : operation= "inode_ per mask="r: :" denied_mask="r::" fsuid=7 name="/ proc/5899/ net/" pid=5899 profile= "/usr/sbin/ cupsd" 5.736:7) : operation= "socket_ cr "/usr/sbin/ cupsd" 5.740:8) : operation= "socket_ cr "seqpacket" protocol=0 pid=5899 profile= "/usr/sbin/ cupsd" 5.748:9) : operation= "socket_ cr "/usr/sbin/ cupsd" 5.748:10) : operation="socket_c "/usr/sbin/ cupsd" 5.752:11) : operation="socket_c "/usr/sbin/ cupsd" 5.752:12) : operation="socket_c "/usr/sbin/ cupsd" 5.752:13) : operation="socket_c "/usr/sbin/ cupsd" 5.752:14) : operation="socket_c "seqpacket" protocol=0 pid=5899 profile= "/usr/sbin/ cupsd"
mission" requested_
Oct 16 10:27:45 Mugglewille-desktop kernel: [ 269.794849] type=1503 audit(122413306
mission" requested_
Oct 16 10:27:45 Mugglewille-desktop kernel: [ 269.799997] type=1503 audit(122413306
eate" family="ax25" sock_type="dgram" protocol=0 pid=5899 profile=
Oct 16 10:27:45 Mugglewille-desktop kernel: [ 269.803982] type=1503 audit(122413306
eate" family="netrom" sock_type=
Oct 16 10:27:45 Mugglewille-desktop kernel: [ 269.808110] type=1503 audit(122413306
eate" family="rose" sock_type="dgram" protocol=0 pid=5899 profile=
Oct 16 10:27:45 Mugglewille-desktop kernel: [ 269.811809] type=1503 audit(122413306
reate" family="ipx" sock_type="dgram" protocol=0 pid=5899 profile=
Oct 16 10:27:45 Mugglewille-desktop kernel: [ 269.815455] type=1503 audit(122413306
reate" family="appletalk" sock_type="dgram" protocol=0 pid=5899 profile=
Oct 16 10:27:45 Mugglewille-desktop kernel: [ 269.815480] type=1503 audit(122413306
reate" family="econet" sock_type="dgram" protocol=0 pid=5899 profile=
Oct 16 10:27:45 Mugglewille-desktop kernel: [ 269.815493] type=1503 audit(122413306
reate" family="ash" sock_type="dgram" protocol=0 pid=5899 profile=
Oct 16 10:27:45 Mugglewille-desktop kernel: [ 269.815505] type=1503 audit(122413306
reate" family="x25" sock_type=