Re: [Nut-upsuser] Timer Daemon doesn't start

2012-05-23 Thread Stefan Kuhn
-upsuser] Timer Daemon doesn't start On May 21, 2012, at 2:19 AM, Stefan Kuhn wrote: the timers still don't start. Can someone give me a tip why? Just so we're on the same page: what are the current permissions on upssched-cmd, and what is the last error message from upsmon? -- Charles Lepple

Re: [Nut-upsuser] Timer Daemon doesn't start

2012-05-23 Thread Roger Price
On Wed, 23 May 2012, Stefan Kuhn wrote: I don't know where to look for the problem. If you add the lines # Debugging: Log all calls to this script logger -t upssched-cmd Calling upssched-cmd $1 at the top of the script upssched-cmd, does any message get logged? If YES: look in the script.

Re: [Nut-upsuser] Timer Daemon doesn't start

2012-05-23 Thread Stefan Kuhn
: Mittwoch, 23. Mai 2012 10:36 An: nut-upsuser Mailing List Betreff: Re: [Nut-upsuser] Timer Daemon doesn't start On Wed, 23 May 2012, Stefan Kuhn wrote: I don't know where to look for the problem. If you add the lines # Debugging: Log all calls to this script logger -t upssched-cmd Calling

Re: [Nut-upsuser] Timer Daemon doesn't start

2012-05-23 Thread Roger Price
On Wed, 23 May 2012, Stefan Kuhn wrote: May 23 10:58:07 s-monitor1 upssched-cmd: Calling upssched-cmd ONBATT This is good news, since it says that the script gets called with the parameter ONBATT. Now you need to find out what the script does with this parameter. Two suggestions: 1. At

Re: [Nut-upsuser] Timer Daemon doesn't start

2012-05-23 Thread Arnaud Quette
In addition to Roger answer: 2012/5/23 Roger Price ro...@rogerprice.org: On Wed, 23 May 2012, Stefan Kuhn wrote: May 23 10:58:07 s-monitor1 upssched-cmd: Calling upssched-cmd ONBATT This is good news, since it says that the script gets called with the parameter ONBATT.  Now you need to

Re: [Nut-upsuser] Timer Daemon doesn't start

2012-05-21 Thread Stefan Kuhn
Hey, the timers still don't start. Can someone give me a tip why? Greetings Stefan -Ursprüngliche Nachricht- Von: Stefan Kuhn Gesendet: Donnerstag, 17. Mai 2012 17:10 An: nut-upsuser Mailing List Betreff: AW: [Nut-upsuser] Timer Daemon doesn't start Hey, I made a mistake, it still

Re: [Nut-upsuser] Timer Daemon doesn't start

2012-05-17 Thread Stefan Kuhn
Gesendet: Dienstag, 15. Mai 2012 12:15 An: nut-upsuser Mailing List Betreff: Re: [Nut-upsuser] Timer Daemon doesn't start On Tue, 15 May 2012, Stefan Kuhn wrote: -rw-r--r-- 1 root root 4555 2012-05-13 22:31 upssched-cmd Hi Stefan, Shouldn't upssched-cmd be executable ? I would expect to see

[Nut-upsuser] Timer Daemon doesn't start

2012-05-15 Thread Stefan Kuhn
Hey, I have the problem that my timer daemon doesn't start. I checked my configuration more than two times and I don't find the failure. Maybe someone can help me and tell me where the failure could be. --- syslog --- May 13 21:50:34 s-monitor1 upsmon[1674]: UPS usv3@localhost on battery May

Re: [Nut-upsuser] Timer Daemon doesn't start

2012-05-15 Thread Roger Price
On Tue, 15 May 2012, Stefan Kuhn wrote: May 13 21:50:34 s-monitor1 upssched[855]: exec_cmd(/etc/nut/upssched-cmd ONBATT) returned 126 Hi, What are the permissions on /etc/nut/upssched-cmd ? Roger ___ Nut-upsuser mailing list

Re: [Nut-upsuser] Timer Daemon doesn't start

2012-05-15 Thread Roger Price
On Tue, 15 May 2012, Stefan Kuhn wrote: -rw-r--r-- 1 root root 4555 2012-05-13 22:31 upssched-cmd Hi Stefan, Shouldn't upssched-cmd be executable ? I would expect to see -rwxr--r--. Roger ___ Nut-upsuser mailing list