Hello,
I am trying to install APC Smart UPS 700 on a Linux system. I am using the
standard RS232 cable that comes with the UPS; it is connected to COM1
(/dev/ttyS0). When I put the following lines into the inittab:
# what to do when power fails/returns
pf::powerwait:/sbin/init.d/powerfail start
pn::powerfailnow:/sbin/init.d/powerfail now
pn::powerfail:/sbin/init.d/powerfail now
po::powerokwait:/sbin/init.d/powerfail stop
I get a message during boot-up "Powerstatus bad", indicating to my
understanding that the UPS isnt recognized.
I also tried the package ARGOUPS which tells you to put the following lines
into inittab:
nw:234:respawn:/sbin/nwrescued -local /dev/ttyS0
sh:234:powerfail:/sbin/shutdown -h -t 60 now THE POWER IS FAILING
However, when I am doing this, I get the following message during bootup:
starting upsd version 1.9 SN xxxxxx
Unable to open port /dev/ttyS0
UPS daemon started on port /dev/ttyS0
then, after bootup complete, I get several of the following messages:
intit: Id "nw" respawning to fast: disabled for 5 min....
When I try
I get a messageQuote:>setserial /dev/ttyS0
/dev/ttyS0 UART:16550A , Port: 0x03f8, IRQ: 4
Who can help?
Thank you very much,
Cheers, Till