progc Posted June 27, 2008 Share Posted June 27, 2008 New guy here with a issue. I just installed the latest Apache package on a fresh build of Fedora Core 9. I have created the proper directories for the websites that I will be hosting and entered in the settings for my virtual host as was on the old server(Fedora Core 4 with Apache 2.0). Everything looks correct but httpd fails to start. Here is the output that I get when trying to start apache: [root@localhost www]# /etc/init.d/httpd start Starting httpd: Warning: DocumentRoot [/var/www/mydir] does not exist (98)Address already in use: make_sock: could not bind to address [::]:443 (98)Address already in use: make_sock: could not bind to address 0.0.0.0:443 no listening sockets available, shutting down Unable to open logs [FAILED] The directory does exist and is owned by apache. Any help would be appreciated. Quote Link to comment Share on other sites More sharing options...
Yuka Posted July 9, 2008 Share Posted July 9, 2008 The DocumentRoot mention is a warning, not an error. Warnings generally don't cause Apache to not start. The Address already in use error (socket error) is what caused it to not start, if I had to guess. Make sure you don't have anything else that is already listening on port 443. That's usually HTTPS so I'd make sure you aren't already running some sort of HTTPS service. Try disabling HTTPS within apache and see if it starts (unless you are only trying to use HTTPS with no HTTP service). Alternatively, you could change the listen port of HTTPS to a non-standard port number and see if it fires up. If you don't have any luck with that... could it be an IP addressing issue? A socket = Address + Port, so if one is missing/not useable then the socket will not be available. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.