apcupsd: "connection with UPS lost" in pcnet mode
Posted: Fri Aug 10, 2007 4:44 pm
[PROBLEM]
When configuring apcupsd to receive broadcast events from an APC AP-9617 (or similar) network module transmitting PowerChute events, it returns the errormessage
I've checked the DEVICE line in the apcupsd.conf file several times and everything was correct:
[SOLUTION]
After running apcupsd in debug mode (apcupsd -d1000 -T), I had a trace file that contained the following errormessage (I've replaced subnet IP parts by an "x"):
When configuring apcupsd to receive broadcast events from an APC AP-9617 (or similar) network module transmitting PowerChute events, it returns the errormessage
after ~2 minutes.Communication with UPS lost"
I've checked the DEVICE line in the apcupsd.conf file several times and everything was correct:
Code: Select all
DEVICE ip:user:passphrase
[SOLUTION]
After running apcupsd in debug mode (apcupsd -d1000 -T), I had a trace file that contained the following errormessage (I've replaced subnet IP parts by an "x"):
So, although apcupsd can connect per name (ups.das-werkstatt.com), it only works properly when using the ip in the DEVICE option.10.813 apcupsd: ../drivers/pcnet/pcnet.c:458 process_packet: Expected IP=ups.das-werkstatt.com
10.813 apcupsd: ../drivers/pcnet/pcnet.c:459 process_packet: Received IP=192.168.x.x