Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Apache2 won't starting
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
Serchio
n00b
n00b


Joined: 17 May 2008
Posts: 26

PostPosted: Tue Sep 16, 2014 8:34 am    Post subject: Apache2 won't starting Reply with quote

I have no idea why clearly installed Apache2 is not starting on my gentoo box. I have no errors in /var/log/apache2/error_log (file exists and contains old, resolved log messages).

My stack using strace -Ff apache2ctl start

Code:

execve("/usr/sbin/apache2ctl", ["apache2ctl", "start"], [/* 19 vars */]) = 0
brk(0)                                  = 0x1b3a000
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f43162ce000
access("/etc/ld.so.preload", R_OK)      = -1 ENOENT (No such file or directory)
open("/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=167744, ...}) = 0
mmap(NULL, 167744, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f43162a5000
close(3)                                = 0
open("/lib64/libreadline.so.6", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\220e\1\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0555, st_size=296696, ...}) = 0
mmap(NULL, 2397432, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f4315e65000
mprotect(0x7f4315ea5000, 2097152, PROT_NONE) = 0
mmap(0x7f43160a5000, 32768, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x40000) = 0x7f43160a5000
mmap(0x7f43160ad000, 5368, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7f43160ad000
close(3)                                = 0
open("/lib64/libncurses.so.5", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\200S\1\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=341584, ...}) = 0
mmap(NULL, 2439272, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f4315c11000
mprotect(0x7f4315c60000, 2093056, PROT_NONE) = 0
mmap(0x7f4315e5f000, 20480, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x4e000) = 0x7f4315e5f000
mmap(0x7f4315e64000, 2152, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7f4315e64000
close(3)                                = 0
open("/lib64/libdl.so.2", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\340\16\0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=14416, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f43162a4000
mmap(NULL, 2109720, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f4315a0d000
mprotect(0x7f4315a0f000, 2097152, PROT_NONE) = 0
mmap(0x7f4315c0f000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x2000) = 0x7f4315c0f000
close(3)                                = 0
open("/lib64/libc.so.6", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0`\33\2\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=1705160, ...}) = 0
mmap(NULL, 3812440, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f431566a000
mprotect(0x7f4315804000, 2093056, PROT_NONE) = 0
mmap(0x7f4315a03000, 24576, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x199000) = 0x7f4315a03000
mmap(0x7f4315a09000, 15448, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7f4315a09000
close(3)                                = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f43162a3000
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f43162a2000
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f43162a1000
arch_prctl(ARCH_SET_FS, 0x7f43162a2700) = 0
mprotect(0x7f4315a03000, 16384, PROT_READ) = 0
mprotect(0x7f4315c0f000, 4096, PROT_READ) = 0
mprotect(0x7f4315e5f000, 16384, PROT_READ) = 0
mprotect(0x7f43160a5000, 8192, PROT_READ) = 0
mprotect(0x6ae000, 4096, PROT_READ)     = 0
mprotect(0x7f43162cf000, 4096, PROT_READ) = 0
munmap(0x7f43162a5000, 167744)          = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
open("/dev/tty", O_RDWR|O_NONBLOCK)     = 3
close(3)                                = 0
brk(0)                                  = 0x1b3a000
brk(0x1b5b000)                          = 0x1b5b000
open("/usr/lib64/locale/locale-archive", O_RDONLY|O_CLOEXEC) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=715520, ...}) = 0
mmap(NULL, 715520, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f43161f2000
close(3)                                = 0
getuid()                                = 0
getgid()                                = 0
geteuid()                               = 0
getegid()                               = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
open("/proc/meminfo", O_RDONLY|O_CLOEXEC) = 3
fcntl(3, F_GETFD)                       = 0x1 (flags FD_CLOEXEC)
fstat(3, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f43162cd000
read(3, "MemTotal:        7862672 kB\nMemF"..., 1024) = 1024
close(3)                                = 0
munmap(0x7f43162cd000, 4096)            = 0
rt_sigaction(SIGCHLD, {SIG_DFL, [], SA_RESTORER|SA_RESTART, 0x7f431569f480}, {SIG_DFL, [], 0}, 8) = 0
rt_sigaction(SIGCHLD, {SIG_DFL, [], SA_RESTORER|SA_RESTART, 0x7f431569f480}, {SIG_DFL, [], SA_RESTORER|SA_RESTART, 0x7f431569f480}, 8) = 0
rt_sigaction(SIGINT, {SIG_DFL, [], SA_RESTORER, 0x7f431569f480}, {SIG_DFL, [], 0}, 8) = 0
rt_sigaction(SIGINT, {SIG_DFL, [], SA_RESTORER, 0x7f431569f480}, {SIG_DFL, [], SA_RESTORER, 0x7f431569f480}, 8) = 0
rt_sigaction(SIGQUIT, {SIG_DFL, [], SA_RESTORER, 0x7f431569f480}, {SIG_DFL, [], 0}, 8) = 0
rt_sigaction(SIGQUIT, {SIG_DFL, [], SA_RESTORER, 0x7f431569f480}, {SIG_DFL, [], SA_RESTORER, 0x7f431569f480}, 8) = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigaction(SIGQUIT, {SIG_IGN, [], SA_RESTORER, 0x7f431569f480}, {SIG_DFL, [], SA_RESTORER, 0x7f431569f480}, 8) = 0
uname({sys="Linux", node="laporath", ...}) = 0
stat("/var/lock", {st_mode=S_IFDIR|0755, st_size=60, ...}) = 0
stat(".", {st_mode=S_IFDIR|0755, st_size=60, ...}) = 0
getpid()                                = 25341
open("/usr/lib64/gconv/gconv-modules.cache", O_RDONLY) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=26244, ...}) = 0
mmap(NULL, 26244, PROT_READ, MAP_SHARED, 3, 0) = 0x7f43162c7000
close(3)                                = 0
getppid()                               = 25336
getpgrp()                               = 25336
rt_sigaction(SIGCHLD, {0x43b8a0, [], SA_RESTORER|SA_RESTART, 0x7f431569f480}, {SIG_DFL, [], SA_RESTORER|SA_RESTART, 0x7f431569f480}, 8) = 0
getrlimit(RLIMIT_NPROC, {rlim_cur=30702, rlim_max=30702}) = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
open("/usr/sbin/apache2ctl", O_RDONLY)  = 3
ioctl(3, SNDCTL_TMR_TIMEBASE or SNDRV_TIMER_IOCTL_NEXT_DEVICE or TCGETS, 0x7fff8894d0c0) = -1 ENOTTY (Inappropriate ioctl for device)
lseek(3, 0, SEEK_CUR)                   = 0
read(3, "#!/bin/sh\nexec /etc/init.d/apach"..., 80) = 40
lseek(3, 0, SEEK_SET)                   = 0
getrlimit(RLIMIT_NOFILE, {rlim_cur=1024, rlim_max=4*1024}) = 0
fcntl(255, F_GETFD)                     = -1 EBADF (Bad file descriptor)
dup2(3, 255)                            = 255
close(3)                                = 0
fcntl(255, F_SETFD, FD_CLOEXEC)         = 0
fcntl(255, F_GETFL)                     = 0x8000 (flags O_RDONLY|O_LARGEFILE)
fstat(255, {st_mode=S_IFREG|0755, st_size=40, ...}) = 0
lseek(255, 0, SEEK_CUR)                 = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
read(255, "#!/bin/sh\nexec /etc/init.d/apach"..., 40) = 40
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigaction(SIGINT, {SIG_DFL, [], SA_RESTORER, 0x7f431569f480}, {SIG_DFL, [], SA_RESTORER, 0x7f431569f480}, 8) = 0
rt_sigaction(SIGQUIT, {SIG_DFL, [], SA_RESTORER, 0x7f431569f480}, {SIG_IGN, [], SA_RESTORER, 0x7f431569f480}, 8) = 0
rt_sigaction(SIGCHLD, {SIG_DFL, [], SA_RESTORER|SA_RESTART, 0x7f431569f480}, {0x43b8a0, [], SA_RESTORER|SA_RESTART, 0x7f431569f480}, 8) = 0
execve("/etc/init.d/apache2", ["/etc/init.d/apache2", "start"], [/* 18 vars */]) = 0
brk(0)                                  = 0x1d69000
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f57c793a000
access("/etc/ld.so.preload", R_OK)      = -1 ENOENT (No such file or directory)
open("/lib64/tls/x86_64/libutil.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("/lib64/tls/x86_64", 0x7fff41b27d20) = -1 ENOENT (No such file or directory)
open("/lib64/tls/libutil.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("/lib64/tls", 0x7fff41b27d20)      = -1 ENOENT (No such file or directory)
open("/lib64/x86_64/libutil.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("/lib64/x86_64", 0x7fff41b27d20)   = -1 ENOENT (No such file or directory)
open("/lib64/libutil.so.1", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0 \17\0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=10432, ...}) = 0
mmap(NULL, 2105624, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f57c7518000
mprotect(0x7f57c751a000, 2093056, PROT_NONE) = 0
mmap(0x7f57c7719000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1000) = 0x7f57c7719000
close(3)                                = 0
open("/lib64/librc.so.1", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\20'\0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=51568, ...}) = 0
mmap(NULL, 2146856, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f57c730b000
mprotect(0x7f57c7317000, 2093056, PROT_NONE) = 0
mmap(0x7f57c7516000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0xb000) = 0x7f57c7516000
close(3)                                = 0
open("/lib64/libeinfo.so.1", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\220\23\0\0\0\0\0\0"..., 832) = 832
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f57c7939000
fstat(3, {st_mode=S_IFREG|0755, st_size=22656, ...}) = 0
mmap(NULL, 2120752, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f57c7105000
mprotect(0x7f57c710a000, 2093056, PROT_NONE) = 0
mmap(0x7f57c7309000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x4000) = 0x7f57c7309000
close(3)                                = 0
open("/lib64/libdl.so.2", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\340\16\0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=14416, ...}) = 0
mmap(NULL, 2109720, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f57c6f01000
mprotect(0x7f57c6f03000, 2097152, PROT_NONE) = 0
mmap(0x7f57c7103000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x2000) = 0x7f57c7103000
close(3)                                = 0
open("/lib64/libpam.so.0", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\260$\0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=55696, ...}) = 0
mmap(NULL, 2150960, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f57c6cf3000
mprotect(0x7f57c6cff000, 2097152, PROT_NONE) = 0
mmap(0x7f57c6eff000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0xc000) = 0x7f57c6eff000
close(3)                                = 0
open("/lib64/libc.so.6", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0`\33\2\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=1705160, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f57c7938000
mmap(NULL, 3812440, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f57c6950000
mprotect(0x7f57c6aea000, 2093056, PROT_NONE) = 0
mmap(0x7f57c6ce9000, 24576, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x199000) = 0x7f57c6ce9000
mmap(0x7f57c6cef000, 15448, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7f57c6cef000
close(3)                                = 0
open("/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=167744, ...}) = 0
mmap(NULL, 167744, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f57c790f000
close(3)                                = 0
open("/lib64/libncurses.so.5", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\200S\1\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=341584, ...}) = 0
mmap(NULL, 2439272, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f57c66fc000
mprotect(0x7f57c674b000, 2093056, PROT_NONE) = 0
mmap(0x7f57c694a000, 20480, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x4e000) = 0x7f57c694a000
mmap(0x7f57c694f000, 2152, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7f57c694f000
close(3)                                = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f57c790e000
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f57c790d000
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f57c790c000
arch_prctl(ARCH_SET_FS, 0x7f57c790d700) = 0
mprotect(0x7f57c6ce9000, 16384, PROT_READ) = 0
mprotect(0x7f57c694a000, 16384, PROT_READ) = 0
mprotect(0x7f57c7103000, 4096, PROT_READ) = 0
mprotect(0x7f57c6eff000, 4096, PROT_READ) = 0
mprotect(0x7f57c7309000, 4096, PROT_READ) = 0
mprotect(0x7f57c7516000, 4096, PROT_READ) = 0
mprotect(0x7f57c7719000, 4096, PROT_READ) = 0
mprotect(0x61b000, 4096, PROT_READ)     = 0
mprotect(0x7f57c793b000, 4096, PROT_READ) = 0
munmap(0x7f57c790f000, 167744)          = 0
stat("/etc/init.d/apache2", {st_mode=S_IFREG|0755, st_size=4996, ...}) = 0
stat("/etc/init.d/apache2", {st_mode=S_IFREG|0755, st_size=4996, ...}) = 0
lstat("/etc", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
lstat("/etc/init.d", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
lstat("/etc/init.d/apache2", {st_mode=S_IFREG|0755, st_size=4996, ...}) = 0
readlink("/etc/init.d/apache2", 0x7fff41b262a0, 4095) = -1 EINVAL (Invalid argument)
brk(0)                                  = 0x1d69000
brk(0x1d8a000)                          = 0x1d8a000
stat("/etc/init.d/apache2", {st_mode=S_IFREG|0755, st_size=4996, ...}) = 0
chdir("/")                              = 0
open("/etc/rc.conf", O_RDONLY)          = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=8507, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f57c7937000
read(3, "# Global OpenRC configuration se"..., 4096) = 4096
read(3, " adding your\n# own fstypes to th"..., 4096) = 4096
read(3, "e service's\n# child processes, a"..., 4096) = 315
read(3, "", 4096)                       = 0
close(3)                                = 0
munmap(0x7f57c7937000, 4096)            = 0
stat("/proc/cmdline", {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
open("/proc/cmdline", O_RDONLY)         = 3
fstat(3, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f57c7937000
read(3, "BOOT_IMAGE=/boot/vmlinuz-3.15.3-"..., 1024) = 120
close(3)                                = 0
munmap(0x7f57c7937000, 4096)            = 0
stat("/etc/conf.d/rc", 0x7fff41b250e0)  = -1 ENOENT (No such file or directory)
open("/etc/profile.env", O_RDONLY)      = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=1657, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f57c7937000
read(3, "# THIS FILE IS AUTOMATICALLY GEN"..., 4096) = 1657
read(3, "", 4096)                       = 0
close(3)                                = 0
munmap(0x7f57c7937000, 4096)            = 0
stat("/proc/xen", 0x7fff41b23f40)       = -1 ENOENT (No such file or directory)
open("/proc/cpuinfo", O_RDONLY)         = 3
fstat(3, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f57c7937000
read(3, "processor\t: 0\nvendor_id\t: Genuin"..., 1024) = 1024
read(3, " @ 3.30GHz\nstepping\t: 7\nmicrocod"..., 1024) = 1024
read(3, "4\ncore id\t\t: 2\ncpu cores\t: 4\napi"..., 1024) = 1024
read(3, "p\t\t: yes\nflags\t\t: fpu vme de pse"..., 1024) = 588
read(3, "", 1024)                       = 0
close(3)                                = 0
munmap(0x7f57c7937000, 4096)            = 0
open("/proc/self/status", O_RDONLY)     = 3
fstat(3, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f57c7937000
read(3, "Name:\tapache2\nState:\tR (running)"..., 1024) = 808
read(3, "", 1024)                       = 0
close(3)                                = 0
munmap(0x7f57c7937000, 4096)            = 0
stat("/proc/vz/veinfo", 0x7fff41b23f40) = -1 ENOENT (No such file or directory)
open("/proc/self/status", O_RDONLY)     = 3
fstat(3, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f57c7937000
read(3, "Name:\tapache2\nState:\tR (running)"..., 1024) = 808
read(3, "", 1024)                       = 0
close(3)                                = 0
munmap(0x7f57c7937000, 4096)            = 0
open("/proc/1/environ", O_RDONLY)       = 3
fstat(3, {st_mode=S_IFREG|0400, st_size=0, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f57c7937000
read(3, "HOME=/\0TERM=linux\0BOOT_IMAGE=/bo"..., 1024) = 90
read(3, "", 1024)                       = 0
close(3)                                = 0
munmap(0x7f57c7937000, 4096)            = 0
open("/run/openrc/softlevel", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/run/openrc/krunlevel", O_RDONLY) = -1 ENOENT (No such file or directory)
uname({sys="Linux", node="laporath", ...}) = 0
open("/run/openrc/softlevel", O_RDONLY) = -1 ENOENT (No such file or directory)
getpid()                                = 25341
stat("/run/openrc/rc.starting", 0x7fff41b25140) = -1 ENOENT (No such file or directory)
stat("/run/openrc/rc.stopping", 0x7fff41b25140) = -1 ENOENT (No such file or directory)
rt_sigaction(SIGHUP, {0x411120, [], SA_RESTORER, 0x7f57c6985480}, NULL, 8) = 0
rt_sigaction(SIGINT, {0x411120, [], SA_RESTORER, 0x7f57c6985480}, NULL, 8) = 0
rt_sigaction(SIGQUIT, {0x411120, [], SA_RESTORER, 0x7f57c6985480}, NULL, 8) = 0
rt_sigaction(SIGTERM, {0x411120, [], SA_RESTORER, 0x7f57c6985480}, NULL, 8) = 0
rt_sigaction(SIGCHLD, {0x411120, [], SA_RESTORER, 0x7f57c6985480}, NULL, 8) = 0
openat(AT_FDCWD, "/lib64/rc/plugins", O_RDONLY|O_NONBLOCK|O_DIRECTORY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("/run/openrc/started/apache2", 0x7fff41b240d0) = -1 ENOENT (No such file or directory)
stat("/run/openrc/stopped/apache2", 0x7fff41b240d0) = -1 ENOENT (No such file or directory)
stat("/run/openrc/starting/apache2", 0x7fff41b240d0) = -1 ENOENT (No such file or directory)
stat("/run/openrc/stopping/apache2", 0x7fff41b240d0) = -1 ENOENT (No such file or directory)
stat("/run/openrc/inactive/apache2", 0x7fff41b240d0) = -1 ENOENT (No such file or directory)
stat("/run/openrc/wasinactive/apache2", 0x7fff41b240d0) = -1 ENOENT (No such file or directory)
stat("/run/openrc/hotplugged/apache2", 0x7fff41b240d0) = -1 ENOENT (No such file or directory)
stat("/run/openrc/failed/apache2", 0x7fff41b240d0) = -1 ENOENT (No such file or directory)
stat("/run/openrc/scheduled/apache2", 0x7fff41b240d0) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/run/openrc/scheduled", O_RDONLY|O_NONBLOCK|O_DIRECTORY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/run/openrc/exclusive/apache2", O_WRONLY|O_CREAT|O_NONBLOCK, 0664) = -1 ENOENT (No such file or directory)
open("/etc/localtime", O_RDONLY|O_CLOEXEC) = 3
fcntl(3, F_GETFD)                       = 0x1 (flags FD_CLOEXEC)
fstat(3, {st_mode=S_IFREG|0644, st_size=2705, ...}) = 0
fstat(3, {st_mode=S_IFREG|0644, st_size=2705, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f57c7937000
read(3, "TZif2\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\v\0\0\0\v\0\0\0\0"..., 4096) = 2705
lseek(3, -1707, SEEK_CUR)               = 998
read(3, "TZif2\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\v\0\0\0\v\0\0\0\0"..., 4096) = 1707
close(3)                                = 0
munmap(0x7f57c7937000, 4096)            = 0
socket(PF_LOCAL, SOCK_DGRAM|SOCK_CLOEXEC, 0) = 3
connect(3, {sa_family=AF_LOCAL, sun_path="/dev/log"}, 110) = 0
sendto(3, "<28>Sep 16 10:21:35 /etc/init.d/"..., 84, MSG_NOSIGNAL, NULL, 0) = 84
close(3)                                = 0
ioctl(2, SNDCTL_TMR_TIMEBASE or SNDRV_TIMER_IOCTL_NEXT_DEVICE or TCGETS, {B9600 opost isig icanon echo ...}) = 0
ioctl(1, SNDCTL_TMR_TIMEBASE or SNDRV_TIMER_IOCTL_NEXT_DEVICE or TCGETS, {B9600 opost isig icanon echo ...}) = 0
stat("/root/.terminfo", 0x7fff41b23da0) = -1 ENOENT (No such file or directory)
stat("/etc/terminfo", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
access("/etc/terminfo/x/xterm-256color", R_OK) = -1 ENOENT (No such file or directory)
stat("/usr/share/terminfo", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
access("/usr/share/terminfo/x/xterm-256color", R_OK) = 0
open("/usr/share/terminfo/x/xterm-256color", O_RDONLY) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=3336, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f57c7937000
read(3, "\32\1%\0&\0\17\0\235\1\251\5xterm-256color|xterm"..., 4096) = 3336
read(3, "", 4096)                       = 0
close(3)                                = 0
munmap(0x7f57c7937000, 4096)            = 0
ioctl(1, SNDCTL_TMR_TIMEBASE or SNDRV_TIMER_IOCTL_NEXT_DEVICE or TCGETS, {B9600 opost isig icanon echo ...}) = 0
ioctl(1, SNDCTL_TMR_TIMEBASE or SNDRV_TIMER_IOCTL_NEXT_DEVICE or TCGETS, {B9600 opost isig icanon echo ...}) = 0
ioctl(1, TIOCGWINSZ, {ws_row=46, ws_col=211, ws_xpixel=1266, ws_ypixel=644}) = 0
ioctl(2, SNDCTL_TMR_TIMEBASE or SNDRV_TIMER_IOCTL_NEXT_DEVICE or TCGETS, {B9600 opost isig icanon echo ...}) = 0
write(2, " \33[1m\33[33m*\33[0m ", 16 * )  = 16
write(2, "WARNING: apache2 is already star"..., 36WARNING: apache2 is already starting) = 36
ioctl(2, SNDCTL_TMR_TIMEBASE or SNDRV_TIMER_IOCTL_NEXT_DEVICE or TCGETS, {B9600 opost isig icanon echo ...}) = 0
write(2, "\33[K", 3)                    = 3
write(2, "\n", 1
)                       = 1
exit_group(1)                           = ?
+++ exited with 1 +++


Anyone have any idea what I can do?
Back to top
View user's profile Send private message
CrankyPenguin
Apprentice
Apprentice


Joined: 19 Jun 2003
Posts: 270

PostPosted: Fri Sep 19, 2014 2:10 am    Post subject: Reply with quote

Just as a clarification question, why a stack-trace. Does it segfault? And by the same token how are you starting it?
_________________
Linux, the OS for the obsessive-compulsive speed freak in all of us.
Back to top
View user's profile Send private message
uraes
Tux's lil' helper
Tux's lil' helper


Joined: 28 Nov 2002
Posts: 120
Location: Estonia

PostPosted: Fri Sep 19, 2014 10:47 am    Post subject: Reply with quote

and why apache2ctl? did you try "/etc/init.d/apache2 start" or "/etc/init.d/apache2 restart" ?

and maybe something in other log files?
Back to top
View user's profile Send private message
Demonking
n00b
n00b


Joined: 12 Mar 2007
Posts: 41

PostPosted: Fri Sep 19, 2014 10:50 am    Post subject: Reply with quote

What is

Quote:

apache2ctl configtest


saying?

There are errors in your configuration?
_________________
I finally understand why Java's security model is so torturous:
It's to protect everyone else against people who write code like this.

The Answer to Life, the Universe, and Everything = 42
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum