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
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
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.