Apache Webserver on Slackware - Failed to Start Apache - 'no listening sockets .."
Hi, Everyone,
Can I ask for documentation and help for resolving my problem to start Apache Webserver on Slackware 12; The module has been installed successfully and one virtual host created / listed, but at the point of trying "Apache Start" the reply is referring to "no sockets available".. Quote:
If somewhere in the forum the same issue has been dealt with, I would appreciate directions to topics and tuitorials. I have kept the default server as generated during the installation, and created 2 virtual hosts (one is per DNS name, the other is per IP address (matching the registered DNS name)). Thank you in advance, :study: |
Quote:
|
Do this. The PID for httpd is still running even though apache looks dead.
From the command line ~# killall -9 httpd ~# apachectl start or ~# /etc/init.d/httpd start Hope this helps. |
Thank yo millergroup and unSpawn,
Noted. In meantime I have been reading related topics and changed the listening port to 8080 instead standard 80. Now, by typing my IP address http://123.456.789.123 and http://123.456.789.123:8080 I can open up the test index file ("It Works") but the next task for me is to open the www.servername.com in the browser. By doing that it gives me a search page. Of course, I have not uploaded any content as yet, but I will make a test html page and upload it to the related content folder. I hope to resolve this stage successfully, if any pointing to sequence of procedures and pointing to topics is given to me I would be grateful! Best Regards! |
There is no need to change to 8080. As unSpawn indicated, the address is already in use. You can stop Apache in Slackware with /etc/rc.d/rc.httpd stop and start it with /etc/rc.d/rc.httpd start; do this as root.
With regards to access via the domain name. You can add the domain to /etc/hosts |
All times are GMT -5. The time now is 11:50 PM. |