httpd won't start
Please can anyone help. I have seen many questions on this subject, but I try there solutions, I fix my problems, my system crashes, I re-install, and I am back to the same problem, but forgetting how I fixed the solution the previous time. But everytime i fix the problem, it was fixed in a different way than the previous. That's why it's confusing Would be most gratefull if someone would kindly post me a very simple solution that I will keep handy this time.
The problem is that I cannot start httpd. it will not start. The message i get is; Address already in use: make_sock: could not bind to address ....:80 no listening sockets available, shutting down Unable to open logs Thanks for help Jack |
Quote:
Code:
service httpd start |
Quote:
|
$1000 says apache IS already running.
|
Have tried setting a different port in httpd.conf, but no luck. My SElinux comes up telling me;
SELinux is preventing the httpd from binding to port 83 83 is my new port I set in httpd.conf. I placed SELinux in permmisive mode, but results are same. Thnx Jack |
Chris
How would I know if Apache is already running. How can I shut it down if it is Jack |
Code:
ps aux | grep httpd |
well you want to start it. why would you want to shut it down?
"pidof httpd" will show the pid's of any apache processes. |
What happens when you try:
/etc/init.d/apache2 restart (or try status instead restart - that will show the state of the httpd server) If still the same, go to YAST > System > System Services and check out your services. |
Quote:
|
I thought shutting it down and restarting may work, but it did'nt.
Also tried; /etc/init.d/apache2 restart but it came back and said no such directory Thanks for help guys, but still no luck. I am at a loss at what else to do. I am not re-installing. Did that yesterday and the day before More input would be much appreciated Jack |
haha, see exactly...
why on earth would you reinstall anythign ever? deserve all you get if you think that's *EVER* the solution imho... anyway, have you just tried connecting to the web server? use it. doesn't help that you've not even told us what distro you are using. |
Hey Chris
Go easy, I new to Linux, I only recently migrated from Windows. Anyway I am using Fedora Core 8. If that's what you mean by distro I only re-installed when there was no hope. IE, I could no longer boot up, because I probably deleted something I should have not Regards Jack |
ok, well have you tried using it? in the gnome menus on the desktop there is access to the system-config-services till, which will let you switch things like apache on and off on demand easily.
|
tried that. Here's the error that comes back when I go through the services gui
httpd failed. The error was: Starting httpd: [Wed Mar 12 10:00:37 2008] [warn] module php5_module is already loaded, skipping [FAILED] |
All times are GMT -5. The time now is 05:59 AM. |