Xymon Mailing List Archive search

Odd error when running custom script

list Frank Lamoreaux
Wed, 26 Sep 2007 10:51:18 -0600
Message-Id: <user-4ccd17f7f07a@xymon.invalid>

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