Re: [Nut-upsuser] upssched does not start the script when timer triggers SOLVED

2006-05-17 Thread Charles Lepple
On 5/17/06, Laurent Lesage <[EMAIL PROTECTED]> wrote: Well, that's it : I had to "open" a restricted directory of "asterisk" so tha "nut" is able to write in it. I thought that using the "s" bit on the script would have given the rights of "root" on the called scripts and command : I was wrong :-

Re: [Nut-upsuser] upssched does not start the script when timer triggers

2006-05-17 Thread Charles Lepple
On 5/17/06, Charles Lepple <[EMAIL PROTECTED]> wrote: have you checked this: http://lists.alioth.debian.org/pipermail/nut-upsdev/2006-May/000899.html ignore that one... what happens if you type 'file /etc/nut/upsalert'? -- - Charles Lepple ___ Nut

Re: [Nut-upsuser] upssched does not start the script when timer triggers

2006-05-17 Thread Charles Lepple
On 5/17/06, Laurent Lesage <[EMAIL PROTECTED]> wrote: Hello! I didn't here from you anymore... SO I send again. thanks ahead for answering, even if you have no idea ;-) have you checked this: http://lists.alioth.debian.org/pipermail/nut-upsdev/2006-May/000899.html Also, be sure that all of

Re: [Nut-upsuser] upssched does not start the script when timer triggers

2006-05-17 Thread Laurent Lesage
Hello! I didn't here from you anymore... SO I send again. thanks ahead for answering, even if you have no idea ;-) Laurent --copy of the last mail sent on 09/05/06--- merci pour votre réactivité (don't know how to say it in English!) Well, I think everything you pointed out i

Re: [Nut-upsuser] upssched does not start the script when timer triggers

2006-05-09 Thread Laurent Lesage
Hello again! merci pour votre réactivité (don't know how to say it in English!) Well, I think everything you pointed out is ok. but it doesn't work! I give you the "whole thing" : serveur:/var/run/upssched#* ls -ld* drwxr-x--- 2 nut nut 1024 2006-05-09 17:04 . serveur:/etc/nut# *ls -l* -rw

Re: [Nut-upsuser] upssched does not start the script when timer triggers

2006-05-09 Thread Charles Lepple
On 5/9/06, Laurent Lesage <[EMAIL PROTECTED]> wrote: > May 9 11:39:49 serveur upssched[6823]: Execute command failure: > /root/scripts/upsalert phone_alert: No such file or directory You can also get this error if the script interpreter (after "#!" - usually /bin/sh, /usr/bin/perl, etc.) has c

Re: [Nut-upsuser] upssched does not start the script when timer triggers

2006-05-09 Thread Arnaud Quette
bonjour Laurent, 2006/5/9, Laurent Lesage <[EMAIL PROTECTED]>: Hello, I'm using nut with my MG Ellipse on serial port. No problem since one year. Two days ago, I wanted to add a phone alert through my asterisk box when power is down. Since then, upssched doesn't make his job anymore. here is th

[Nut-upsuser] upssched does not start the script when timer triggers

2006-05-09 Thread Laurent Lesage
Hello, I'm using nut with my MG Ellipse on serial port. No problem since one year. Two days ago, I wanted to add a phone alert through my asterisk box when power is down. Since then, upssched doesn't make his job anymore. here is the "syslog" I get when the power cord is unplugged : May 9

[Nut-upsuser] upssched does not start the script when timer triggers

2006-05-09 Thread Laurent Lesage
Hello, I'm using nut with my MG Ellipse on serial port. No problem since one year. Two days ago, I wanted to add a phone alert through my asterisk box when power is down. Since then, upssched doesn't make his job anymore. here is the "syslog" I get when the power cord is unplugged : May 9 11: