I don't know what else may be relevant to trigger the crash.
libapache2-mod-nss is not relevant at all.. I just installed it in an attemt to fix the problem but it didn't help.
I'm willing to help debug this, but I need guidance. So please don't hesitate to ask.
I will now copy/paste here the output of strace as you suggested.
Hello Paride.
I don't know what else may be relevant to trigger the crash.
libapache2-mod-nss is not relevant at all.. I just installed it in an attemt to fix the problem but it didn't help.
I'm willing to help debug this, but I need guidance. So please don't hesitate to ask.
I will now copy/paste here the output of strace as you suggested.
#strace apache2ctl configtest > /root/out 2> /root/err
# cat /root/out
Action 'configtest' failed.
The Apache error log may have more information.
# cat /root/err "/usr/sbin/ apache2ctl" , ["apache2ctl", "configtest"], [/* 22 vars */]) = 0 "/etc/ld. so.nohwcap" , F_OK) = -1 ENOENT (No such file or directory) "/etc/ld. so.preload" , R_OK) = -1 ENOENT (No such file or directory) etc/ld. so.cache" , O_RDONLY|O_CLOEXEC) = 3 S_IFREG| 0644, st_size=37741, ...}) = 0 "/etc/ld. so.nohwcap" , F_OK) = -1 ENOENT (No such file or directory) lib/x86_ 64-linux- gnu/libc. so.6", O_RDONLY|O_CLOEXEC) = 3 2\1\1\3\ 0\0\0\0\ 0\0\0\0\ 3\0>\0\ 1\0\0\0P\ t\2\0\0\ 0\0\0". .., 832) = 832 S_IFREG| 0755, st_size=1868984, ...}) = 0 PROT_WRITE, MAP_PRIVATE| MAP_ANONYMOUS, -1, 0) = 0x7fe1fd4cc000 PROT_EXEC, MAP_PRIVATE| MAP_DENYWRITE, 3, 0) = 0x7fe1fcee8000 0x7fe1fd0a8000, 2097152, PROT_NONE) = 0 8000, 24576, PROT_READ| PROT_WRITE, MAP_PRIVATE| MAP_FIXED| MAP_DENYWRITE, 3, 0x1c0000) = 0x7fe1fd2a8000 e000, 14752, PROT_READ| PROT_WRITE, MAP_PRIVATE| MAP_FIXED| MAP_ANONYMOUS, -1, 0) = 0x7fe1fd2ae000 PROT_WRITE, MAP_PRIVATE| MAP_ANONYMOUS, -1, 0) = 0x7fe1fd4cb000 PROT_WRITE, MAP_PRIVATE| MAP_ANONYMOUS, -1, 0) = 0x7fe1fd4ca000 ARCH_SET_ FS, 0x7fe1fd4cb700) = 0 0x7fe1fd2a8000, 16384, PROT_READ) = 0 0x55fa98cbc000, 8192, PROT_READ) = 0 0x7fe1fd4d7000, 4096, PROT_READ) = 0 0x7fe1fd4cd000, 37741) = 0 SIGCHLD, {0x55fa98ab0540, ~[RTMIN RT_1], SA_RESTORER, 0x7fe1fcf1d4b0}, NULL, 8) = 0 etc/apache2/ sites-enabled" , {st_mode= S_IFDIR| 0755, st_size=4096, ...}) = 0 S_IFDIR| 0755, st_size=4096, ...}) = 0 usr/sbin/ apache2ctl" , O_RDONLY) = 3 SIGINT, NULL, {SIG_DFL, [], 0}, 8) = 0 SIGINT, {0x55fa98ab0540, ~[RTMIN RT_1], SA_RESTORER, 0x7fe1fcf1d4b0}, NULL, 8) = 0 SIGQUIT, NULL, {SIG_DFL, [], 0}, 8) = 0 SIGQUIT, {SIG_DFL, ~[RTMIN RT_1], SA_RESTORER, 0x7fe1fcf1d4b0}, NULL, 8) = 0 SIGTERM, NULL, {SIG_DFL, [], 0}, 8) = 0 SIGTERM, {SIG_DFL, ~[RTMIN RT_1], SA_RESTORER, 0x7fe1fcf1d4b0}, NULL, 8) = 0 etc/apache2/ envvars" , {st_mode= S_IFREG| 0644, st_size=1782, ...}) = 0 etc/apache2/ envvars" , O_RDONLY) = 3 stack=0, flags=CLONE_ CHILD_CLEARTID| CLONE_CHILD_ SETTID| SIGCHLD, child_tidptr= 0x7fe1fd4cb9d0) = 25421 {mask=[ ]}) = 25421 RLIMIT_ NOFILE, {rlim_cur=1024, rlim_max= 1024*1024} ) = 0 RLIMIT_ NOFILE, {rlim_cur=8*1024, rlim_max=8*1024}) = 0 var/run/ apache2" , {st_mode= S_IFDIR| 0755, st_size=60, ...}) = 0 var/lock/ apache2" , {st_mode= S_IFDIR| 0755, st_size=40, ...}) = 0 stack=0, flags=CLONE_ CHILD_CLEARTID| CLONE_CHILD_ SETTID| SIGCHLD, child_tidptr= 0x7fe1fd4cb9d0) = 25422 {mask=[ ]}) = 25422
execve(
brk(NULL) = 0x55fa99d60000
access(
access(
open("/
fstat(3, {st_mode=
mmap(NULL, 37741, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7fe1fd4cd000
close(3) = 0
access(
open("/
read(3, "\177ELF\
fstat(3, {st_mode=
mmap(NULL, 4096, PROT_READ|
mmap(NULL, 3971488, PROT_READ|
mprotect(
mmap(0x7fe1fd2a
mmap(0x7fe1fd2a
close(3) = 0
mmap(NULL, 4096, PROT_READ|
mmap(NULL, 4096, PROT_READ|
arch_prctl(
mprotect(
mprotect(
mprotect(
munmap(
getuid() = 0
getgid() = 0
getpid() = 25420
rt_sigaction(
geteuid() = 0
brk(NULL) = 0x55fa99d60000
brk(0x55fa99d81000) = 0x55fa99d81000
getppid() = 25418
stat("/
stat(".", {st_mode=
open("/
fcntl(3, F_DUPFD, 10) = 10
close(3) = 0
fcntl(10, F_SETFD, FD_CLOEXEC) = 0
geteuid() = 0
getegid() = 0
rt_sigaction(
rt_sigaction(
rt_sigaction(
rt_sigaction(
rt_sigaction(
rt_sigaction(
read(10, "#!/bin/sh\n#\n# Licensed to the Ap"..., 8192) = 6402
stat("/
open("/
fcntl(3, F_DUPFD, 10) = 11
close(3) = 0
fcntl(11, F_SETFD, FD_CLOEXEC) = 0
read(11, "# envvars - default environment "..., 8192) = 1782
read(11, "", 8192) = 0
close(11) = 0
pipe([3, 4]) = 0
clone(child_
close(4) = 0
read(3, "0\n", 128) = 2
read(3, "", 128) = 0
close(3) = 0
wait4(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0, NULL) = 25421
--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=25421, si_uid=0, si_status=0, si_utime=0, si_stime=0} ---
rt_sigreturn(
getrlimit(
setrlimit(
stat("/
stat("/
clone(child_
wait4(-1, Syntax OK
[{WIFSIGNALED(s) && WTERMSIG(s) == SIGSEGV && WCOREDUMP(s)}], 0, NULL) = 25422
--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_DUMPED, si_pid=25422, si_uid=0, si_status=SIGSEGV, si_utime=447, si_stime=165} ---
rt_sigreturn(
write(2, "Segmentation fault (core dumped)"..., 33Segmentation fault (core dumped)
) = 33
write(1, "Action 'configtest' failed.\n", 28) = 28
write(1, "The Apache error log may have mo"..., 48) = 48
exit_group(139) = ?
+++ exited with 139 +++