Linux, FreeBSD, Juniper, Cisco / Network security articles and troubleshooting guides

FAQ
It is currently Fri Dec 09, 2016 6:45 pm


This forum is dedicated to Apache, Nginx, Lighttpd, Squid and other HTTP transport protocol related software

Author Message
LaR3
Post  Post subject: Can't locate API module structure `mod_ssl' in file mod_ssl.so  |  Posted: Wed Sep 02, 2009 1:21 pm

Joined: Mon Aug 03, 2009 4:55 pm
Posts: 19

Offline
 

Can't locate API module structure `mod_ssl' in file mod_ssl.so

Recently I changed my apache from all modules statically built to shared built (to be able to enable/disable any one I want at any time I want).
Still, ssl module has to be compiled separately (--enable-ssl argument to configure script).

If the module is not loaded by default in httpd.conf after installation (if you compiled ssl after apache), SSL won't be activated.

I added the line
Code:
LoadModule mod_ssl   modules/mod_ssl.so

in the modules section of httpd.conf, but apachectl configtest showed this error:
Code:
httpd: Syntax error on line 106 of /opt/apache-2.2.13/conf/httpd.conf: Can't locate API module structure `mod_ssl' in file /opt/apache-2.2.13/modules/mod_ssl.so: /opt/apache-2.2.13_1/modules/mod_ssl.so: undefined symbol: mod_ssl


This is because I used the wrong symbol. The correct one is ssl_module, and not mod_ssl.

This is the correct line to load ssl module in apache 2.2.13
Code:
LoadModule ssl_module   modules/mod_ssl.so

_________________
Humble user
http://www.ivorde.ro





Top
Display posts from previous:  Sort by  
E-mail friendPrint view

Topics related to - "Can't locate API module structure `mod_ssl' in file mod_ssl.so"
 Topics   Author   Replies   Views   Last post 
There are no new unread posts for this topic. php 5.4 Cannot load module 'memcached' because required module 'igbinary' is not loaded in Unknown

mandrei99

0

560

Wed Dec 11, 2013 11:10 am

mandrei99 View the latest post

There are no new unread posts for this topic. Apache Invalid command 'AuthGroupFile', perhaps misspelled or defined by a module not included

LaR3

0

2345

Mon Sep 21, 2009 6:42 pm

LaR3 View the latest post

There are no new unread posts for this topic. Apache 2.2 installation of mod_rewrite module without recompiling whole apache

debuser

0

2904

Tue Mar 23, 2010 11:22 am

debuser View the latest post

There are no new unread posts for this topic. Pcfg_openfile: unable to check htaccess file, ensure it is readable

designeru

0

515

Sat May 22, 2010 6:14 pm

designeru View the latest post

 

Who is online
Users browsing this forum: No registered users and 0 guests
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum
Jump to:  
News News Site map Site map SitemapIndex SitemapIndex RSS Feed RSS Feed Channel list Channel list


Delete all board cookies | The team | All times are UTC - 5 hours [ DST ]



phpBB SEO