[OPEN-ILS-DEV] cannot load modules into server

Grace Liu gyliu86 at hotmail.com
Thu Feb 8 23:22:58 EST 2007


Hi,

Can anyone solve this problem:

For the apache2 config, I got error. I got failed message when restart/start 
the apache2:

# /etc/init.d/apache2 restart
Forcing reload of web server (apache2)...[Thu Feb 08 23:18:17 2007] [warn] 
module perl_module is already loaded, skipping
apache2: Syntax error on line 193 of /etc/apache2/apache2.conf: Syntax error 
on line 8 of /etc/apache2/httpd.conf: Cannot load 
/usr/lib/apache2/modules/osrf_json_gateway.so into server: libobjson.so: 
cannot open shared object file: No such file or directory

I checked the files: osrf_json_gateway.so . it is in the 
/usr/lib/apache2/modules/,  while libobjson.so in the /openils/lib/. Then I 
copied libopensrf.so into the /usr/lib/apache2/modules/. But I got exactly 
the same error.

The line 8:  LoadModule osrf_json_gateway_module 
/usr/lib/apache2/modules/osrf_json_gateway.so


When I commented the line 8, same error for the line 9:

# /etc/init.d/apache2 restart
Forcing reload of web server (apache2)...apache2: Syntax error on line 193 
of /etc/apache2/apache2.conf: Syntax error on line 9 of 
/etc/apache2/httpd.conf: Cannot load /usr/lib/apache2/modules/mod_xmlent.so 
into server: libopensrf.so: cannot open shared object file: No such file or 
directory

The httpd.conf file:
==============================
#Dummy LoadModule directive to aid module installations
#LoadModule dummy_module /usr/lib/apache2/modules/mod_dummy.so

PerlRequire /etc/apache2/conf/startup.pl

LoadModule perl_module modules/mod_perl.so

LoadModule osrf_json_gateway_module 
/usr/lib/apache2/modules/osrf_json_gateway.so
LoadModule xmlent_module /usr/lib/apache2/modules/mod_xmlent.so

Include conf/evergreen_vhost.conf
<IfModule mod_ssl.c>
   Include /etc/apache2/conf/evergreen_vhost_ssl.conf
</IfModule>


Thanks
Grace 



More information about the Open-ils-dev mailing list