Cannot load Error : Solved

Error: Cannot load /etc/httpd/modules/

After upgrading  the fedora from 10 to 11, Apache server stopped working.


While try starting the httpd service it gave the following error

#service httpd start

Starting httpd: httpd: Syntax error on line 197 of /etc/httpd/conf/httpd.conf: Cannot load /etc/httpd/modules/ into server: /etc/httpd/modules/ cannot open shared object file: No such file or directory



This is because one of the Apache module was uninstalled during the fedora upgrade.
Install the Missing Modules Mem Cache

Or Comment the following line in /etc/httpd/conf/httpd.cong apache started working

#LoadModule file_cache_module modules/
#LoadModule mem_cache_module modules/

The changelog for the httpd rpm on F11 shows that we explicitly are not building mod_mem_cache or mod_file_cache as of httpd-2.2.11-8

reinstalling fedora-ds-admin-1.1.7-4.fc11 may also solve the problem


Leave a Reply

Your email address will not be published. Required fields are marked *

Comment moderation is enabled. Your comment may take some time to appear.