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 hobbitlaunch starting 2006-06-21 10:10:21 Loading tasklist configuration from /usr/local/hobbit/server/etc/hobbitlaunch.cfg 2006-06-21 10:10:21 Loading hostnames 2006-06-21 10:10:21 Loading saved state 2006-06-21 10:10:21 Setting up network listener on 0.0.0.0:1984 2006-06-21 10:10:21 Setting up signal handlers 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.
Thanks,
-Shaun
-----Original Message----- From: Henrik Stoerner [mailto:henrik at hswn.dk] Sent: Tuesday, June 20, 2006 11:08 PM To: hobbit at hswn.dk Subject: Re: [hobbit] Problems starting hobbit
On Thu, Jun 15, 2006 at 04:48:37PM -0700, Kasperowicz, Shaun wrote:
Well after battling numerous other problems, I finally have what (I think) is a working version of the Hobbit server. Although I think I have everything configured properly, I'm unable to start it. I get the following in hobbitlaunch.log:
2006-06-15 16:05:11 hobbitlaunch starting 2006-06-15 16:05:11 Loading tasklist configuration from /usr/local/hobbit/server/etc/hobbitlaunch.cfg 2006-06-15 16:05:11 Loading hostnames 2006-06-15 16:05:11 Loading saved state 2006-06-15 16:05:11 Setting up network listener on 0.0.0.0:1984 2006-06-15 16:05:11 Setting up signal handlers 2006-06-15 16:05:11 Setting up hobbitd channels 2006-06-15 16:05:11 Could not attach shm Permission denied 2006-06-15 16:05:11 Cannot setup status channel
The "Permission denied" error is odd, it indicates that this shared memory segment already exists, but was created by another user.
If you login as root and run "ipcs -m" you'll get a list of the existing shared memory segments. With hobbit running, it typically looks like this:
------ Shared Memory Segments -------- key shmid owner perms bytes nattch status 0x0102b575 2031619 hobbit 600 262144 2 0x0202b575 2064388 hobbit 600 262144 2 0x0302b575 2097157 hobbit 600 262144 2 0x0402b575 2129926 hobbit 600 262144 2 0x0502b575 2162695 hobbit 600 262144 1 0x0602b575 2195464 hobbit 600 32768 1 0x0702b575 2228233 hobbit 600 524288 2 0x0802b575 2261002 hobbit 600 524288 2
The "bytes" and "nattch" are typical for a default Hobbit setup.
If a Hobbit run has crashed, it might leave these behind. In that case, use "ipcrm" to delete them. (Hobbit will do that automatically when restarting, but if they were created by another user then it cannot).
Regards, Henrik
To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk