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
slave that is sufficiently short that you are sure that the slave will
shutdown before the master. If the shutdown is done with a poweroff,
this will also save power so that the master can stay up longer.
Q: How do I ensure that my database server is correctly shutdown?
A: You simply add whatever commands are necessary in the appropri-
ate case statements in /etc/apcupsd/apccontrol, which is a standard
script file that is called to actually do the shutdown. Alternatively,
you can add your own script file that will be called before doing the
commands in apccontrol. Your script file must have the same name as
the appropriate case statement in apccontrol; it must be executable;
and it must be in the same directory as apccontrol.
Q: I have Win2k Advanced server, and when starting the service, get:
Could not start the Apcupsd Server service on Local Computer. Error
1067: The process terminated unexpectedly
A: The most common error causing your problem is an incorrect serial port
specification on your DEVICE directive. It should be:
DEVICE /dev/com2
On WinNT machines, and probably Win2000 machines you MUST
use /dev/com2 unless you modify the behavior of the boot process to
prevent Windows from probing the port. This is documented in our
manual for WinNT. Although I imagine it is the same for Win2000, I
am not sure.
The second most common problem is bad placement of the files i.e.
you did not install them in c:\apcupsd Unfortunately for the current
release, this path is “hard coded” into the binaries.
The third most common problem is that you did not run the setup.bat
script after loading the files. This is necessary to install apcupsd as a
service.
If all the above fails, try starting apcupsd by hand inside a CYGWIN
rxvt window if you use an rxvt window rather than a DOS window,
you will see many more of the error messages.
In addition, most of the apcupsd startup errors are reported in:
c:\apcupsd\etc\apcupsd\apcupsd.events
Many error messages associated with Windows services will be re-
ported in the Windows System Log.
99










