User's Manual UPS control system
Table Of Contents
- Apcupsd User's Manual
- Release Notes
- How To Use This Manual
- Basic User's Guide
- Planning Your Installation
- Building and Installing apcupsd
- After Installation
- Configuration Examples
- Testing Apcupsd
- Troubleshooting Your Installation
- Monitoring and Tuning your UPS
- Maintaining Your UPS
- Frequently-Asked Questions
- Apcupsd Bugs
- Advanced topics
- Customizing Event Handling
- Master/Slave Configurations
- Controlling Multiple UPSes on one Machine
- Support for SNMP UPSes
- Alternate Ways To Run The Network Information Server
- apcupsd System Logging
- Installation: Windows
- Windows Version of apcupsd
- Installation: Serial-Line UPSes
- Overview of Serial-Interface UPSes
- Connecting a Serial-Line UPS to a USB Port
- Connecting a APC USB UPS to either a PC USB or Serial Port
- Cables
- Smart-Custom Cable for SmartUPSes
- Smart Signalling Cable for BackUPS CS Models
- Voltage-Signalling Cable for "dumb" UPSes
- Other APC Cables that apcupsd Supports
- Voltage Signalling Features Supported by Apcupsd for Various Cables
- Voltage Signalling
- Back-UPS Office 500 signals
- Analyses of APC Cables
- Win32 Implementation Restrictions for Simple UPSes
- Internal Apcupsd Actions for Simple Cables
- RS232 Wiring and Signal Conventions
- Pin Assignment for the Serial Port (RS-232C), 25-pin and 9-pin, Female End
- Ioctl to RS232 Correspondence
- Testing Serial-Line UPSes
- Troubleshooting Serial Line communications
- Recalibrating the UPS Runtime
- DATA Logging
- Technical Reference
- Configuration Directive Reference
- apcupsd Status Logging
- Shutown Sequence and its Discontents
- APC smart protocol
- Apcupsd --- RPM Packaging FAQ
- Credits
- Kernel Config
same. Please be sure you are running the same version of apcupsd on all
your master and slave machines.
to slave SSS failed
This message is logged when the master attempts to connect to slave SSS
and no connection is accepted. The most common cause of this problem is
that the slave copy of apcuspd is not yet ready to accept connections or is
not running. Generally, apcupsd will retry the connection a bit later. If the
problem is persistent, it can indicate a network problem or the slave name
on the SLAVE directive of the master’s configuration file is incorrect.
open stream socket
This indicates a fundamental networking problem on your system – either a
lack of sufficient resources or you have not configured TCP/IP operations.
Error Messages from a Slave Configuration:
In a master/slave configuration, you can get the following error messages
from a slave. The error message is followed by a possible explanation:
resolve master name MMM
This message is logged when the slave attempts to resolve the name given on
the MASTER configuration directive to an IP address. It probably means
that the master name MMM is not defined, your DNS is not properly work-
ing, or you have started apcupsd in the boot process before the network
is initialized. Check the name MMM, or use an explicit IP address on the
MASTER configuration directive in the slave’s configuration file.
bind local address, probably already in use
This means that the slave has attempted to bind the port number so that
it can listen for messages from the master. This can occur if already have a
copy of apcupsd running, or you have previously run apcupsd in the past 5
or 10 minutes, because occasionally the operating system will not shutdown
a port correctly for 5 to 10 minutes after a program exits. In this case, you
can either wait a few minutes for the problem to go away, or use a different
port in both your master and slave configuration files.
accept error
The slave got an error waiting on the accept() system call. This is probably
due to a fundamental networking problem.
109










