AW: Re: [hobbit] Hobbit 4.2.0 hobbitcgi.cfg
Hi Henrik,
On Tue, Aug 22, 2006 at 02:19:16PM +0200, Torsten Richter wrote:
first of all I have to agree with all the others. This IS a really outstanding piece of software you've written. Thanks for that.
My pleasure. I am really happy that this version has turned out to be fairly solid.
I found a small typo in the above mentioned config file. In hobbit-ghosts.sh you use "...hobbit-ghosts.cgi $CGI_GHOSTS_OPTS" but in hobbitcgi.cfg the last S is missing so it reads "CGI_GHOSTS_OPT=...".
You've probably upgraded from a beta- or RC-version. This was fixed in the final 4.2.0 release version, but upgrading won't replace an existing configuration.
No, I had version 4.1.2p1 up and running and fetched the archive from a Sourcforge mirror. Then I did a fresh install in a new directory.
-rwxr-xr-x 1 hobbit users 190 Aug 22 12:18 hobbit-ghosts.sh
./bb 127.0.0.1 ping hobbitd 4.2.0
The mirror I chose was MESH solutions in Duesseldorf.
Best regards Torsten
Hi all,
I have an interesting problem, on of our servers running our own script(not really important for the problem) stopped working properly (a false positive due to the script) I went on the box and stopped hobbit replaced the script with one that does work (it is running on one of our other servers) then started hobbit (/usr/local/hobbit/client/runclient --hostname=xxx.xxx.xxx.xxx start) when I ran the status after this it said it was not running so I ran ps and found the processes were there, so I killed them off and tried again, same result so I killed them off changed the hostname to the fully qualified domain name and started hobbit, success-ish the status reports it is running and no ghost reports on the server, the only problem is all the tests from that script are coming back purple, yet I haven't changed clientlaunch etc.
Conn cpu disk etc. etc. work just not that one script, which is arguably the most important :) so I guess help is in order because I'm stumped
Thanks, Jason.
On Tue, Aug 22, 2006 at 03:14:58PM +0100, Jones, Jason (Altrincham) wrote:
I have an interesting problem, on of our servers running our own script(not really important for the problem) stopped working properly (a false positive due to the script) I went on the box and stopped hobbit replaced the script with one that does work (it is running on one of our other servers) then started hobbit (/usr/local/hobbit/client/runclient --hostname=xxx.xxx.xxx.xxx start) when I ran the status after this it said it was not running so I ran ps and found the processes were there, so I killed them off and tried again, same result so I killed them off changed the hostname to the fully qualified domain name and started hobbit, success-ish the status reports it is running
Note that you'll need the --hostname option even for a "status" check since the hostname is used for the status files.
no ghost reports on the server, the only problem is all the tests from that script are coming back purple, yet I haven't changed clientlaunch etc.
Check that the script you copied from another server uses the correct IP when sending in status messages to the Hobbit server. Or perhaps it has a different PATH setting built-in, so it cannot find the "bb" command ... The client logfile should have some more info.
If all else fails, a simple
date >>/tmp/myscript.log
added near the beginning of the log will at least tell you if the script runs at all.
Regards, Henrik
I just downloaded the latest, and he is right, even in the untarred source, in hobbitd/etcfiles/hobbitcgi.cfg:
#hobbit-ghosts.cgi options CGI_GHOSTS_OPT="--env=/usr/local/hobbit/server/etc/hobbitserver.cfg"
and in the source dir/web, hobbit-ghosts.sh line 5 reads: exec /usr/local/hobbit/server/bin/hobbit-ghosts.cgi $CGI_GHOSTS_OPTS
-Jeff
On 8/22/06, Torsten Richter <bb4 at richter-it.net> wrote:
Hi Henrik,
On Tue, Aug 22, 2006 at 02:19:16PM +0200, Torsten Richter wrote:
first of all I have to agree with all the others. This IS a really outstanding piece of software you've written. Thanks for that.
My pleasure. I am really happy that this version has turned out to be fairly solid.
I found a small typo in the above mentioned config file. In hobbit-ghosts.sh you use "...hobbit-ghosts.cgi $CGI_GHOSTS_OPTS" but in hobbitcgi.cfg the last S is missing so it reads "CGI_GHOSTS_OPT=...".
You've probably upgraded from a beta- or RC-version. This was fixed in the final 4.2.0 release version, but upgrading won't replace an existing configuration.
No, I had version 4.1.2p1 up and running and fetched the archive from a Sourcforge mirror. Then I did a fresh install in a new directory.
-rwxr-xr-x 1 hobbit users 190 Aug 22 12:18 hobbit-ghosts.sh
./bb 127.0.0.1 ping hobbitd 4.2.0
The mirror I chose was MESH solutions in Duesseldorf.
Best regards Torsten
To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk
participants (4)
-
bb4@richter-it.net
-
henrik@hswn.dk
-
JasonAS_Jones@mentor.com
-
jeffnewman75@gmail.com