[SOLVED] Unable to Start Apache

Issues related to applications and software problems
Entegeb
Posts: 6
Joined: 2017/06/01 14:40:57

Re: Unable to Start Apache

Post by Entegeb » 2017/06/01 21:30:54

I have no idea what happened... but it is working...

I assume removing the additional rewrite_module call wouldn't have done it on its own, but I am lost as to why it works now. I was trying to run the strace and it just kept saying it was already running!

Thanks all for your help though, I really appreciate it, and have learned a lot just from this. Definitely glad I know about strace, too!

ninjadestroyer
Posts: 1
Joined: 2018/07/11 21:25:47

Re: [SOLVED] Unable to Start Apache

Post by ninjadestroyer » 2018/07/11 21:28:56

I found out after some trial and error that the issue I had similar to this resolved after I removed the php extension:
php72-php-opcache.x86_64 : The Zend OPcache

Before I had the same issue. Hope this helps some of you. Below is my tail of the strace

[@dev]# strace -e trace=file -o/tmp/strace.out /usr/sbin/httpd -DFOREGROUND -X
Segmentation fault
[@dev]# nano /tmp/strace.out

stat("/usr/share/GeoIP/GeoIP.dat", {st_mode=S_IFREG|0644, st_size=890597, ...}) = 0
openat(AT_FDCWD, "/etc/php.d", O_RDONLY|O_NONBLOCK|O_DIRECTORY|O_CLOEXEC) = 8
open("/etc/php.d/snuffleupagus-default.rules", O_RDONLY) = 8
open("/tmp/phptrace.ctrl", O_RDWR|O_CREAT, 0666) = 8
stat("/tmp", {st_mode=S_IFDIR|S_ISVTX|0777, st_size=4096, ...}) = 0
open("/tmp/.molten.dddddd", O_RDWR|O_CREAT, 0666) = 8
unlink("/tmp/.molten.dddddd") = 0
stat("/etc/localtime", {st_mode=S_IFREG|0644, st_size=3519, ...}) = 0
open("/tmp/.ZendSem.mx6kgO", O_RDWR|O_CREAT|O_EXCL, 0600) = 9
unlink("/tmp/.ZendSem.mx6kgO") = 0
openat(AT_FDCWD, "/etc/php.d", O_RDONLY|O_NONBLOCK|O_DIRECTORY|O_CLOEXEC) = 10
open("/etc/php.d/opcache-default.blacklist", O_RDONLY) = 10
lstat("/etc/php.d/opcache-default.blacklist", {st_mode=S_IFREG|0644, st_size=645, ...}) = 0
lstat("/etc/php.d", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
lstat("/etc", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
--- SIGSEGV {si_signo=SIGSEGV, si_code=SEGV_MAPERR, si_addr=0xffffff8000000010} ---
+++ killed by SIGSEGV +++

Post Reply