starting apache22 in a jail - name-based shared memory failure
Julian H. Stacey
jhs at berklix.com
Sat Jun 22 00:35:42 UTC 2013
Hi all,
Any ideas ?
I have a jail running 9.1-RELEASE in a jail, with a kernel as
shown by uname -a
FreeBSD land.berklix.org 9.1-RELEASE-p4 FreeBSD 9.1-RELEASE-p4
#0: Mon Jun 17 11:42:37 UTC 2013
root at amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC
amd64
cd /usr/ports/www/apache22 ; su ; make install ;
cd /usr/local/etc/rc.d # using default httpd.conf
./apache22 stop ; ./apache22 start
tail -F /var/log/httpd-error.log
[info] mod_unique_id: using ip addr 144.76.10.75
[info] Init: Seeding PRNG with 144 bytes of entropy
[info] Init: Generating temporary RSA private keys (512/1024 bits)
[info] Init: Generating temporary DH parameters (512/1024 bits)
[warn] Init: Session Cache is not configured [hint: SSLSessionCache]
[info] Init: Initializing (virtual) servers for SSL
[info] mod_ssl/2.2.23 compiled against Server: Apache/2.2.23, Library: OpenSSL/0.9.8x
[notice] Digest: generating secret for digest authentication ...
[notice] Digest: done
[info] mod_unique_id: using ip addr 144.76.10.75
[info] Init: Seeding PRNG with 144 bytes of entropy
[info] Init: Generating temporary RSA private keys (512/1024 bits)
[info] Init: Generating temporary DH parameters (512/1024 bits)
[info] Init: Initializing (virtual) servers for SSL
[info] mod_ssl/2.2.23 compiled against Server: Apache/2.2.23, Library: OpenSSL/0.9.8x
[warn] pid file /var/run/httpd.pid overwritten -- Unclean shutdown of previous Apache run?
[crit] (78)Function not implemented: unable to create or access scoreboard "/var/run/httpd.scoreboard" (name-based shared memory failure)
For comparison, a non jailed 9.1 + apache22 + custom httpd.conf on
another server runs OK with
[info] mod_unique_id: using ip addr 83.236.223.115
[info] Init: Seeding PRNG with 136 bytes of entropy
[info] Init: Generating temporary RSA private keys (512/1024 bits)
[info] Init: Generating temporary DH parameters (512/1024 bits)
[warn] Init: Session Cache is not configured [hint: SSLSessionCache]
[info] Init: Initializing (virtual) servers for SSL
[info] mod_ssl/2.2.23 compiled against Server: Apache/2.2.23, Library: OpenSSL/0.9.8x
[notice] Digest: generating secret for digest authentication ...
[notice] Digest: done
[info] mod_unique_id: using ip addr 83.236.223.115
[info] Init: Seeding PRNG with 136 bytes of entropy
[info] Init: Generating temporary RSA private keys (512/1024 bits)
[info] Init: Generating temporary DH parameters (512/1024 bits)
[info] Init: Initializing (virtual) servers for SSL
[info] mod_ssl/2.2.23 compiled against Server: Apache/2.2.23, Library: OpenSSL/0.9.8x
[notice] Apache/2.2.23 (FreeBSD) mod_ssl/2.2.23 OpenSSL/0.9.8x DAV/2 configured -- resuming normal operations
[info] Server built: Dec 16 2012 07:07:43
Is jail disrupting shared memory ? Or some other problem ? Solution[s] ?
sysctl -a | grep memory
hw.cbb.start_memory: 2281701376
p1003_1b.memory_protection: 0
p1003_1b.shared_memory_objects: 200112
kstat.zfs.misc.arcstats.memory_throttle_count: 0
Any ideas welcome, Thanks
Cheers,
Julian
--
Julian Stacey, BSD Unix Linux C Sys Eng Consultant, Munich http://berklix.com
Reply below not above, like a play script. Indent old text with "> ".
Send plain text. No quoted-printable, HTML, base64, multipart/alternative.
More information about the freebsd-jail
mailing list