Apache stopped working
Here is what I am using:
Slack 10 Apache 1.3.* My webserver has been up and running for quite a while.. 6 months or more. All of a sudden yesterday my sites didn't work and I logged in and apache stopped running. When I try to restart apache it says that it started ok, no errors in the logs, but it definitely didn't start. I haven't made any changes to the configs or done any updates lately. Has anyone ran into something like this and have any idea where I should start looking or what I might do to get it running again? |
See any httpd processes in a ps -fax output?
Try doing a: /etc/rc.d/rc.httpd stop Make sure no httpd processes are running. If they are, kill them. Then do a: /usr/sbin/apachectl configtest Make sure it comes back with a Syntax OK. If it does, then restart apache with: /etc/rc.d/rc.httpd start |
I have done all of that. I even checked the logs. The config file is fine, it says it started when I do apachectl start, it just doesn't actually start it just says it did.
|
I am having the same exact problem. This came from no where, no config files were edited at all. Using slack 10 as well.
This is really inconvenient, any suggestions? God bless, -en3r0 |
Update*
It started working again, but all I did was start it like I had tried a million other times. |
I never did get it working. I never had this problem with other distro's. I know that sounds weird but it has to be related somehow because I have been using apache for years but on Gentoo.
|
I have exactly the same problem, I can't find any errors in my logfiles. It just won't start anymore whatever I try.:scratch:
|
Why don't you all try using XAMPP?? I find it really simple to use... www.apachefriends.org
|
duryodhan: crack kills. And everyone would benefit if things would stay on topic here.
|
Have you stayed current with all the security updates ?
http://www.slackware.com/security/ |
Quote:
From the site : Quote:
So I very respectfully state : WTF? |
I suppose it could be viewed that way but I personally wouldn't use xampp. I already resolved my problem by going back with Gentoo. I just hoped in the past that I would get some true feedback and useful help with my problems with Slack since I was actually giving it a chance. I think that if Slackware maybe had its own forums then maybe.. just maybe there would be better overall support. Looking back I just picked the wrong place to seek support. I will stay away from here now. ;)
|
whatever, man
|
To anyone else having the same problem, make sure there are no stale lock and pid files preventing apache from running.
Take a peek in /var/{lock,run} for apache http entries. |
Deleting the pid file did work for 10 seconds or so, after that httpd stopped again. I installed xampp as suggested and now everything works again.
|
All times are GMT -5. The time now is 12:07 AM. |