Re: Apcupsd test error (Solved)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux