On Fri, 2003-09-05 at 09:23, Anne Wilson wrote:
> On Thursday 28 Aug 2003 4:13 am, david wrote:
> > Anne,
> >
> >     I am presently running apcupsd, and if I recall, it required
> > nothing more than rpm -Uvh acp.....rpm on my 7.2 box. It has been
> > running since '01 without a hickup. The trick is to figure out what
> > information your APC box will deal out. (Whether it is a "smart"
> > APC or not) Then just set (or play around with the UPS type in the
> > config to get the maximum amount of info) The type of "cable" and
> > the pin assignments are an issue, but there is plenty of info on
> > this on the web. Good luck! I'd tell you more, but I haven't had to
> > dork with it in years and Altzheimers is taking its toll.
> >
> Wel,, the new Smart-UPS700 is in and working, except for two problems 
> -
> 1)  It complained about line 61 in the config file.  I take it that it 
> was expecting to find a log file to which it could append, but didn't 
> find it.  The line is
> LOCKFILE /var/lock

from building init scripts you have to be more specific.   For example
the xfs init does

/var/lock/subsys/xfs 

So maybe you want something like /var/lock/subsys/ups  or whatever is
the name of the program you are locking.  You then (in init scripts)
have to touch this file.  Now in this case maybe you need to look into
the directory (/var/lock/subsys) and see what the actual lockfile is
being created is called when the program starts.  

James
> Looking at /var/lock there is nothing there except a directory called 
> subsys.  Do I create a black file in there, then feed the name to 
> line 61?
> 
> 2) Everything did exactly as it should until it came to the point 
> where it was supposed to power off the box (the orderly shutdown had 
> gone through).  It didn't power off, and I had to issue shutdown -h 
> now.
> 
> Could someone please look over the conf file and see what I've missed?
> 
> Thanks
> 
> Anne


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com

Reply via email to