Apcupsd test error (Solved)

david walcroft david_walcroft at yahoo.com.au
Tue Nov 15 22:46:57 UTC 2005


Craig White wrote:
> On Tue, 2005-11-15 at 15:38 +1000, david walcroft wrote:
> 
>>Hi,
>>    I'm getting this error when running apctest in /usr/sbin/,
>>where is apcdevice.c and what is to be done to line 77.
>>
>>2005-11-15 15:29:59 apctest 3.10.18 (21 July 2005) redhat
>>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 ...
>>apctest FATAL ERROR in apcdevice.c at line 77
>>Unable to create UPS lock file.
>>apctest FATAL ERROR in apcdevice.c at line 77
>>Unable to create UPS lock file.
>>apctest error termination completed
>>
> 
> ----
> does /var/log/messages or dmesg|less tell you which ttyUSB ports the APC
> gets? If so, you probably need to put that into apcupsd.conf
> 
> Craig
> 
> 
Thanks craig,what fixed it was changing the URL in apcupsd.conf from 
192.168.0.1 > 0.0.0.0 .

   david




More information about the fedora-list mailing list