Quick Fix Apache: “module wsgi_module is already loaded, skipping”

module wsgi_module

You might face this error in Apache  ‘’module wsgi_module is already loaded, skipping’’ when SSL module is enabled in more than one place, ie loading the modules more than once. It is difficult to find your SSL module if you have more virtual host configuration files in Apache.

You can execute the below solution to fix Apache  ‘’module wsgi_module is already loaded, skipping’’ error.

With Redhat Linux:

To remove the below warning, grep “ssl_module” in all configuration files..

#/usr/sbin/httpd -t

command output:

[Tue Aug10 08:12:11 2021] [warn] module ssl_module is already loaded, skipping

Syntax OK

To grep “ssl_module” execute the below command;

#grep ssl_module -rI /etc/httpd/*
conf/httpd.conf:LoadModule ssl_module /usr/lib64/httpd/modules/mod_ssl.so

conf.d/ssl.conf:LoadModule ssl_module modules/mod_ssl.so

Here you can see two files with grep where ssl_module is defined.

You need to load all the required modules in one place /etc/httpd/conf/httpd.conf file. To do so, remove or comment out it from /etc/httpd/conf.d/ssl.conf file.

#vim /etc/httpd/conf.d/ssl.conf

#LoadModule ssl_module modules/mod_ssl.so

Now commend out ssl_module, and exit after saving the file.

Next, run the syntax checks command and check to see if there is any warning.

#httpd -t
Syntax OK

Lastly, restart the apache service.

#service httpd restart

There you go, now you have fixed Apache ssl_module skipping warning if loaded already. Now you won’t face module wsgi_module is already loaded, skipping error.

For assistance connect here.

You can also check: Steps to fix Apache ActiveMQ

To get updates follow us on Facebook, Twitter, LinkedIn

Subscribe to get free blog content to your Inbox