[hobbit] Odd error when running custom script
mlist
mlist at cmcflex.com
Wed Sep 26 18:51:18 CEST 2007
Trent Melcher wrote:
> On Wed, 2007-09-26 at 09:15 -0600, mlist wrote:
>
>> So I'm getting an error when trying to run a custom script. I've done
>> this many times but maybe I'm missing something simple?
>>
>> mail2:/home/hobbit/client/logs # tail -f bb-smart.log
>> 2007-09-26 08:40:55 Could not start task disksts using command
>> '/home/hobbit/client/ext/bb-smart.sh': No such file or directory
>> 2007-09-26 08:45:55 Could not start task disksts using command
>> '/home/hobbit/client/ext/bb-smart.sh': No such file or directory
>> 2007-09-26 08:50:56 Could not start task disksts using command
>> '/home/hobbit/client/ext/bb-smart.sh': No such file or directory
>> 2007-09-26 08:55:57 Could not start task disksts using command
>> '/home/hobbit/client/ext/bb-smart.sh': No such file or directory
>> 2007-09-26 09:00:57 Could not start task disksts using command
>> '/home/hobbit/client/ext/bb-smart.sh': No such file or directory
>> 2007-09-26 09:05:58 Could not start task disksts using command
>> '/home/hobbit/client/ext/bb-smart.sh': No such file or directory
>>
>>
>
> What happens when you run it manually as the hobbit user?
>
> Trent
>
>
>
Very good idea Trent and Galen, that was it - typo.
mail2:/home/hobbit/client/ext # su hobbit
hobbit at mail2:~/client/ext> /home/hobbit/client/ext/bb-smart.sh
bash: /home/hobbit/client/ext/bb-smart.sh: /usr/bin/bash: bad
interpreter: No such file or directory
Thanks for the help,
Matt
More information about the Xymon
mailing list