On Sat, 2003-09-06 at 04:07, Anne Wilson wrote:
> 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

Ok so in your config file it should have the full path not just the path
stub.  Instead of 

/var/lock

put 

/var/lock/subsys/apcupsd  

Then the config file line 93(if I remember right) won't give you and
error.


> 
> Anne


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

Reply via email to