inn 2.5.1 in freebsd jail with buffindexed

rjmlist at xs4all.nl rjmlist at xs4all.nl
Sat Nov 28 22:14:39 UTC 2009


Hi,

I try to run inn 2.5.1 in a freebsd 7.2 jail, but it fails to start.

excerpt from syslog
Nov 28 22:59:30 zompig innd: cant create shared memory segment: Function not implemented
Nov 28 22:59:30 zompig innd: buffindexed: ovinitdisks: cant create shmem for /opt/news/cycbuffs/OV1 len 32768: Function not implemented
Nov 28 22:59:30 zompig innd: SERVER cant open overview method

ldd /opt/news/bin/innd:
/opt/news/bin/innd
        libdb-4.7.so.0 => /usr/local/lib/libdb-4.7.so.0 (0x280e3000)
        libz.so.4 => /lib/libz.so.4 (0x28230000)
        libperl.so => /usr/local/lib/perl5/5.10.1/mach/CORE/libperl.so (0x28242000)
        libm.so.5 => /lib/libm.so.5 (0x28373000)
        libcrypt.so.4 => /lib/libcrypt.so.4 (0x28388000)
        libutil.so.7 => /lib/libutil.so.7 (0x283a1000)
        libpython2.6.so => /usr/local/lib/libpython2.6.so (0x283af000)
        libthr.so.3 => /lib/libthr.so.3 (0x284fa000)
        libc.so.7 => /lib/libc.so.7 (0x2850f000)

/opt/news/bin/inncheck -a does not complain

ls -lan /opt/news/cycbuffs:
total 4920050
drwxrwxrwx   2 0  8        512 Nov 28 22:30 .
drwxr-xr-x  15 8  8        512 Sep 15 14:49 ..
-rw-rw-r--   1 8  8  838860800 Nov 28 22:26 CB1
-rw-rw-r--   1 8  8  838860800 Nov 28 22:26 CB2
-rw-rw-r--   1 8  8  838860800 Nov 28 22:27 CB3
-rw-rw-r--   1 8  8  838860800 Nov 28 22:29 OV1
-rw-rw-r--   1 8  8  838860800 Nov 28 22:30 OV2
-rw-rw-r--   1 8  8  838860800 Nov 28 22:30 OV3

I compiled both db and inn from source.
CPPFLAGS="-I/usr/local/include/db47" LDFLAGS="-L/usr/local/lib/db47"
./configure --enable-ipv6 --with-berkeleydb --with-perl --with-python
--with-openssl --prefix=/opt/news
with or without --enable-large-files did not make any difference (shot in 
the dark)

I for now think the jail setup is the cullprit, but I'm not certain.

excerpt rc.conf:
~
jail_zompig_devfs_enable="YES"
jail_zompig_fdescfs_enable="YES"               # mount fdescfs in the jail
jail_zompig_procfs_enable="YES"                # mount procfs in jail
~
       
Anyone else here tried this before and succeeded ? Or willing to provide
me some insight where to look ?

Regards,
Robert



More information about the inn-workers mailing list