Updated HTTPD, missing shared objects
I'm moving a web server from RHEL 5 to RHEL 6 and have copied the httpd.conf file over, but when trying to start apache I get an error
Code:
Starting httpd: httpd: Syntax error on line 196 of /etc/httpd/conf/httpd.conf: Cannot load /etc/httpd/modules/mod_file_cache.so into server: /etc/httpd/modules/mod_file_cache.so: cannot open shared object file: No such file or directory Code:
modules/mod_file_cache.so Code:
modules/mod_authz_ldap.so |
Most of these modules need to be compiled with Apache and those modules are probably installed by design, authz_ldap allows ldap authentication integration into Apache and the cache modules can dramatically increase page load times.
Now most of these can be done with yum but you are probably not using yum correctly. Do the following and see what packages come back: Code:
yum provides "*modules/mod_authz_ldap.so" Also, how did you install Apache on the new system? I believe some of these modules should come with the out of the box install of httpd from the red hat repo. Example yum output: Code:
# yum provides "*modules/mod_file_cache.so" |
Quote:
Code:
# yum provides "*modules/mod_authz_ldap.so" Code:
# yum provides "*modules/mod_file_cache.so" Code:
# yum provides "*modules/mod_mem_cache.so" Quote:
edit: I'm missing libphp5.so now too. |
I think your system is not registered with RHN.
You can NOT progress beyond here UNTIL this machine IS registered contact red hat sales and add this machine on to your existing license ( if you have one) |
Quote:
Quote:
OP, see the last comment in this bug report on the RHEL site, here: https://bugzilla.redhat.com/show_bug.cgi?id=899417 To quote it: Quote:
Since you're migrating, you can just install the mod_disk_cache module, and comment out the other two, now that you have the LDAP module installed. Installing the PHP module should be fairly straightfoward, since you're registered, and you can just use yum to install it, as you did the LDAP module. |
Quote:
|
All times are GMT -5. The time now is 09:05 PM. |