APCUPSD on Sunfire V100 Help

Brian Costello <[email protected]>
Newsgroups gmane.os.solaris.at-home
Message-ID <[email protected]>
I loaded the latest version of APCUPSD as a few people suggested. I got 
it compiled OK but I can't seem to get it to connect to my APC SU2200. I 
am using the supplied cable from APC (model 940-0024B) and have attached 
it (through a M-M gender changer) to a standard serial <> RJ45 cable 
which is plugged into serial port B. I also tried my own home made cable 
that didn't need the gender changer but that did not work either. I have 
the correct cable spec'ed in the apcupsd.conf as well as /dev/ttyb as 
the port. Here is the error I get:

# /etc/init.d/apcupsd start
Starting apcupsd power management ... Done.
# May 11 23:06:40 sunfire apcupsd[8654]: apcupsd FATAL ERROR in 
smartsetup.c at
line 171
May 11 23:06:40 sunfire PANIC! Cannot communicate with UPS via serial port.
May 11 23:06:40 sunfire Please make sure the port specified on the 
DEVICE direct
ive is correct,
May 11 23:06:40 sunfire and that your cable specification on the 
UPSCABLE direct
ive is correct.
May 11 23:06:40 sunfire apcupsd[8654]: apcupsd error shutdown completed

I am wondering if  I need to mess with the port settings in admintool 
but the speed should be correct according to the APC information I could 
find (9600). Any thoughts are welcome.

Brian P. Costello               [email protected]
San Francisco Bay Area



Mike Loewen wrote:
> On Sat, 9 May 2009, Brian Costello wrote:
>
>> While we are on the subject of UPS's, is there any open source 
>> software to nicely shutdown the server when the battery gets low when 
>> the power is out? I had software from APC that ran under Solaris 2.6 
>> (when it was connected to my SS20) but it does not work under Solaris 9.
>
>    Try this:
>
> http://www.apcupsd.com/
>
>    I'm running it with an APC SmartUPS (with the APC serial cable) at 
> work on an Ultra 10 with Solaris 9.  Works great.
>
>
> Mike Loewen                [email protected]
> Old Technology    http://sturgeon.css.psu.edu/~mloewen/Oldtech/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.