Running Hobbit-4.2 in Ezjail JAIL, OS FreeBSD-6.2 hobbitd does not seem to want to load. Been fighting this one all day :(
Found this thread and applied HOST sysctl.conf http://www.unidata.ucar.edu/support/help/MailArchives/mcidas/msg02324.html
%vi /etc/sysctl.conf kern.ipc.shmmax=536870912
Also from /var/log/hobbit/hobbitlauch.log (trimmed) 2007-04-09 19:56:46 Cannot access checkpoint file /home/hobbit/server/tmp/hobbitd.chk for restore 2007-04-09 19:56:46 Setting up network listener on 0.0.0.0:1984 2007-04-09 19:56:46 Could not get shm of size 262144: Function not implemented 2007-04-09 19:56:46 Cannot setup status channel 2007-04-09 19:56:46 Task hobbitd terminated, status 1
HOST system reports (192.168.222.90):
%sysctl -a |grep shm kern.ipc.shmmax: 536870912 kern.ipc.shmmin: 1 kern.ipc.shmmni: 192 kern.ipc.shmseg: 128 kern.ipc.shmall: 8192 kern.ipc.shm_use_phys: 0 kern.ipc.shm_allow_removed: 0 shm 1 12K - 1
%sysctl -A|grep semm kern.ipc.semmap: 30 kern.ipc.semmni: 40 kern.ipc.semmns: 100 kern.ipc.semmnu: 30 kern.ipc.semmsl: 60
%netstat -na | grep tcp ; netstat -na |grep udp tcp4 0 0 192.168.222.91.22 192.168.222.61.4319 ESTABLISHED tcp4 0 0 192.168.222.91.22 192.168.222.61.4015 ESTABLISHED tcp4 0 52 192.168.222.90.22 192.168.222.61.4005 ESTABLISHED tcp4 0 0 127.0.0.1.25 *.* LISTEN tcp4 0 0 192.168.222.92.25 *.* LISTEN tcp4 0 0 192.168.222.91.25 *.* LISTEN tcp4 0 0 192.168.222.91.22 *.* LISTEN tcp4 0 0 192.168.222.91.3306 *.* LISTEN tcp4 0 0 192.168.222.91.80 *.* LISTEN tcp4 0 0 192.168.222.90.22 *.* LISTEN udp4 0 0 192.168.222.92.514 *.*
JAILed Hobbit reports(192.168.222.91):
$ ps -aux|more USER PID %CPU %MEM VSZ RSS TT STAT STARTED TIME COMMAND hobbit 1272 0.0 1.3 6252 3300 ?? SJ 7:56PM 0:00.07 sshd: hobbit at ttyp1 (sshd) hobbit 1282 0.0 0.4 1372 1008 ?? SsJ 7:56PM 0:00.01 /home/hobbit/server/bin/hobbitlaunch --config=/home/hobbit/ser
$ sysctl -A |grep shm kern.ipc.shmmax: 536870912 kern.ipc.shmmin: 1 kern.ipc.shmmni: 192 kern.ipc.shmseg: 128 kern.ipc.shmall: 8192 kern.ipc.shm_use_phys: 0 kern.ipc.shm_allow_removed: 0 kern.ipc.shmsegs: Format: Length:9984 Dump:0x00000000000000000002000000000000... shm 1 12K - 1
$ less /var/log/hobbit/hobbitlaunch.log 2007-04-09 19:56:46 Loading hostnames 2007-04-09 19:56:46 Loading saved state 2007-04-09 19:56:46 Cannot access checkpoint file /home/hobbit/server/tmp/hobbitd.chk for restore 2007-04-09 19:56:46 Setting up network listener on 0.0.0.0:1984 2007-04-09 19:56:46 Setting up signal handlers 2007-04-09 19:56:46 Setting up hobbitd channels 2007-04-09 19:56:46 Could not get shm of size 262144: Function not implemented 2007-04-09 19:56:46 Cannot setup status channel 2007-04-09 19:56:46 Task hobbitd terminated, status 1
Thanks Don