On Saturday 06 Sep 2003 1:08 am, James Sparenberg wrote:
> > 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
>
OK - I've sorted that bit.

> 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.  

Can you explain this last sentence a bit more, please?

> 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.
>
The file in question appears to be /var/lock/subsys/apcupsd

Anne

-- 
Registered Linux User No.293302
Have you visited http://twiki.mdklinuxfaq.org yet?


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

Reply via email to