Hi, i am running nut-2.0.0-5 on Fedora core 3. I have the following Problem: In my upssched.conf i have set the Following Parameter: CMDSCRIPT /usr/local/guzman/sbin/upssched-cmd ... AT COMMBAD * START-TIMER upsgone 10 AT COMMOK * CANCEL-TIMER upsgone ... Now if I pull the serial Plug, in my log i see the following error: Event: upsgone Execute command failure: /usr/local/guzman/sbin/upssched-cmd upsgone: No such file or directory The script exists: -rwxr-xr-x root root /usr/local/guzman/sbin/upssched-cmd And the path is accesable too. It looks like the Script is called like "/usr/local/guzman/sbin/upssched-cmd upsgone" and not like "/usr/local/guzman/sbin/upssched-cmd" upsgone any Idea why this happens on my system? THX, Hannes -- --<>------------------------------------------- Zufallszitat: On the back of an old pickup: If this truck was a horse, I'd have to shoot it. !!! www.usw.at !!! nimm die Herausforderung an
Hi, i am running nut-2.0.0-5 on Fedora core 3. I have the following Problem: In my upssched.conf i have set the Following Parameter: CMDSCRIPT /usr/local/guzman/sbin/upssched-cmd ... AT COMMBAD * START-TIMER upsgone 10 AT COMMOK * CANCEL-TIMER upsgone ... Now if I pull the serial Plug, in my log i see the following error: Event: upsgone Execute command failure: /usr/local/guzman/sbin/upssched-cmd upsgone: No such file or directory The script exists: -rwxr-xr-x root root /usr/local/guzman/sbin/upssched-cmd And the path is accesable too. It looks like the Script is called like "/usr/local/guzman/sbin/upssched-cmd upsgone" and not like "/usr/local/guzman/sbin/upssched-cmd" upsgone any Idea why this happens on my system? THX, Hannes -- --<>------------------------------------------- Zufallszitat: The desire to have things done quickly Invariably prevents them from being done thoroughly. - Sent by Jody C Burnett California !!! www.usw.at !!! nimm die Herausforderung an
2005/9/20, Hannes Gruber <hannes@usw.at>:> > Hi, > > i am running nut-2.0.0-5 on Fedora core 3. > > I have the following Problem: > > In my upssched.conf i have set the Following Parameter: > > CMDSCRIPT /usr/local/guzman/sbin/upssched-cmd > ... > AT COMMBAD * START-TIMER upsgone 10 > AT COMMOK * CANCEL-TIMER upsgone > ...does the PIPEFN and LOCKFN directories exists, and does these have the right privileges for the nut users? Arnaud -- Linux / Unix Expert - MGE UPS SYSTEMS - R&D Dpt Network UPS Tools (NUT) Project Leader - http://www.networkupstools.org/ Debian Developer - http://people.debian.org/~aquette/ OpenSource Developer - http://arnaud.quette.free.fr/ -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.alioth.debian.org/pipermail/nut-upsuser/attachments/20050922/c4d1b821/attachment.html