Results 1 to 4 of 4
Dear sirs,
I have installed httpd on Fedora 13 with yum, but it is not working when I type in a browser : localhost
Code:
[comp42 html]$ sudo /etc/init.d/httpd start
...
- 12-03-2010 #1Just Joined!
- Join Date
- Mar 2010
- Posts
- 9
Fedora httpd dead but subsys locked
Dear sirs,
I have installed httpd on Fedora 13 with yum, but it is not working when I type in a browser : localhost
Tried to reinstall several times, but nothing works.Code:[comp42 html]$ sudo /etc/init.d/httpd start Starting httpd: [ OK ] [comp42 html]$ sudo /etc/init.d/httpd restart Stopping httpd: [FAILED] Starting httpd: [ OK ] [comp42 html]$ sudo /etc/init.d/httpd stop Stopping httpd: [FAILED] [comp42 html]$ sudo /etc/init.d/httpd status httpd is stopped [comp42 html]$ sudo /etc/init.d/httpd start Starting httpd: [ OK ] [comp42 html]$ sudo /etc/init.d/httpd status httpd dead but subsys locked [comp42 html]$ sudo /etc/init.d/httpd help [comp42 html]$ sudo /etc/init.d/httpd fullstatus Connection refused [comp42 html]$
My firewall is disabled, does not work either while enabled....
My httpd conf is the default one.
What is going wrong? Any suggestions?Last edited by rapgame; 12-03-2010 at 12:52 PM.
- 12-05-2010 #2Linux Guru
- Join Date
- Apr 2009
- Location
- I can be found either 40 miles west of Chicago, or in a galaxy far, far away.
- Posts
- 8,974
Look at the log files. My guess is that a lock file got left hanging around when things dies unexpectedly. The log files from when you tried to start/stop the service should indicate where that file may be. Then, as root, remove it and restart the service.
Sometimes, real fast is almost as good as real time.
Just remember, Semper Gumbi - always be flexible!
- 12-28-2010 #3Just Joined!
- Join Date
- Mar 2010
- Posts
- 9
Hi there,
Thanks for your reply, Rubberman.
I solved the problem by deinstalling httpd.
Removing the whole httpd log directory by entering:
# sudo rm -Rf /var/log/httpd/
Installing httpd again, everything works.
Still don't understand the cause of this problem, but it seems you where right Rubberman.
- 12-28-2010 #4Linux Guru
- Join Date
- Apr 2009
- Location
- I can be found either 40 miles west of Chicago, or in a galaxy far, far away.
- Posts
- 8,974
Sometimes, real fast is almost as good as real time.
Just remember, Semper Gumbi - always be flexible!


Reply With Quote
