no_player_4u
04/02/09, 10:22
Voor zover ik met ps/top kan zien is er geen enkel proces en ook na een reboot is apache niet opgestart.
Ik heb twee vhosts, de default vhost die standaard by Ubuntu zit en me eigen.
Ik heb dit gedaan
strace /etc/init.d/apache2 start
ipv /usr/sbin/apache2
omdat ik anders deze foutmelding krijg: apache2: bad user name ${APACHE_RUN_USER}
deze wordt variable wordt namelijk in apache2.conf gezet.
execve("/etc/init.d/apache2", ["/etc/init.d/apache2", "start"], [/* 18 vars */]) = 0
brk(0) = 0x61b000
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fc4a9f3f000
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fc4a9f3d000
access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory)
open("/etc/ld.so.cache", O_RDONLY) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=24948, ...}) = 0
mmap(NULL, 24948, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7fc4a9f36000
close(3) = 0
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
open("/lib/libc.so.6", O_RDONLY) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\340\342"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=1436976, ...}) = 0
mmap(NULL, 3543672, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7fc4a99c1000
mprotect(0x7fc4a9b19000, 2097152, PROT_NONE) = 0
mmap(0x7fc4a9d19000, 20480, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x158000) = 0x7fc4a9d19000
mmap(0x7fc4a9d1e000, 17016, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7fc4a9d1e000
close(3) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fc4a9f35000
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fc4a9f34000
arch_prctl(ARCH_SET_FS, 0x7fc4a9f346e0) = 0
mprotect(0x7fc4a9d19000, 12288, PROT_READ) = 0
munmap(0x7fc4a9f36000, 24948) = 0
getpid() = 27677
rt_sigaction(SIGCHLD, {SIG_DFL}, {SIG_DFL}, 8) = 0
geteuid() = 0
brk(0) = 0x61b000
brk(0x63c000) = 0x63c000
getppid() = 27676
stat("/etc/apache2/sites-available", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
stat(".", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
open("/etc/init.d/apache2", O_RDONLY) = 3
fcntl(3, F_DUPFD, 10) = 10
close(3) = 0
fcntl(10, F_SETFD, FD_CLOEXEC) = 0
rt_sigaction(SIGINT, NULL, {SIG_DFL}, 8) = 0
rt_sigaction(SIGINT, {0x40e480, ~[RTMIN RT_1], SA_RESTORER, 0x7fc4a99f3100}, NULL, 8) = 0
rt_sigaction(SIGQUIT, NULL, {SIG_DFL}, 8) = 0
rt_sigaction(SIGQUIT, {SIG_DFL}, NULL, 8) = 0
rt_sigaction(SIGTERM, NULL, {SIG_DFL}, 8) = 0
rt_sigaction(SIGTERM, {SIG_DFL}, NULL, 8) = 0
read(10, "#!/bin/sh -e\n### BEGIN INIT INFO"..., 8192) = 5736
stat("/usr/sbin/apache2", {st_mode=S_IFREG|0755, st_size=413952, ...}) = 0
geteuid() = 0
open("/lib/lsb/init-functions", O_RDONLY) = 3
fcntl(3, F_DUPFD, 10) = 11
close(3) = 0
fcntl(11, F_SETFD, FD_CLOEXEC) = 0
read(11, "# /lib/lsb/init-functions for De"..., 8192) = 8192
read(11, " if log_use_fancy_output; "..., 8192) = 300
stat("/etc/lsb-base-logging.sh", {st_mode=S_IFREG|0644, st_size=3820, ...}) = 0
open("/etc/lsb-base-logging.sh", O_RDONLY) = 3
fcntl(3, F_DUPFD, 10) = 12
close(3) = 0
fcntl(12, F_SETFD, FD_CLOEXEC) = 0
read(12, "# Default init script logging fu"..., 8192) = 3820
read(12, "", 8192) = 0
close(12) = 0
read(11, "", 8192) = 0
close(11) = 0
stat("/etc/default/rcS", {st_mode=S_IFREG|0644, st_size=261, ...}) = 0
open("/etc/default/rcS", O_RDONLY) = 3
fcntl(3, F_DUPFD, 10) = 11
close(3) = 0
fcntl(11, F_SETFD, FD_CLOEXEC) = 0
read(11, "#\n# /etc/default/rcS\n#\n# Default"..., 8192) = 261
read(11, "", 8192) = 0
close(11) = 0
stat("/etc/default/apache2", {st_mode=S_IFREG|0644, st_size=637, ...}) = 0
open("/etc/default/apache2", O_RDONLY) = 3
fcntl(3, F_DUPFD, 10) = 11
close(3) = 0
fcntl(11, F_SETFD, FD_CLOEXEC) = 0
read(11, "### htcacheclean settings ###\n\n#"..., 8192) = 637
read(11, "", 8192) = 0
close(11) = 0
open("/dev/null", O_WRONLY|O_CREAT|O_TRUNC, 0666) = 3
fcntl(1, F_DUPFD, 10) = 11
close(1) = 0
fcntl(11, F_SETFD, FD_CLOEXEC) = 0
dup2(3, 1) = 1
close(3) = 0
fcntl(2, F_DUPFD, 10) = 12
close(2) = 0
fcntl(12, F_SETFD, FD_CLOEXEC) = 0
dup2(1, 2) = 2
stat("/usr/local/sbin/usplash_write", 0x7fffb1f40be0) = -1 ENOENT (No such file or directory)
stat("/usr/local/bin/usplash_write", 0x7fffb1f40be0) = -1 ENOENT (No such file or directory)
stat("/usr/sbin/usplash_write", 0x7fffb1f40be0) = -1 ENOENT (No such file or directory)
stat("/usr/bin/usplash_write", 0x7fffb1f40be0) = -1 ENOENT (No such file or directory)
stat("/sbin/usplash_write", 0x7fffb1f40be0) = -1 ENOENT (No such file or directory)
stat("/bin/usplash_write", 0x7fffb1f40be0) = -1 ENOENT (No such file or directory)
stat("/usr/games/usplash_write", 0x7fffb1f40be0) = -1 ENOENT (No such file or directory)
write(1, "usplash_write: not found\n", 25) = 25
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|SIGC HLD, child_tidptr=0x7fc4a9f34770) = 27678
close(4) = 0
read(3, "/dev/pts/0\n", 128) = 11
read(3, "", 128) = 0
--- SIGCHLD (Child exited) @ 0 (0) ---
close(3) = 0
wait4(4294967295, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0, NULL) = 27678
stat("/usr/bin/tput", {st_mode=S_IFREG|0755, st_size=11848, ...}) = 0
geteuid() = 0
stat("/usr/bin/expr", {st_mode=S_IFREG|0755, st_size=105472, ...}) = 0
geteuid() = 0
fcntl(11, F_SETFD, FD_CLOEXEC) = 0
dup2(3, 1) = 1
close(3) = 0
fcntl(2, F_DUPFD, 10) = 12
close(2) = 0
fcntl(12, F_SETFD, FD_CLOEXEC) = 0
dup2(1, 2) = 2
clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGC HLD, child_tidptr=0x7fc4a9f34770) = 27680
wait4(4294967295, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0, NULL) = 27680
--- 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, 0666) = 3
fcntl(1, F_DUPFD, 10) = 11
close(1) = 0
fcntl(11, F_SETFD, FD_CLOEXEC) = 0
dup2(3, 1) = 1
close(3) = 0
fcntl(2, F_DUPFD, 10) = 12
close(2) = 0
fcntl(12, F_SETFD, FD_CLOEXEC) = 0
dup2(1, 2) = 2
clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGC HLD, child_tidptr=0x7fc4a9f34770) = 27681
wait4(4294967295, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0, NULL) = 27681
--- 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|SIGC HLD, child_tidptr=0x7fc4a9f34770) = 27682
close(4) = 0
read(3, "158\n", 128) = 4
read(3, "", 128) = 0
--- SIGCHLD (Child exited) @ 0 (0) ---
close(3) = 0
wait4(4294967295, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0, NULL) = 27682
pipe([3, 4]) = 0
clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGC HLD, child_tidptr=0x7fc4a9f34770) = 27683
close(4) = 0
read(3, "151\n", 128) = 4
read(3, "", 128) = 0
--- SIGCHLD (Child exited) @ 0 (0) ---
close(3) = 0
wait4(4294967295, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0, NULL) = 27683
write(1, " * Starting web server apache2 "..., 37 * Starting web server apache2 ) = 37
pipe([3, 4]) = 0
clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGC HLD, child_tidptr=0x7fc4a9f34770) = 27684
close(4) = 0
read(3, "157\n", 128) = 4
read(3, "", 128) = 0
--- SIGCHLD (Child exited) @ 0 (0) ---
close(3) = 0
wait4(4294967295, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0, NULL) = 27684
clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGC HLD, child_tidptr=0x7fc4a9f34770) = 27685
wait4(4294967295, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0, NULL) = 27685
--- SIGCHLD (Child exited) @ 0 (0) ---
write(1, " ", 1 ) = 1
stat("/usr/local/sbin/env", 0x7fffb1f41260) = -1 ENOENT (No such file or directory)
stat("/usr/local/bin/env", 0x7fffb1f41260) = -1 ENOENT (No such file or directory)
stat("/usr/sbin/env", 0x7fffb1f41260) = -1 ENOENT (No such file or directory)
stat("/usr/bin/env", {st_mode=S_IFREG|0755, st_size=28784, ...}) = 0
clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGC HLD, child_tidptr=0x7fc4a9f34770) = 27686
wait4(4294967295, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0, NULL) = 27686
--- SIGCHLD (Child exited) @ 0 (0) ---
stat("/etc/apache2/mods-enabled/disk_cache.load", 0x7fffb1f40df0) = -1 ENOENT (No such file or directory)
open("/dev/null", O_WRONLY|O_CREAT|O_TRUNC, 0666) = 3
fcntl(1, F_DUPFD, 10) = 11
close(1) = 0
fcntl(11, F_SETFD, FD_CLOEXEC) = 0
dup2(3, 1) = 1
close(3) = 0
fcntl(2, F_DUPFD, 10) = 12
close(2) = 0
fcntl(12, F_SETFD, FD_CLOEXEC) = 0
dup2(1, 2) = 2
stat("/usr/local/sbin/usplash_write", 0x7fffb1f40b50) = -1 ENOENT (No such file or directory)
stat("/usr/local/bin/usplash_write", 0x7fffb1f40b50) = -1 ENOENT (No such file or directory)
stat("/usr/sbin/usplash_write", 0x7fffb1f40b50) = -1 ENOENT (No such file or directory)
stat("/usr/bin/usplash_write", 0x7fffb1f40b50) = -1 ENOENT (No such file or directory)
stat("/sbin/usplash_write", 0x7fffb1f40b50) = -1 ENOENT (No such file or directory)
stat("/bin/usplash_write", 0x7fffb1f40b50) = -1 ENOENT (No such file or directory)
stat("/usr/games/usplash_write", 0x7fffb1f40b50) = -1 ENOENT (No such file or directory)
write(1, "usplash_write: not found\n", 25) = 25
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|SIGC HLD, child_tidptr=0x7fc4a9f34770) = 27693
close(4) = 0
read(3, "/dev/pts/0\n", 128) = 11
read(3, "", 128) = 0
--- SIGCHLD (Child exited) @ 0 (0) ---
close(3) = 0
wait4(4294967295, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0, NULL) = 27693
stat("/usr/bin/tput", {st_mode=S_IFREG|0755, st_size=11848, ...}) = 0
geteuid() = 0
) = 1
clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGC HLD, child_tidptr=0x7fc4a9f34770) = 27694
wait4(4294967295, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0, NULL) = 27694
--- SIGCHLD (Child exited) @ 0 (0) ---
write(1, "[ OK ]\n", 7[ OK ]
) = 7
read(10, "", 8192) = 0
exit_group(0) = ?
Process 27677 detached