1 |
Hi, |
2 |
|
3 |
I'm trying to configure my apache to run in chroot using |
4 |
mod_secure, following info on gentoo-wiki: |
5 |
http://gentoo-wiki.com/Apache_chroot:_the_mod_security_way |
6 |
|
7 |
After modifying my apache config and creating chroot |
8 |
I tried to restart apache, but it is not running: |
9 |
==================================================== |
10 |
obelix ~ # /etc/init.d/apache2 restart |
11 |
* Caching service dependencies ... [ ok ] |
12 |
* Stopping apache2 ... [ ok ] |
13 |
* Starting apache2 ... [ ok ] |
14 |
obelix ~ # ps -e | grep apache |
15 |
==================================================== |
16 |
|
17 |
Then I found following erros in /var/log/apache2/error_log: |
18 |
|
19 |
[Wed Aug 23 18:18:12 2006] [notice] suEXEC mechanism enabled (wrapper: |
20 |
/usr/sbin/suexec2) |
21 |
[Wed Aug 23 18:18:12 2006] [notice] mod_security: chroot checkpoint #1 |
22 |
(pid=3080 ppid=3077) |
23 |
[Wed Aug 23 18:18:12 2006] [notice] Digest: generating secret for digest |
24 |
authentication ... |
25 |
[Wed Aug 23 18:18:12 2006] [notice] Digest: done |
26 |
[Wed Aug 23 18:18:12 2006] [notice] mod_security: chroot checkpoint #2 |
27 |
(pid=3081 ppid=1) |
28 |
[Wed Aug 23 18:18:12 2006] [notice] mod_security: chroot successful, |
29 |
path=/chroot/apache |
30 |
[Wed Aug 23 18:18:12 2006] [warn] pid file /var/run/apache2.pid |
31 |
overwritten -- Unclean shutdown of previous Apache run? |
32 |
[Wed Aug 23 18:18:12 2006] [notice] Apache configured -- resuming normal |
33 |
operations |
34 |
[Wed Aug 23 18:18:12 2006] [alert] (11)Resource temporarily unavailable: |
35 |
apr_thread_create: unable to create worker thread |
36 |
[Wed Aug 23 18:18:12 2006] [alert] (11)Resource temporarily unavailable: |
37 |
apr_thread_create: unable to create worker thread |
38 |
[Wed Aug 23 18:18:13 2006] [alert] (11)Resource temporarily unavailable: |
39 |
apr_thread_create: unable to create worker thread |
40 |
[Wed Aug 23 18:18:14 2006] [alert] No active workers found... Apache is |
41 |
exiting! |
42 |
|
43 |
|
44 |
What does it mean, and how can I fix it? I doublechecked |
45 |
my configuration, I did it exactly as advised on |
46 |
gentoo-wiki, and despite of that it is not working... :-( |
47 |
|
48 |
Jarry |
49 |
|
50 |
-- |
51 |
gentoo-user@g.o mailing list |