Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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
no listening sockets available, shutting down
unable to open logs
I'm not too sure what it means. But I'm guessing its having problems with ports and a firewall or something.
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.
Originally posted by Philter Thanks alot, that worked perfectly. Is there anyway I can get my version of apache to start up with the machine?
You'll need to modify the startup script /etc/rc.d/rc.httpd so that it starts the new version instead of the default one. Basically, all that should be required would be for you to change the path to either the httpd executable or the apachectl script, whichever way you perfer to start it. Then just reset the executable permission on /etc/rc.d/rc.httpd.
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.