Problem running apache under Jails

Konrad Neuwirth konrad at fimsch.net
Thu Mar 22 07:44:14 PDT 2012


Hello everyone,

I am having a problem with apache running inside a jail that I do not understand. I've configured apache to run as follows (this is from mk.conf): 

PKG_OPTIONS.apache+=suexec apache-mpm-prefork
APACHE_SUEXEC_DOCROOT=/srv/web
APACHE_SUEXEC_USERDIR_SUFFIX="www"
APACHE_SUEXEC_USERDIR="www"
PKG_APACHE_DEFAULT = apache22

It compiled all right, and running on this system without jail does work wonderful. But starting the apache process inside a jail yields the following entries in error_log: 

[Thu Mar 22 00:23:04 2012] [error] (78)Function not implemented: Cannot create SSLMutex
Configuration Failed

Removing mod_ssl from the apache config then leads to: 

Thu Mar 22 00:34:54 2012] [emerg] (78)Function not implemented: Couldn't create accept lock (/var/run/accept.lock.81125) (5)

They both mean that apache doesn't start. 

What can I do to make it happy? 

Thank you, 
 Konrad Neuwirth





More information about the Users mailing list