Apache2 starting, then stopping after migration

My linode had a 297 day uptime until the migration. After the migration, Apache2 would start, then stop.

Does anyone have the same problem? Any suggestions?

service apache2 status –> Apache NOT running

/etc/init.d/apache2 start --> [OK]

service apache2 status –> Apache NOT running

This is really confusing. I have not made any changes since the migration.

I've created a "test.html" on the www root directory and it's inaccessible from the DNS name and IP address.

Any help would be appreciated.

1 Reply

Take a look at error_log and see if it gives you any details on the problem. It's also possible that Apache is being started but the "status" command fails for some reason. You can check if it's running and listening on port 80 with netstat -lvpnut | grep :80.

Reply

Please enter an answer
Tips:

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (https://www.google.com)

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct