From owner-freebsd-questions@FreeBSD.ORG Thu May 25 15:55:06 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C5B1C16A62F for ; Thu, 25 May 2006 15:55:06 +0000 (UTC) (envelope-from mikhailg@webanoide.org) Received: from cayster.site5.com (cayster.multisite.site5.com [216.118.97.189]) by mx1.FreeBSD.org (Postfix) with ESMTP id C1E7043D46 for ; Thu, 25 May 2006 15:55:05 +0000 (GMT) (envelope-from mikhailg@webanoide.org) Received: from ppp110-20.lns1.hba1.internode.on.net ([150.101.110.20] helo=[192.168.0.4]) by cayster.site5.com with esmtpa (Exim 4.52) id 1FjIAq-0001hU-5p for freebsd-questions@freebsd.org; Thu, 25 May 2006 11:54:57 -0400 Message-ID: <4475D34A.3050204@webanoide.org> Date: Fri, 26 May 2006 01:54:50 +1000 From: Mikhail Goriachev Organization: Webanoide User-Agent: Thunderbird 1.5.0.2 (Macintosh/20060308) MIME-Version: 1.0 To: freebsd-questions References: <200605250255.k4P2tFPK002628@vjofn.tucs-beachin-obx-house.com> <447522CD.3050004@webanoide.org> In-Reply-To: <447522CD.3050004@webanoide.org> X-Enigmail-Version: 0.94.0.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Antivirus-Scanner: This message has been scanned by ClamAV. X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - cayster.site5.com X-AntiAbuse: Original Domain - freebsd.org X-AntiAbuse: Originator/Caller UID/GID - [0 0] / [47 12] X-AntiAbuse: Sender Address Domain - webanoide.org X-Source: X-Source-Args: X-Source-Dir: Subject: Re: Anyone using sysutils/nut ? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 25 May 2006 15:55:09 -0000 Mikhail Goriachev wrote: > Tuc at T-B-O-H wrote: >>> Tuc at T-B-O-H wrote: >>>> The issue isn't with the upsmon or SHUTDOWNCMD... Its with the >>>> fact that /etc/killpower gets set, and somewhere you need to put >>>> "upsdrvctl shutdown". Its during the "shutdown -p now" that at some point >>>> needs to be run, and if its run in /etc/rc.shutdown then the shutdown isn't >>>> finished and shutting it off at that point the filesystems are dirty. >>> Oh, I see the dilemma now. In my case my box powers off but the UPS >>> stays on till it drastically dies (if power is still unavailable). >>> You're trying to shutdown both the system and the UPS, aren't you? >>> >> Exactly, yes. >>> So >>> then they can automatically come back up again when power returns. >>> >> That what I want to do, yea. >> >> I think I'm finding that the UPS I bought (MGE Ellipse Pulsar) >> isn't really a UPS, but a toy. Now to decide if I give the next step up >> (Evolution) a try or is it just wasting more money. > > > I got an MGE Pulsar EXtreme C 3200. In current setup it lasts for hours. > When deployed, my main objective was to shutdown the box, hence saving > it from disasters. I never considered doing the same with the UPS. I > guess it is time for me to finish the job. How unlucky. I can't get my UPS to power off: $/usr/local/libexec/nut/upsdrvctl shutdown Network UPS Tools - UPS driver controller 2.0.3 Network UPS Tools - MGE UPS SYSTEMS/SHUT driver 0.65 (2.0.3) Unable to get Report Descriptor Driver failed to start (exit status=1) Mikhail. -- Mikhail Goriachev Webanoide Telephone: +61 (0)3 62252501 Mobile Phone: +61 (0)4 38255158 E-Mail: mikhailg@webanoide.org Web: http://www.webanoide.org PGP Key ID: 0x4E148A3B PGP Key Fingerprint: D96B 7C14 79A5 8824 B99D 9562 F50E 2F5D 4E14 8A3B