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

Charles Lepple clepple at gmail.com
Tue May 9 11:25:51 UTC 2006


On 5/9/06, Laurent Lesage <laurent at lesagepono.be> 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 changed names, or if you
edited the file on a Windows system and the editor added a stray CR
character at the end of the line.

Also, as Arnaud pointed out, it could be a permissions problem.
Usually, /root would not be readable for the NUT user.

--
- Charles Lepple



More information about the Nut-upsuser mailing list