[hobbit] Problems starting hobbit
Henrik,
In the other logfiles I have nothing. Hobbitlaunch.log is the only one getting any data.
Hobbit user is owner of both /var/log/hobbit and everything under /usr/local/hobbit/.
And when I run the bbcmd command you suggested, I get this:
bash-2.03$ /usr/local/hobbit/server/bin/bbcmd hobbitd_channel --channel=stachg hobbitd_history 2006-06-28 15:15:16 Using default environment file /usr/local/hobbit/server/etc/hobbitserver.cfg 2006-06-28 15:15:16 Could not get shm of size 262144: No such file or directory 2006-06-28 15:15:16 Channel not available
Looks like still more shared memory problems?
Regards,
-Shaun
-----Original Message----- From: Henrik Stoerner [mailto:henrik at hswn.dk] Sent: Tuesday, June 27, 2006 5:38 AM To: hobbit at hswn.dk Subject: Re: [hobbit] Problems starting hobbit
On Wed, Jun 21, 2006 at 11:17:12AM -0700, Kasperowicz, Shaun wrote:
Thanks Henrik, I was able to delete the stale shared memory segments and start hobbit. Still getting some errors in hobbitlaunch.log though:
2006-06-21 10:10:21 Setting up hobbitd channels 2006-06-21 10:10:21 Setting up logfiles 2006-06-21 10:10:26 Task bbhistory terminated, status 1 2006-06-21 10:10:26 Task bbpage terminated, status 1 2006-06-21 10:10:26 Task rrdstatus terminated, status 1 2006-06-21 10:10:26 Task rrddata terminated, status 1 2006-06-21 10:10:27 Task bbdisplay terminated by signal 9 2006-06-21 10:10:27 Task clientdata terminated, status 1 2006-06-21 10:10:27 Task bbcombotest terminated by signal 9 2006-06-21 10:10:32 Task clientdata terminated, status 1 2006-06-21 10:10:32 Task rrddata terminated, status 1 2006-06-21 10:10:32 Task rrdstatus terminated, status 1 2006-06-21 10:10:32 Task bbhistory terminated, status 1
I assume these are not normal? Hobbitd is running, but no web pages are being generated.
It's definitely not normal.
What's in the other logfiles besides hobbitlaunch.log ?
Does you "hobbit" user have write access to the logfile directory and the ~hobbit/server/www/ directory ?
What happens if you login as the hobbit user, then run ./server/bin/bbcmd hobbitd_channel --channel=stachg hobbitd_history
Regards, Henrik
To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk
Don't know if it will help, but the last time I had this problem, the fix was completely stop hobbit, make sure all of the processes are gone, and run /usr/bin/ipcs. I had a bunch of shared memory segments that were hung, that I was able to remove using /usr/bin/ipcrm. Note the user in the ipcs output - do not remove segments belong to other users or you may break some other application you have running (I did that too) :-)
If this does not help, you may need to edit your /etc/sysctl.conf and increase your shared memory.
-Charles
Kasperowicz, Shaun wrote:
Henrik,
In the other logfiles I have nothing. Hobbitlaunch.log is the only one getting any data.
Hobbit user is owner of both /var/log/hobbit and everything under /usr/local/hobbit/.
And when I run the bbcmd command you suggested, I get this:
bash-2.03$ /usr/local/hobbit/server/bin/bbcmd hobbitd_channel --channel=stachg hobbitd_history 2006-06-28 15:15:16 Using default environment file /usr/local/hobbit/server/etc/hobbitserver.cfg 2006-06-28 15:15:16 Could not get shm of size 262144: No such file or directory 2006-06-28 15:15:16 Channel not available
Looks like still more shared memory problems?
Regards,
-Shaun
-----Original Message----- From: Henrik Stoerner [mailto:henrik at hswn.dk] Sent: Tuesday, June 27, 2006 5:38 AM To: hobbit at hswn.dk Subject: Re: [hobbit] Problems starting hobbit
On Wed, Jun 21, 2006 at 11:17:12AM -0700, Kasperowicz, Shaun wrote:
Thanks Henrik, I was able to delete the stale shared memory segments and start hobbit. Still getting some errors in hobbitlaunch.log
though:
2006-06-21 10:10:21 Setting up hobbitd channels 2006-06-21 10:10:21 Setting up logfiles 2006-06-21 10:10:26 Task bbhistory terminated, status 1 2006-06-21 10:10:26 Task bbpage terminated, status 1 2006-06-21 10:10:26 Task rrdstatus terminated, status 1 2006-06-21 10:10:26 Task rrddata terminated, status 1 2006-06-21 10:10:27 Task bbdisplay terminated by signal 9 2006-06-21 10:10:27 Task clientdata terminated, status 1 2006-06-21 10:10:27 Task bbcombotest terminated by signal 9 2006-06-21 10:10:32 Task clientdata terminated, status 1 2006-06-21 10:10:32 Task rrddata terminated, status 1 2006-06-21 10:10:32 Task rrdstatus terminated, status 1 2006-06-21 10:10:32 Task bbhistory terminated, status 1
I assume these are not normal? Hobbitd is running, but no web pages
are
being generated.
It's definitely not normal.
What's in the other logfiles besides hobbitlaunch.log ?
Does you "hobbit" user have write access to the logfile directory and the ~hobbit/server/www/ directory ?
What happens if you login as the hobbit user, then run ./server/bin/bbcmd hobbitd_channel --channel=stachg hobbitd_history
On Wed, Jun 28, 2006 at 03:29:37PM -0700, Kasperowicz, Shaun wrote:
2006-06-28 15:15:16 Could not get shm of size 262144: No such file or directory 2006-06-28 15:15:16 Channel not available
Looks like still more shared memory problems?
Perhaps. It doesn't sound right, since this would show up in the hobbitd startup also, and your last log-snippet didn't show that.
Could you try editing your server/etc/hobbitlaunch.cfg file: The first entry with the "CMD hobbitd ...." line, add "--debug" at the end of that (very long) line so it becomes something like
[hobbitd] ENVFILE /usr/lib/hobbit/server/etc/hobbitserver.cfg CMD hobbitd --pidfile=$BBSERVERLOGS/hobbitd.pid --restart=$BBTMP/hobbitd.chk --checkpoint-file=$BBTMP/hobbitd.chk --checkpoint-interval=600 --log=$BBSERVERLOGS/hobbitd.log --admin-senders=127.0.0.1,$BBSERVERIP --maint-senders=127.0.0.1 --debug
That should dump a bit more detail about what is happening into hobbitlaunch.log.
Is there a "hobbitd.log" file in the same directory as hobbitlaunch.log? Anything in that ?
Henrik
Looks like hobbit has better html/javascript integration than bb. I say we can magnify a portion of trending graph from clicking web page.
My current bb server administration require using many bb commands to cleanup a retired host. I hope hobbit server can enable same kind of removal from web gui.
T.J. Yang
On Thu, Jun 29, 2006 at 08:25:10AM -0500, T.J. Yang wrote:
My current bb server administration require using many bb commands to cleanup a retired host. I hope hobbit server can enable same kind of removal from web gui.
Shouldn't be difficult, but right now you need to do two things:
- Remove the host from the bb-hosts file.
- Run the command bb 127.0.0.1 "drop HOSTNAME"
If you only want to remove a test that is purple because you've stopped testing it, then bb 127.0.0.1 "drop HOSTNAME TESTNAME" will do it.
Regards, Henrik
Henrik Stoerner wrote:
On Thu, Jun 29, 2006 at 08:25:10AM -0500, T.J. Yang wrote:
My current bb server administration require using many bb commands to cleanup a retired host. I hope hobbit server can enable same kind of removal from web gui.
Shouldn't be difficult, but right now you need to do two things:
- Remove the host from the bb-hosts file.
- Run the command bb 127.0.0.1 "drop HOSTNAME"
If you only want to remove a test that is purple because you've stopped testing it, then bb 127.0.0.1 "drop HOSTNAME TESTNAME" will do it.
Regards, Henrik
To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk
This would be a really good additional to the WEB UI to try and get as much as possible away from accessing the server via ssh or similar. There is already an Edit Hosts component that I know of but is there an edit alerts one as well ? If not perhaps this can be another addition for editing things through the UI.
Also another thing someone suggested to me yesterday with regards to the 'critical systems' piece thats now in there, it would be good if possible to have a button on each page for each service that says 'add this test to critical systems' which is nice and lazy but hey just passing on some info that someone said to me :)
Cheers
Allan
----- Original Message ----- From: "Henrik Stoerner" <henrik at hswn.dk> To: <hobbit at hswn.dk> Sent: Monday, July 17, 2006 4:44 PM Subject: Re: [hobbit] Feature request: Remove a purple host hobbit server webpage
On Thu, Jun 29, 2006 at 08:25:10AM -0500, T.J. Yang wrote:
My current bb server administration require using many bb commands to cleanup a retired host. I hope hobbit server can enable same kind of removal from web gui.
Shouldn't be difficult, but right now you need to do two things:
- Remove the host from the bb-hosts file.
- Run the command bb 127.0.0.1 "drop HOSTNAME"
If you only want to remove a test that is purple because you've stopped testing it, then bb 127.0.0.1 "drop HOSTNAME TESTNAME" will do it.
Henrik, thanks for the repply First applogize for not fufilling my promise yet(autoconfigsicate hobbit). It is easier say then done(lack of time,skill and will).
Secondly, for web GUI enhancement of hobbit, can you try YUI (see R1) ? Tigra menu is ok but YUI(version 0.11.0) looks very promissing and powerful. Lots of features in Tigra Gold/Pro are avaiable in YUI also.
R1. http://developer.yahoo.com/yui/
tj yang
Regards, Henrik
To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk
participants (5)
-
allan@zandahar.net
-
henrik@hswn.dk
-
jonescr@cisco.com
-
skasperowicz@c-cor.com
-
tj_yang@hotmail.com