[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [hobbit] Using enable/disable administration
- To: hobbit (at) hswn.dk
- Subject: Re: [hobbit] Using enable/disable administration
- From: Paul van Eldijk <P.vanEldijk (at) uci.ru.nl>
- Date: Fri, 05 Oct 2007 10:03:35 +0200
- Organization: Universitair Centrum Informatievoorziening
- References: <961092e10710041745m325d9eey3ca5808dee11e24b (at) mail.gmail.com>
- User-agent: Thunderbird 1.5.0.5 (Windows/20060719)
Josh Luthman schreef:
...
I also tried doing this command and got some odd errors:
[shire (at) frodo bin]$ /home/shire/server/bin/bbcmd 127.0.0.1 "disable
host.mydomain.com 15"
2007-10-04 20:42:07 Using default environment file
/home/shire/server/etc/hobbitserver.cfg
2007-10-04 20:42:07 execvp() failed: No such file or directory
bbcmd is used to set the environment for other hobbit commands, so it
must be followed by a command. Here, it tries to find the '127.0.0.1'
command or executable which, I'm guessing, you don't have ;)
[shire (at) frodo bin]$ /home/shire/server/bin/bbcmd bin/bb 127.0.0.1 "disable
Kancharla-nullbox.imaginenetx.com -1"
2007-10-04 20:45:13 Using default environment file
/home/shire/server/etc/hobbitserver.cfg
2007-10-04 20:45:13 execvp() failed: No such file or directory
Almost right: don't specify the bin/ directory.
I'm guessing your host is named Kancharla-nullbox.imaginenetx.com. The
syntax for the disable option of bb is:
bb <hobbitserver> "disable HOST.TEST DURATION [text]"
you have to replace the dots in your hostname with commas, so the rigth
command would become:
/home/shire/server/bin/bbcmd bb 127.0.0.1 "disable
Kancharla-nullbox,imaginenetx,com.* -1"
This will disable all the tests related to the host until OK.
See also the manpage for the bb-command.
HTH,
Paul