Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 20 Sep 1999 20:14:26 -0400 (EDT)
From:      William Wong <willwong@anime.ca>
To:        freebsd-questions@freebsd.org
Subject:   APC SmartUPS 420 and FreeBSD
Message-ID:  <Pine.BSF.4.10.9909201952300.682-100000@hitokiri.anime.ca>

next in thread | raw e-mail | index | archive | help
Hi there,

I used to use an APC BackUPS Pro 650 with the bkpupsd port and it worked.
It didn't support any advanced features though. So my system would
basically just shutdown after 5mins if there was no power.

I now have the APC SmartUPS 420.  So I basically swapped the UPS's. (Kept
the same cable)

I installed upsd from the ports collection
DISTNAME=       upsd-2.0.1.6

The only change I made to the upsd.conf file was /dev/cuaa1 (as cuaa0 is
for my analog modem)

I get the following errors (taken from /var/messages)

Sep 20 19:56:19 hitokiri upsd[714]: parse error: uknown ups specification
in file /usr/local/etc/upsd.conf, line 16
Sep 20 19:56:19 hitokiri upsd[714]: configure: cannot parse configuration
file /usr/local/etc/upsd.conf
Sep 20 19:59:16 hitokiri upsd[1067]: last test:   , light test:   
Sep 20 19:59:16 hitokiri upsd[1067]: frequency: 0.00, maxvac: 0.0, minvac:
0.0, voltage: 0.0
Sep 20 19:59:16 hitokiri upsd[1067]: load: 0.0, recharge: 0.0, temp: 0.0,
vdc: 0.00, output voltage: 0.0
Sep 20 19:59:38 hitokiri upsd[1067]: Cannot put the UPS into smart mode! 

The last message simply repeats itself every couple of minutes and is
directed at all users logged onto the system.

I also have problems with the upsmond port
DISTNAME=       upsmon-2.1.3

I run the program with the following command line:
/usr/local/sbin/upsmond -p /dev/cuaa1

and I get the following output to the console:
PortName set to: /dev/cuaa1

When I try to run upsstat I get:


        UPSMON Status Reporting Facility
        ---  upsmond version   ---

             APC UPS 700 Status Info
--------------------------------------------------------
                     Model: 
                 CopyRight: 
          Manufacture date: 
                  Serial #: 
          Firmware version: 
                  Local ID: 
 Last battery replace date: 
      Nominal line voltage: 0 V
   Nominal battery voltage: 0 V
                 Available: NO
                   Standby: NO
                Line Power: FAILURE
                   Battery: OK
              Line Voltage:   0.00
                      Load:   0.00 %
           Battery Voltage:   0.00
             Battery Level:   0.00 %
--------------------------------------------------------

and when I check my logs:

Sep 20 20:11:58 hitokiri /kernel: pid 1154 (upsmond), uid 0: exited on
signal 11 (core dumped)

Does anyone know how to solve these problems or has had experience using
these programs?

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
William Wong                                                Edirol on EFNET
willwong@anime.ca
ANIME...MANGA...MIDI...PSX...RPGs...RULE!!!
http://www.interlog.com/~willwong/softsynths/ - [The Soft Synths Home Page]
http://dna.anime.ca                       - [DNA^2 Manga Translations Page]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.10.9909201952300.682-100000>