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 2006-06-15 16:05:11 Task hobbitd terminated, status 1
I've tweaked the shmseg setting in /etc/system (7 didn't work, I ended up at 10), but from reading the list archives it seems that I may need to tune shmmni and shmmax as well. Any truth to this, or am I barking up the wrong tree?
Thanks,
-Shaun
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
participants (2)
-
henrik@hswn.dk
-
skasperowicz@c-cor.com