Hi,

I'm trying to configure my apache to run in chroot using
mod_secure, following info on gentoo-wiki:
http://gentoo-wiki.com/Apache_chroot:_the_mod_security_way

After modifying my apache config and creating chroot
I tried to restart apache, but it is not running:
====================================================
obelix ~ # /etc/init.d/apache2 restart
 * Caching service dependencies ...      [ ok ]
 * Stopping apache2 ...                  [ ok ]
 * Starting apache2 ...                  [ ok ]
obelix ~ # ps -e | grep apache
====================================================

Then I found following erros in /var/log/apache2/error_log:

[Wed Aug 23 18:18:12 2006] [notice] suEXEC mechanism enabled (wrapper:
/usr/sbin/suexec2)
[Wed Aug 23 18:18:12 2006] [notice] mod_security: chroot checkpoint #1
(pid=3080 ppid=3077)
[Wed Aug 23 18:18:12 2006] [notice] Digest: generating secret for digest
authentication ...
[Wed Aug 23 18:18:12 2006] [notice] Digest: done
[Wed Aug 23 18:18:12 2006] [notice] mod_security: chroot checkpoint #2
(pid=3081 ppid=1)
[Wed Aug 23 18:18:12 2006] [notice] mod_security: chroot successful,
path=/chroot/apache
[Wed Aug 23 18:18:12 2006] [warn] pid file /var/run/apache2.pid
overwritten -- Unclean shutdown of previous Apache run?
[Wed Aug 23 18:18:12 2006] [notice] Apache configured -- resuming normal
operations
[Wed Aug 23 18:18:12 2006] [alert] (11)Resource temporarily unavailable:
apr_thread_create: unable to create worker thread
[Wed Aug 23 18:18:12 2006] [alert] (11)Resource temporarily unavailable:
apr_thread_create: unable to create worker thread
[Wed Aug 23 18:18:13 2006] [alert] (11)Resource temporarily unavailable:
apr_thread_create: unable to create worker thread
[Wed Aug 23 18:18:14 2006] [alert] No active workers found... Apache is
exiting!


What does it mean, and how can I fix it? I doublechecked
my configuration, I did it exactly as advised on
gentoo-wiki, and despite of that it is not working... :-(

Jarry

--
gentoo-user@gentoo.org mailing list

Reply via email to