[Nut-upsuser] Failed to connect to parent

Roger Price rprice at cs.uml.edu
Tue Jun 12 10:18:24 UTC 2007


On Fri, 8 Jun 2007, Charles Lepple wrote:

> > CMDSCRIPT /usr/sbin/upssched-cmd
> > PIPEFN /var/state/ups/upssched.pipe
> > LOCKFN /var/state/ups/upssched.lock
> 
> Is /var/state/ups owned and writeable by the NUT user?
> 
> Have the pipe and lock files been created?

That was the problem.  openSUSE uses /var/run for such run-time data, not 
/var/state.  I changed the declarations to 
PIPEFN /var/run/ups/upssched.pipe
LOCKFN /var/run/ups/upssched.lock
created /var/run/ups and nut is now running correctly.

Thanks,
Roger




More information about the Nut-upsuser mailing list