Apache service just stoped

They have: 2 posts

Joined: Oct 2004

Hay Guys
Im running apache2triad server with sql php.
My apache service has just stopped running for no apparent reason and wont start again i have tried looked through my logs and error reports and see nothing out of the ordinary there.i just dont know what is causing the service to fail to start.
dose any one know of this problem and maybe a solution.this has happend to me before i backed up my htdocs and reinstalled its not that simple this time as i have triad so it will over right my SQL data base on install

Thanks in advance for any help on this. Confused

They have: 2 posts

Joined: Oct 2004

Hi again i managed to fix this problem something had overwriten my httpd.conf file lucky there was a defult back up.should i change this file to read only?

UnitHosting's picture

They have: 6 posts

Joined: Nov 2003

Try to see the error log when you try to start the apache web server.
Usually it will show you which line in httpd.conf is causing the problem.

They have: 8 posts

Joined: Jul 2002

Or type "httpd configtest" without the quotes at a command line and see what it says. (If it happens again that is)

He has: 51 posts

Joined: Jan 2004

If something overwrote your httpd.conf and it wasn't you, then I would suggest reading up on security ASAP!!!
httpd.conf is not one of those files that get inadvertently overwritten!

They have: 8 posts

Joined: Jul 2002

eBlush_Hector wrote: If something overwrote your httpd.conf and it wasn't you, then I would suggest reading up on security ASAP!!!
httpd.conf is not one of those files that get inadvertently overwritten!

I wouldn't panic on that. Hackers usually WANT apache to be running. I have experienced on a few occasions that a corrupted httpd.conf file, suddenly for no apparent reason except perhaps bad ram or a full partition not allowing the file to be corectly written to disc after editing. It's nothing to worry about if you have backups.

Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.