[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [hobbit] Odd error when running custom script
- To: <hobbit (at) hswn.dk>
- Subject: RE: [hobbit] Odd error when running custom script
- From: "Galen Johnson" <Galen.Johnson (at) sas.com>
- Date: Wed, 26 Sep 2007 12:38:17 -0400
- References: <46FA777F.70400 (at) cmcflex.com> <1190821153.14528.18.camel (at) tmelcher2>
- Thread-index: AcgAU9juZJKhmJwSStOGF/U+lcnEMwAB5Hmg
- Thread-topic: [hobbit] Odd error when running custom script
One other thing to consider as well is that particular error could be
coming from the script itself (usually associated with a bad #!
line)...Trent's recommendation should tell you...you may want to add set
-x as the second line as well to dump output for what the script thinks
it's doing.
=G=
-----Original Message-----
From: Trent Melcher [mailto:trent.melcher (at) sitel.com]
Sent: Wednesday, September 26, 2007 11:39 AM
To: hobbit (at) hswn.dk
Subject: Re: [hobbit] Odd error when running custom script
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
> Pretty straight forward, right? But it's there and owned by user
hobbit
> . . .
>
> mail2:/home/hobbit/client/logs # stat
/home/hobbit/client/ext/bb-smart.sh
> File: `/home/hobbit/client/ext/bb-smart.sh'
> Size: 1124 Blocks: 8 IO Block: 4096 regular
file
> Device: 802h/2050d Inode: 133492 Links: 1
> Access: (0755/-rwxr-xr-x) Uid: ( 1011/ hobbit) Gid: ( 0/
root)
> Access: 2007-09-26 09:06:39.000000000 -0600
> Modify: 2007-09-26 08:39:27.000000000 -0600
> Change: 2007-09-26 08:40:11.000000000 -0600
>
> Any ideas?
>
> Thanks,
> Matt
>
>
>
> To unsubscribe from the hobbit list, send an e-mail to
> hobbit-unsubscribe (at) hswn.dk
>
>
To unsubscribe from the hobbit list, send an e-mail to
hobbit-unsubscribe (at) hswn.dk