Problems getting Apache started
Well I managed to install Slackware 10.0 and I've compiled and installed Apache 2.0.5 and PHP 5. But when I try to start Apache up I get this error message
Code:
(98)Address already in use: make_sock: could not bind to address 0.0.0.0:80 |
With an error message mentioning "0.0.0.0" it's likely that you're not even connected to the internet.
Make sure you're able to stay connected to the internet. |
It's telling you that something is already listening on port 80, therefore it can't bind to the port. Slackware 10 ships with Apache 1.x and my guess is that it is running. Shut it down (/etc/rc.d/rc.httpd stop) and then try o start Apache 2.x. If it is running, then it's likely being started at boot. To stop that from happening, remove the execute permission on rc.httpd (chmod a-x /etc/rc.d/rc.httpd) 0.0.0.0 just means that it's listening on all available IPs on that machine.
|
DaHammer has most likely nailed this one.
If all that doesnt help ... then well make sure ur running as root to start up apache |
Thanks alot, that worked perfectly. Is there anyway I can get my version of apache to start up with the machine?
|
chmod 755 /etc/rc.d/rc.httpd
read my signature!!! I found your answere in the slackware forum by using search for "apache startup" |
Quote:
Edit: BTW, you may also want to backup /etc/rc.d/rc.httpd and then remove the version of Apache installed with Slackware, since you're not using it. |
Yeah thats what I figured out. I now have a box that starts the new version of Apache when it boots up. Thanks for all the help.
|
All times are GMT -5. The time now is 05:12 PM. |