Can not start apache -


when start apache2 fails , error. last change in /etc/apache2/mods-enabled/dir.conf file, put index.php first of list. however, have reinstalled apache default files , error keep being.

job apache2.service failed because control process exited error code. see "systemctl status apache2.service" , "journalctl -xe" details.

and when inside journalctl, details shows next:

apache error log

i dont know how can solve problem, tried servername localhost @ httpd.conf file , tips keep failing. thanks

ok, solved it. problem had nginx container listening apache want too. solution is: processes listening @ port 80

sudo lsof -i:80

and then, kill processes

sudo kill -9 processes

thanks


Comments

Popular posts from this blog

java - SSE Emitter : Manage timeouts and complete() -

jquery - uncaught exception: DataTables Editor - remote hosting of code not allowed -

java - How to resolve error - package com.squareup.okhttp3 doesn't exist? -