logo
Apache Lounge
Webmasters

 

About Forum Index Downloads Search Register Log in RSS X


Keep Server Online

If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.

or

Bitcoin

A donation makes a contribution towards the costs, the time and effort that's going in this site and building.

Thank You! Steffen

Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
Post new topic   Forum Index -> Apache View previous topic :: View next topic
Reply to topic   Topic: Service refuses to start after trying to load mod_ssl?
Author
Speed2u



Joined: 25 Sep 2018
Posts: 3
Location: Sweden

PostPosted: Wed 26 Sep '18 14:50    Post subject: Service refuses to start after trying to load mod_ssl? Reply with quote

I'm a long-term user of Apache, and more specifically these binaries from Apache Lounge, and i have always been very happy with that. For a not long time ago, i had to reinstall my Windows webserver due to a harddrive failure, and now i seem to have some problems getting ssl to work properly (using the latest 2.4.35 x64 version). I have already configured my vhosts as i want, and got php (7.2.10) to work as intended, but as soon as i try to load the mod_ssl module, the service refuses to start, and the error-log gives me nothing.

I compared an old backup of my config-files and i cannot see any major diffrience from the old server to this one. Besides the default loaded modules, i have also enabled the required mod_socache_shmcb, and the httpd-ssl.conf, containing my vhost for ssl page is included in httpd.conf. Spend some time with google and found out that it could be some problems with the cert itself, since i only use self-signed certificate i just deleted my old ones and created new with the same name on the same location, still same result.

As soon as i comment ( # ) the line where i include my httpd-ssl.conf, the service have no problem to start.

Thx
Back to top
glsmith
Moderator


Joined: 16 Oct 2007
Posts: 2268
Location: Sun Diego, USA

PostPosted: Wed 26 Sep '18 18:18    Post subject: Reply with quote

Windows Event Viewer?
httpd -t from the command prompt?

These are usually where you'll find start up problems especially in Event Viewer.

httpd -t will sometimes say "Syntax OK" but you know that's not correct since Apache will not start as a service.
Back to top
Speed2u



Joined: 25 Sep 2018
Posts: 3
Location: Sweden

PostPosted: Wed 26 Sep '18 18:48    Post subject: Reply with quote

As you mentioned, httpd -t gives me "Syntax OK", however the event viewer gave me more than the error-logs strange enough. Now at least i have something to look for but cant really understand the problem since it's pretty much the same config i have been using for years.

Code:

The Apache service named  reported the following error:
>>> (OS 10048)Normalt tillåts bara en användare för varje socketadress (protokoll/nätverkadress/port).  : AH00072: make_sock: could not bind to address [::]:443     .



The Apache service named  reported the following error:
>>> (OS 10048)Normalt tillåts bara en användare för varje socketadress (protokoll/nätverkadress/port).  : AH00072: make_sock: could not bind to address 0.0.0.0:443     



The Apache service named  reported the following error:
>>> AH00451: no listening sockets available, shutting down     .



The Apache service named  reported the following error:
>>> AH00015: Unable to open logs     .


EDIT: Problem solved. My issue was not related to Apache at all, a conflict with another program listening on port 443 on the same network. Thx anyways
Back to top


Reply to topic   Topic: Service refuses to start after trying to load mod_ssl? View previous topic :: View next topic
Post new topic   Forum Index -> Apache