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
participants (4)
-
henrik@hswn.dk
-
jonescr@cisco.com
-
skasperowicz@c-cor.com
-
tj_yang@hotmail.com