Current time: 12-23-2024, 09:17 PM Hello There, Guest! (LoginRegister)


Thread Closed 
[ERLEDIGT]Apache2 startet nicht mehr
Author Message
drdon Offline


Posts: 3
Joined: Feb 2011
Reputation: 0
Post: #1
Sad [ERLEDIGT]Apache2 startet nicht mehr
Hallo zusammen,

nachdem ich mein Debian von Lenny auf Squeeze geupdatet habe startet der Indianer nicht mehr. Leider bekomme ich auch keine Aussage über das problem. Hab nichts an den configs verändert.

Code:
team-hal:/# /etc/init.d/apache2 start
Starting web server: apache2Action 'start' failed.
The Apache error log may have more information.
failed!

Code:
team-hal:/# apache2ctl start
Action 'start' failed.
The Apache error log may have more information.

Code:
team-hal:/# apache2ctl graceful
httpd not running, trying to start
Action 'graceful' failed.
The Apache error log may have more information.

Code:
team-hal:/# apache2ctl configtest
Syntax OK

Im error.log stehen nur einge "File does not exist" meldungen, die sich aber nicht auf systemdateien beziehen.


Wenn ich den gesamten apachen entfern (inkl. aller configdateien) und blanko neu installiere (ohne die ispCP files) rennt er problemlos. (natürlich geht keine seite, nur die standard "It Works!" meldung)

Kopier ich dann die ispCP configs zurück und möchte diese laden, startet er nicht bzw. stürzt ab und geht auch nicht mehr an.
Das verursacht im error.log diese Aussage:

Code:
[Sat Feb 12 14:05:41 2011] [notice] SIGUSR1 received.  Doing graceful restart

Code:
team-hal:/# /usr/sbin/apache2 -t -D DUMP_MODULES
Loaded Modules:
core_module (static)
log_config_module (static)
logio_module (static)
mpm_worker_module (static)
http_module (static)
so_module (static)
actions_module (shared)
alias_module (shared)
auth_basic_module (shared)
authn_file_module (shared)
authz_default_module (shared)
authz_groupfile_module (shared)
authz_host_module (shared)
authz_user_module (shared)
autoindex_module (shared)
cgi_module (shared)
cgid_module (shared)
dav_module (shared)
dav_fs_module (shared)
deflate_module (shared)
dir_module (shared)
env_module (shared)
fastcgi_module (shared)
fcgid_module (shared)
mime_module (shared)
negotiation_module (shared)
proxy_module (shared)
proxy_http_module (shared)
removeip_module (shared)
reqtimeout_module (shared)
rewrite_module (shared)
setenvif_module (shared)
ssl_module (shared)
status_module (shared)
suexec_module (shared)
Syntax OK

Code:
team-hal:/# /usr/sbin/apache2 -e debug
[Sat Feb 12 14:41:59 2011] [debug] mod_so.c(246): loaded module actions_module
[Sat Feb 12 14:41:59 2011] [debug] mod_so.c(246): loaded module alias_module
[Sat Feb 12 14:41:59 2011] [debug] mod_so.c(246): loaded module auth_basic_module
[Sat Feb 12 14:41:59 2011] [debug] mod_so.c(246): loaded module authn_file_module
[Sat Feb 12 14:41:59 2011] [debug] mod_so.c(246): loaded module authz_default_module
[Sat Feb 12 14:41:59 2011] [debug] mod_so.c(246): loaded module authz_groupfile_module
[Sat Feb 12 14:41:59 2011] [debug] mod_so.c(246): loaded module authz_host_module
[Sat Feb 12 14:41:59 2011] [debug] mod_so.c(246): loaded module authz_user_module
[Sat Feb 12 14:41:59 2011] [debug] mod_so.c(246): loaded module autoindex_module
[Sat Feb 12 14:41:59 2011] [debug] mod_so.c(246): loaded module cgi_module
[Sat Feb 12 14:41:59 2011] [debug] mod_so.c(246): loaded module cgid_module
[Sat Feb 12 14:41:59 2011] [debug] mod_so.c(246): loaded module dav_module
[Sat Feb 12 14:41:59 2011] [debug] mod_so.c(246): loaded module dav_fs_module
[Sat Feb 12 14:41:59 2011] [debug] mod_so.c(246): loaded module deflate_module
[Sat Feb 12 14:41:59 2011] [debug] mod_so.c(246): loaded module dir_module
[Sat Feb 12 14:41:59 2011] [debug] mod_so.c(246): loaded module env_module
[Sat Feb 12 14:41:59 2011] [debug] mod_so.c(246): loaded module fastcgi_module
[Sat Feb 12 14:41:59 2011] [debug] mod_so.c(246): loaded module fcgid_module
[Sat Feb 12 14:41:59 2011] [debug] mod_so.c(246): loaded module mime_module
[Sat Feb 12 14:41:59 2011] [debug] mod_so.c(246): loaded module negotiation_module
[Sat Feb 12 14:41:59 2011] [debug] mod_so.c(246): loaded module proxy_module
[Sat Feb 12 14:41:59 2011] [debug] mod_so.c(246): loaded module proxy_http_module
[Sat Feb 12 14:41:59 2011] [debug] mod_so.c(246): loaded module removeip_module
[Sat Feb 12 14:41:59 2011] [debug] mod_so.c(246): loaded module reqtimeout_module
[Sat Feb 12 14:41:59 2011] [debug] mod_so.c(246): loaded module rewrite_module
[Sat Feb 12 14:41:59 2011] [debug] mod_so.c(246): loaded module setenvif_module
[Sat Feb 12 14:41:59 2011] [debug] mod_so.c(246): loaded module ssl_module
[Sat Feb 12 14:41:59 2011] [debug] mod_so.c(246): loaded module status_module
[Sat Feb 12 14:41:59 2011] [debug] mod_so.c(246): loaded module suexec_module


braucht ihr noch mehr daten?
hoffe jemand hat eine idee - habe nämlich irgendwie keine lust das ganze teil neu aufzusetzen Smile

Danke im vorraus

Gruß
Stefan
(This post was last modified: 03-18-2011 09:10 PM by ZooL.)
02-12-2011 11:43 PM
Find all posts by this user
ShadowJumper Offline
Member
***

Posts: 287
Joined: Sep 2008
Reputation: 2
Post: #2
RE: Apache2 startet nicht mehr
Hi,

interessant wären ja die "File does not exist" Fehlermeldungen. Diese bringt der Indianer ja nicht ohne Grund Wink

Auch wenn es vielleicht für dich auf den ersten blick unwahrscheinlich aussehen mag das dort der Fehler liegt, sollte man diese genauer anschauen und beheben. Den "normal" ist es nicht.

Nach einem "/etc/init.d/apache2 start" sollte im error.log nur drinnen stehen das der Indianer erfolgreich gestartet wurde. Alles was da ansonsten kommt sollte man auch wenn er augenscheinlich "fehlerfrei" läuft immer genau anschauen.

Möglicherweise war der "Fehler" schon vorher drinnen, hatte aber unter Debian 5 (noch) keine Auswirkung.
02-12-2011 11:49 PM
Find all posts by this user
drdon Offline


Posts: 3
Joined: Feb 2011
Reputation: 0
Post: #3
RE: Apache2 startet nicht mehr
hey,

danke für die schnelle antwort.

hier ein auszug aus der error.log:

Code:
[Sat Feb 12 14:05:19 2011] [error] [client 178.26.142.64] File does not exist: /var/www/server.php
[Sat Feb 12 14:05:19 2011] [error] [client 66.249.66.129] File does not exist: /var/www/aion.php
[Sat Feb 12 14:05:21 2011] [error] [client 78.54.1.204] File does not exist: /var/www/server.php
[Sat Feb 12 14:05:22 2011] [error] [client 178.77.96.249] File does not exist: /var/www/server.php
[Sat Feb 12 14:05:23 2011] [error] [client 88.198.63.122] File does not exist: /var/www/server.php
[Sat Feb 12 14:05:23 2011] [error] [client 79.255.112.187] File does not exist: /var/www/server.php
[Sat Feb 12 14:05:23 2011] [error] [client 81.89.99.180] File does not exist: /var/www/server.php
[Sat Feb 12 14:05:25 2011] [error] [client 188.40.208.83] File does not exist: /var/www/server.php
[Sat Feb 12 14:05:25 2011] [error] [client 213.133.123.132] File does not exist: /var/www/server.php
[Sat Feb 12 14:05:25 2011] [error] [client 217.172.187.122] File does not exist: /var/www/server.php
[Sat Feb 12 14:05:30 2011] [error] [client 188.40.208.83] File does not exist: /var/www/server.php
[Sat Feb 12 14:05:30 2011] [error] [client 92.73.149.201] File does not exist: /var/www/server.php
[Sat Feb 12 14:05:31 2011] [error] [client 92.73.149.201] File does not exist: /var/www/server.php
[Sat Feb 12 14:05:32 2011] [error] [client 92.73.149.201] File does not exist: /var/www/server.php
[Sat Feb 12 14:05:32 2011] [error] [client 88.84.130.139] File does not exist: /var/www/server.php
[Sat Feb 12 14:05:36 2011] [error] [client 79.255.112.187] File does not exist: /var/www/server.php
[Sat Feb 12 14:05:36 2011] [error] [client 217.172.187.122] File does not exist: /var/www/server.php
[Sat Feb 12 14:05:36 2011] [error] [client 88.84.130.139] File does not exist: /var/www/server.php
[Sat Feb 12 14:05:37 2011] [error] [client 178.26.142.64] File does not exist: /var/www/server.php
[Sat Feb 12 14:05:37 2011] [error] [client 188.40.208.83] File does not exist: /var/www/server.php
[Sat Feb 12 14:05:38 2011] [error] [client 92.73.149.201] File does not exist: /var/www/server.php
[Sat Feb 12 14:05:41 2011] [notice] SIGUSR1 received.  Doing graceful restart

Das sind die letzten paar zeilen.

Die error.log Datei wurde mit einem "sauberen" apache2 angelegt, ohne ispCP configs.
Von daher kommen die Fehlermeldungen wohl daher, dass der Indianer natürlich nicht weiß wo er die Anfragen hinleiten soll (die vhosts fehlen ja..).
02-13-2011 01:07 AM
Find all posts by this user
drdon Offline


Posts: 3
Joined: Feb 2011
Reputation: 0
Post: #4
RE: Apache2 startet nicht mehr
sorry für den doppelpost.

habe mal einen "strace" gemacht.

Code:
team-hal:/var/log# strace /etc/init.d/apache2 start
execve("/etc/init.d/apache2", ["/etc/init.d/apache2", "start"], [/* 21 vars */]) = 0
brk(0)                                  = 0x889e000
access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or directory)
mmap2(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb78e0000
access("/etc/ld.so.preload", R_OK)      = -1 ENOENT (No such file or directory)
open("/etc/ld.so.cache", O_RDONLY)      = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=17163, ...}) = 0
mmap2(NULL, 17163, PROT_READ, MAP_PRIVATE, 3, 0) = 0xb78db000
close(3)                                = 0
access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or directory)
open("/lib/i686/cmov/libc.so.6", O_RDONLY) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\320m\1\0004\0\0\0"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=1323460, ...}) = 0
mmap2(NULL, 1333608, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb7795000
mmap2(0xb78d5000, 12288, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x13f) = 0xb78d5000
mmap2(0xb78d8000, 10600, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xb78d8000
close(3)                                = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7794000
set_thread_area({entry_number:-1 -> 6, base_addr:0xb77948d0, limit:1048575, seg_32bit:1, contents:0, read_exec_only:0, limit_in_pages:1, seg_not_present:0, useable:1}) = 0
mprotect(0xb78d5000, 8192, PROT_READ)   = 0
mprotect(0xb78fe000, 4096, PROT_READ)   = 0
munmap(0xb78db000, 17163)               = 0
getpid()                                = 23307
rt_sigaction(SIGCHLD, {SIG_DFL, [CHLD], SA_RESTART}, {SIG_DFL, [], 0}, 8) = 0
geteuid32()                             = 0
brk(0)                                  = 0x889e000
brk(0x88bf000)                          = 0x88bf000
getppid()                               = 23306
stat64("/var/log", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
stat64(".", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
open("/etc/init.d/apache2", O_RDONLY)   = 3
fcntl64(3, F_DUPFD, 10)                 = 10
close(3)                                = 0
fcntl64(10, F_SETFD, FD_CLOEXEC)        = 0
rt_sigaction(SIGINT, NULL, {SIG_DFL, [], 0}, 8) = 0
rt_sigaction(SIGINT, {0x8056520, ~[RTMIN RT_1], 0}, NULL, 8) = 0
rt_sigaction(SIGQUIT, NULL, {SIG_DFL, [], 0}, 8) = 0
rt_sigaction(SIGQUIT, {SIG_DFL, ~[RTMIN RT_1], 0}, NULL, 8) = 0
rt_sigaction(SIGTERM, NULL, {SIG_DFL, [], 0}, 8) = 0
rt_sigaction(SIGTERM, {SIG_DFL, ~[RTMIN RT_1], 0}, NULL, 8) = 0
read(10, "#!/bin/sh\n### BEGIN INIT INFO\n# "..., 8192) = 7476
pipe([3, 4])                            = 0
clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0xb7794938) = 23308
close(4)                                = 0
read(3, "\n", 128)                      = 1
read(3, "", 128)                        = 0
--- SIGCHLD (Child exited) @ 0 (0) ---
close(3)                                = 0
wait4(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0, NULL) = 23308
stat64("/usr/sbin/apache2", {st_mode=S_IFREG|0755, st_size=406784, ...}) = 0
geteuid32()                             = 0
open("/lib/lsb/init-functions", O_RDONLY) = 3
fcntl64(3, F_DUPFD, 10)                 = 11
close(3)                                = 0
fcntl64(11, F_SETFD, FD_CLOEXEC)        = 0
read(11, "# /lib/lsb/init-functions for De"..., 8192) = 8192
read(11, "_message (int exitstatus)\nlog_en"..., 8192) = 1592
stat64("/etc/lsb-base-logging.sh", 0xbf862090) = -1 ENOENT (No such file or directory)
read(11, "", 8192)                      = 0
close(11)                               = 0
stat64("/etc/default/rcS", {st_mode=S_IFREG|0644, st_size=282, ...}) = 0
open("/etc/default/rcS", O_RDONLY)      = 3
fcntl64(3, F_DUPFD, 10)                 = 11
close(3)                                = 0
fcntl64(11, F_SETFD, FD_CLOEXEC)        = 0
read(11, "#\n# /etc/default/rcS\n#\n# Default"..., 8192) = 282
read(11, "", 8192)                      = 0
close(11)                               = 0
stat64("/etc/default/apache2", {st_mode=S_IFREG|0644, st_size=637, ...}) = 0
open("/etc/default/apache2", O_RDONLY)  = 3
fcntl64(3, F_DUPFD, 10)                 = 11
close(3)                                = 0
fcntl64(11, F_SETFD, FD_CLOEXEC)        = 0
read(11, "### htcacheclean settings ###\n\n#"..., 8192) = 637
read(11, "", 8192)                      = 0
close(11)                               = 0
pipe([3, 4])                            = 0
clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0xb7794938) = 23309
close(4)                                = 0
read(3, "/var/run/apache2.pid\n", 128)  = 21
read(3, "", 128)                        = 0
--- SIGCHLD (Child exited) @ 0 (0) ---
close(3)                                = 0
wait4(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0, NULL) = 23309
write(1, "Starting web server: apache2", 28Starting web server: apache2) = 28
stat64("/usr/local/sbin/env", 0xbf8623f0) = -1 ENOENT (No such file or directory)
stat64("/usr/local/bin/env", 0xbf8623f0) = -1 ENOENT (No such file or directory)
stat64("/usr/sbin/env", 0xbf8623f0)     = -1 ENOENT (No such file or directory)
stat64("/usr/bin/env", {st_mode=S_IFREG|0755, st_size=22400, ...}) = 0
clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0xb7794938) = 23310
wait4(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0, NULL) = 23310
--- SIGCHLD (Child exited) @ 0 (0) ---
pipe([3, 4])                            = 0
clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0xb7794938) = 23321
close(4)                                = 0
read(3, "\n", 128)                      = 1
read(3, "", 128)                        = 0
--- SIGCHLD (Child exited) @ 0 (0) ---
close(3)                                = 0
wait4(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0, NULL) = 23321
stat64("/etc/apache2/mods-enabled/disk_cache.load", 0xbf861fa0) = -1 ENOENT (No such file or directory)
ioctl(1, SNDCTL_TMR_TIMEBASE or TCGETS, {B38400 opost isig icanon echo ...}) = 0
stat64("/usr/bin/tput", {st_mode=S_IFREG|0755, st_size=9588, ...}) = 0
geteuid32()                             = 0
stat64("/usr/bin/expr", {st_mode=S_IFREG|0755, st_size=31920, ...}) = 0
geteuid32()                             = 0
open("/dev/null", O_WRONLY|O_CREAT|O_TRUNC|O_LARGEFILE, 0666) = 3
fcntl64(1, F_DUPFD, 10)                 = 11
close(1)                                = 0
fcntl64(11, F_SETFD, FD_CLOEXEC)        = 0
dup2(3, 1)                              = 1
close(3)                                = 0
fcntl64(2, F_DUPFD, 10)                 = 12
close(2)                                = 0
fcntl64(12, F_SETFD, FD_CLOEXEC)        = 0
dup2(1, 2)                              = 2
clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0xb7794938) = 23322
wait4(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0, NULL) = 23322
--- SIGCHLD (Child exited) @ 0 (0) ---
dup2(11, 1)                             = 1
close(11)                               = 0
dup2(12, 2)                             = 2
close(12)                               = 0
open("/dev/null", O_WRONLY|O_CREAT|O_TRUNC|O_LARGEFILE, 0666) = 3
fcntl64(1, F_DUPFD, 10)                 = 11
close(1)                                = 0
fcntl64(11, F_SETFD, FD_CLOEXEC)        = 0
dup2(3, 1)                              = 1
close(3)                                = 0
fcntl64(2, F_DUPFD, 10)                 = 12
close(2)                                = 0
fcntl64(12, F_SETFD, FD_CLOEXEC)        = 0
dup2(1, 2)                              = 2
clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0xb7794938) = 23323
wait4(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0, NULL) = 23323
--- SIGCHLD (Child exited) @ 0 (0) ---
dup2(11, 1)                             = 1
close(11)                               = 0
dup2(12, 2)                             = 2
close(12)                               = 0
pipe([3, 4])                            = 0
clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0xb7794938) = 23324
close(4)                                = 0
read(3, "\33[31m", 128)                 = 5
--- SIGCHLD (Child exited) @ 0 (0) ---
read(3, "", 128)                        = 0
close(3)                                = 0
wait4(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0, NULL) = 23324
pipe([3, 4])                            = 0
clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0xb7794938) = 23325
close(4)                                = 0
read(3, "\33[33m", 128)                 = 5
--- SIGCHLD (Child exited) @ 0 (0) ---
read(3, "", 128)                        = 0
close(3)                                = 0
wait4(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0, NULL) = 23325
pipe([3, 4])                            = 0
clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0xb7794938) = 23326
close(4)                                = 0
read(3, "\33[39;49m", 128)              = 8
--- SIGCHLD (Child exited) @ 0 (0) ---
read(3, "", 128)                        = 0
close(3)                                = 0
wait4(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0, NULL) = 23326
write(1, ".\n", 2.
)                      = 2
read(10, "", 8192)                      = 0
exit_group(0)                           = ?
02-13-2011 04:01 AM
Find all posts by this user
ShadowJumper Offline
Member
***

Posts: 287
Joined: Sep 2008
Reputation: 2
Post: #5
RE: Apache2 startet nicht mehr
Was steht den in der /var/log/apache2/default-error.log" ?
02-13-2011 07:01 PM
Find all posts by this user
asdfjklö Offline


Posts: 1
Joined: Mar 2011
Reputation: 0
Post: #6
RE: Apache2 startet nicht mehr
ich hab auch stunden gesucht...

http://blog.rvi-media.de/linux/ein-paar-...alisieren/
03-16-2011 10:20 AM
Find all posts by this user
Thread Closed 


Forum Jump:


User(s) browsing this thread: 2 Guest(s)