On Tue, 2003-08-26 at 19:52, James Sparenberg wrote: > On Tue, 2003-08-26 at 12:58, Anne Wilson wrote: > > It is forecast that the UK will have considerable power outages this > > winter, so I'm trying to get my ancient APC Backups to autoshutdown, > > in case I'm not around to catch it. Up to now it has just held the > > system going long enough for me to shutdown, but that's too risky if > > power cuts can be any time. > > > > So - I've installed apcupsd. I've gone through the conf file, and > > checked what I can, but the serial cable I had supplied with this > > unit doesn't indicate type at all. The documentation says that you > > can run apctest to check it. I can't find apctest, and it doesn't > > appear on either my installed list or installable list. I know that > > some of you run apcupsd, so do you have the test program, and if so, > > how did you find it? > > > > Anne > > First, are you sure that its supposed to be an executable? What I mean > is it possible it's a test procedure not an executable that runs a > test?
There's only a handful of options, so I just tried them all until it worked. Funny story -- at my new job I have an older RH 7.3 box and a newer WinXP box sitting side-by-side (Yah for synergy2.sourceforge.net!). I have to use the Winders box for a few applications, and since it's the one with resources to burn I'm also using it for the occasional stuff that needs doing. Generally this means Cygwin of course, but a growing amount of good GTK2 stuff is being ported to Windows :-) gaim and gkrellm are particularly important. Anyway, our power is less than stellar so I was given a little APC unit to go with these boxen. It's just barely got the oomph to handle both boxes for a few minutes without the monitors, so a graceful shutdown daemon is important. I figured what the fsck, drop the APC CD in to the Winders box and see what happens -- that's what they designed it for, right? Well, two reboots later it finally sees the UPS, but the supposed network functionality is broken and the service keeps barfing when the power blips. Turns out, apcupsd is ported to windows now. Fifteen minutes later, networked UPS is working just fine and the APC crap is uninstalled. Gotta like that. -- Jack Coates Monkeynoodle: A Scientific Venture...
Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com