Search code examples
apacheopenproject

Apache2 server restart failed - Tried multiple options


I tried to restart failed and i tried multiple options, Yet i could not able to restart the apache2. Below links i have tried for the problems and yet i could not able to restart.

https://askubuntu.com/questions/256013/apache-error-could-not-reliably-determine-the-servers-fully-qualified-domain-n

https://askubuntu.com/questions/256013/apache-error-could-not-reliably-determine-the-servers-fully-qualified-domain-n/256018

i am using ubuntu 18.04 LTS and i am hosting the openproject software.

i added the lines as they said. Yet my apache server is not starting.

my ipaddress is 192.168.1.146 (localhost) to browse openproject

Yesterday it was working and i could able to open the project from other computers. http://192.168.1.146 it will navigate to the index page of the openproject.

awaiting your reply.


Solution

  • Solved:- netstat -ltnp | grep :80 I found that nginx is running. So i done sudo apt-get purge nginx

    sudo kill -9 982

    sudo service nginx stop

    sudo service apache2 start