Jump to content

Apache won't start


progc

Recommended Posts

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.

Link to comment
https://forums.phpfreaks.com/topic/112257-apache-wont-start/
Share on other sites

  • 2 weeks later...

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.

Link to comment
https://forums.phpfreaks.com/topic/112257-apache-wont-start/#findComment-585379
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.