View previous topic :: View next topic |
Author |
Message |
igu n00b
Joined: 28 Sep 2002 Posts: 42
|
Posted: Mon Apr 03, 2006 12:10 pm Post subject: Apache2 init script (solved) |
|
|
Can't seem to get apache2 restarted through the init script after a few months of running without hicks.
Code: |
[root@blackadder] ~ # /etc/init.d/apache2 configtest
* Checking Apache Configuration ... [ ok ]
|
Code: |
[root@blackadder] ~ # /etc/init.d/apache2 start
[root@blackadder] ~ #
|
There, nothing happens. Not even "Starting apache2" shows up
I can start it through the "normal" cli by
Code: |
[root@blackadder] ~ # /usr/sbin/apache2 -e debug -D JK -D PHP5 -k start
[Mon Apr 03 14:05:38 2006] [debug] mod_so.c(248): loaded module access_module
[Mon Apr 03 14:05:38 2006] [debug] mod_so.c(248): loaded module auth_module
[Mon Apr 03 14:05:38 2006] [debug] mod_so.c(248): loaded module auth_anon_module
[Mon Apr 03 14:05:38 2006] [debug] mod_so.c(248): loaded module auth_dbm_module
[Mon Apr 03 14:05:38 2006] [debug] mod_so.c(248): loaded module auth_digest_module
[Mon Apr 03 14:05:38 2006] [debug] mod_so.c(248): loaded module charset_lite_module
[Mon Apr 03 14:05:38 2006] [debug] mod_so.c(248): loaded module env_module
[Mon Apr 03 14:05:38 2006] [debug] mod_so.c(248): loaded module expires_module
[Mon Apr 03 14:05:38 2006] [debug] mod_so.c(248): loaded module headers_module
[Mon Apr 03 14:05:38 2006] [debug] mod_so.c(248): loaded module mime_module
[Mon Apr 03 14:05:38 2006] [debug] mod_so.c(248): loaded module negotiation_module
[Mon Apr 03 14:05:38 2006] [debug] mod_so.c(248): loaded module setenvif_module
[Mon Apr 03 14:05:38 2006] [debug] mod_so.c(248): loaded module log_config_module
[Mon Apr 03 14:05:38 2006] [debug] mod_so.c(248): loaded module logio_module
[Mon Apr 03 14:05:38 2006] [debug] mod_so.c(248): loaded module cgi_module
[Mon Apr 03 14:05:38 2006] [debug] mod_so.c(248): loaded module cgid_module
[Mon Apr 03 14:05:38 2006] [debug] mod_so.c(248): loaded module suexec_module
[Mon Apr 03 14:05:38 2006] [debug] mod_so.c(248): loaded module proxy_module
[Mon Apr 03 14:05:38 2006] [debug] mod_so.c(248): loaded module proxy_http_module
[Mon Apr 03 14:05:38 2006] [debug] mod_so.c(248): loaded module alias_module
[Mon Apr 03 14:05:38 2006] [debug] mod_so.c(248): loaded module rewrite_module
[Mon Apr 03 14:05:38 2006] [debug] mod_so.c(248): loaded module actions_module
[Mon Apr 03 14:05:38 2006] [debug] mod_so.c(248): loaded module autoindex_module
[Mon Apr 03 14:05:38 2006] [debug] mod_so.c(248): loaded module dir_module
[Mon Apr 03 14:05:38 2006] [debug] mod_so.c(248): loaded module ext_filter_module
[Mon Apr 03 14:05:38 2006] [debug] mod_so.c(248): loaded module deflate_module
[Mon Apr 03 14:05:38 2006] [debug] mod_so.c(248): loaded module include_module
[Mon Apr 03 14:05:38 2006] [debug] mod_so.c(248): loaded module php5_module
[Mon Apr 03 14:05:38 2006] [debug] mod_so.c(248): loaded module jk_module
|
It serves the pages just as expected but for some reason the init script seems to do something else.
Any ideas to why this isn't working through the init script? _________________ :::
Administrator of gentoo.se/.no mirrors and homepages.
IRC: igu @EFNet #gentoo, #gentoo.se, #gentoo.no
Last edited by igu on Thu Jul 06, 2006 12:46 pm; edited 3 times in total |
|
Back to top |
|
|
igu n00b
Joined: 28 Sep 2002 Posts: 42
|
Posted: Mon Apr 03, 2006 7:05 pm Post subject: |
|
|
Problem solved.
Can't point to the exact thing that solved it but I took the opportunity to upgrade to a never kernel, switch to udev (and a fresh baselayout to go with it) and a general system update.
Now it's working like it should again. Strange... _________________ :::
Administrator of gentoo.se/.no mirrors and homepages.
IRC: igu @EFNet #gentoo, #gentoo.se, #gentoo.no |
|
Back to top |
|
|
igu n00b
Joined: 28 Sep 2002 Posts: 42
|
Posted: Thu Jun 08, 2006 8:18 pm Post subject: |
|
|
The problem is back and of course I'm unable to solve it this time.
Anyone got any clues?
i got some ideas from the guys from #gentoo @ efnet running strace (below) on a vanilla install
Code: | strace -e read,write -s 2048 /etc/init.d/apache2 start |
The output can be found on http://gentoo.se/strace
...and the output of Code: | strace /etc/init.d/apache2 start |
can be found here http://gentoo.se/strace2 _________________ :::
Administrator of gentoo.se/.no mirrors and homepages.
IRC: igu @EFNet #gentoo, #gentoo.se, #gentoo.no |
|
Back to top |
|
|
igu n00b
Joined: 28 Sep 2002 Posts: 42
|
Posted: Thu Jul 06, 2006 12:46 pm Post subject: |
|
|
Solved!
See https://forums.gentoo.org/viewtopic-p-3428725.html for more information. _________________ :::
Administrator of gentoo.se/.no mirrors and homepages.
IRC: igu @EFNet #gentoo, #gentoo.se, #gentoo.no |
|
Back to top |
|
|
|