From owner-freebsd-questions Mon Sep 20 17:14:40 1999 Delivered-To: freebsd-questions@freebsd.org Received: from smtp13.bellglobal.com (smtp13.bellglobal.com [204.101.251.52]) by hub.freebsd.org (Postfix) with ESMTP id ABA2914EA9 for ; Mon, 20 Sep 1999 17:14:36 -0700 (PDT) (envelope-from willwong@anime.ca) Received: from mail.anime.ca (HSE-TOR-ppp25616.sympatico.ca [209.226.82.113]) by smtp13.bellglobal.com (8.8.5/8.8.5) with ESMTP id UAA26760 for ; Mon, 20 Sep 1999 20:16:37 -0400 (EDT) Received: from localhost (willwong@localhost) by mail.anime.ca (8.9.3/8.9.3) with ESMTP id UAA01182 for ; Mon, 20 Sep 1999 20:14:31 -0400 (EDT) (envelope-from willwong@anime.ca) Date: Mon, 20 Sep 1999 20:14:26 -0400 (EDT) From: William Wong To: freebsd-questions@freebsd.org Subject: APC SmartUPS 420 and FreeBSD Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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