public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] mod_security: apr_thread_create error, apache chroot not starting...
@ 2006-08-23 18:29 Jarry
  0 siblings, 0 replies; only message in thread
From: Jarry @ 2006-08-23 18:29 UTC (permalink / raw
  To: gentoo-user

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



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2006-08-23 18:34 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-08-23 18:29 [gentoo-user] mod_security: apr_thread_create error, apache chroot not starting Jarry

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox