httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Francis ANDRE" <francis.an...@easynet.fr>
Subject [httpd 2.0]: apr_dso_load Help needed!
Date Mon, 17 Oct 2005 11:59:21 GMT
Hi Listeners


The same DSO library cannot be found by the second instcance of Apache.exe. 
Could anybody help me in solving this issue.

While the SMAM.so library is loaded without any error by the first Apache 
instance ([Mon Oct 17 10:12:38 2005] [debug] apache_handler.cpp(140): loaded 
CPP so:
test_handler), the second Apache instance emits an error when loading the 
same library(Error Loading CPP SO modules/SMAM.so into server: The specified 
module could
not be found.)

TIA

FA




Here is the code involved in LoadCPPModule
-------------------------
if ( apr_dso_load(&sohandle, path, pool) != APR_SUCCESS ) {
char my_error[256];
return apr_pstrcat(
pool, "Error Loading CPP SO ", path, " into server: ",
apr_dso_error( sohandle, my_error, sizeof(my_error)),
NULL);
}

Here is the traces at startup:
---------------------------
[Mon Oct 17 10:12:38 2005] [debug] mod_so.c(248): loaded module
access_module
[Mon Oct 17 10:12:38 2005] [debug] mod_so.c(248): loaded module
actions_module
[Mon Oct 17 10:12:38 2005] [debug] mod_so.c(248): loaded module alias_module
[Mon Oct 17 10:12:38 2005] [debug] mod_so.c(248): loaded module asis_module
[Mon Oct 17 10:12:38 2005] [debug] mod_so.c(248): loaded module auth_module
[Mon Oct 17 10:12:38 2005] [debug] mod_so.c(248): loaded module
autoindex_module
[Mon Oct 17 10:12:38 2005] [debug] mod_so.c(248): loaded module cgi_module
[Mon Oct 17 10:12:38 2005] [debug] mod_so.c(248): loaded module dav_module
[Mon Oct 17 10:12:38 2005] [debug] mod_so.c(248): loaded module dir_module
[Mon Oct 17 10:12:38 2005] [debug] mod_so.c(248): loaded module env_module
[Mon Oct 17 10:12:38 2005] [debug] mod_so.c(248): loaded module imap_module
[Mon Oct 17 10:12:38 2005] [debug] mod_so.c(248): loaded module
include_module
[Mon Oct 17 10:12:38 2005] [debug] mod_so.c(248): loaded module isapi_module
[Mon Oct 17 10:12:38 2005] [debug] mod_so.c(248): loaded module
log_config_module
[Mon Oct 17 10:12:38 2005] [debug] mod_so.c(248): loaded module mime_module
[Mon Oct 17 10:12:38 2005] [debug] mod_so.c(248): loaded module
negotiation_module
[Mon Oct 17 10:12:38 2005] [debug] mod_so.c(248): loaded module
setenvif_module
[Mon Oct 17 10:12:38 2005] [debug] mod_so.c(248): loaded module
userdir_module
[Mon Oct 17 10:12:38 2005] [debug] mod_so.c(248): loaded module
cplusplus_module
[Mon Oct 17 10:12:38 2005] [debug] mod_so.c(248): loaded module
dav_svn_module
[Mon Oct 17 10:12:38 2005] [debug] mod_so.c(248): loaded module
authz_svn_module
[Mon Oct 17 10:12:38 2005] [debug] apache_handler.cpp(126): load_cpp_module:
1
[Mon Oct 17 10:12:38 2005] [debug] apache_handler.cpp(140): loaded CPP so:
test_handler
[Mon Oct 17 10:12:38 2005] [debug] apache_handler.cpp(156): load_cpp_module:
2
[Mon Oct 17 10:12:38 2005] [info] constructing soap handler.
[Mon Oct 17 10:12:39 2005] [debug] apache_handler.cpp(168): load_cpp_module:
3
[Mon Oct 17 10:12:39 2005] [debug] apache_handler.cpp(193): load_cpp_module:
4
[Mon Oct 17 10:12:39 2005] [debug] mod_so.c(248): loaded module
access_module
[Mon Oct 17 10:12:39 2005] [debug] mod_so.c(248): loaded module
actions_module
[Mon Oct 17 10:12:39 2005] [debug] mod_so.c(248): loaded module alias_module
[Mon Oct 17 10:12:39 2005] [debug] mod_so.c(248): loaded module asis_module
[Mon Oct 17 10:12:39 2005] [debug] mod_so.c(248): loaded module auth_module
[Mon Oct 17 10:12:39 2005] [debug] mod_so.c(248): loaded module
autoindex_module
[Mon Oct 17 10:12:39 2005] [debug] mod_so.c(248): loaded module cgi_module
[Mon Oct 17 10:12:39 2005] [debug] mod_so.c(248): loaded module dav_module
[Mon Oct 17 10:12:39 2005] [debug] mod_so.c(248): loaded module dir_module
[Mon Oct 17 10:12:39 2005] [debug] mod_so.c(248): loaded module env_module
[Mon Oct 17 10:12:39 2005] [debug] mod_so.c(248): loaded module imap_module
[Mon Oct 17 10:12:39 2005] [debug] mod_so.c(248): loaded module
include_module
[Mon Oct 17 10:12:39 2005] [debug] mod_so.c(248): loaded module isapi_module
[Mon Oct 17 10:12:39 2005] [debug] mod_so.c(248): loaded module
log_config_module
[Mon Oct 17 10:12:39 2005] [debug] mod_so.c(248): loaded module mime_module
[Mon Oct 17 10:12:39 2005] [debug] mod_so.c(248): loaded module
negotiation_module
[Mon Oct 17 10:12:39 2005] [debug] mod_so.c(248): loaded module
setenvif_module
[Mon Oct 17 10:12:39 2005] [debug] mod_so.c(248): loaded module
userdir_module
[Mon Oct 17 10:12:39 2005] [debug] mod_so.c(248): loaded module
cplusplus_module
[Mon Oct 17 10:12:39 2005] [debug] mod_so.c(248): loaded module
dav_svn_module
[Mon Oct 17 10:12:39 2005] [debug] mod_so.c(248): loaded module
authz_svn_module
[Mon Oct 17 10:12:39 2005] [debug] apache_handler.cpp(126): load_cpp_module:
1
Syntax error on line 178 of C:/Program Files/Apache
Group/Apache2/conf/httpd.conf:
Error Loading CPP SO modules/SMAM.so into server: The specified module could
not be found.




Here is snipet of the httpd config involved:
------------------------------------------
#LoadModule usertrack_module modules/mod_usertrack.so
#LoadModule vhost_alias_module modules/mod_vhost_alias.so
#LoadModule ssl_module    modules/mod_ssl.so
LoadModule cplusplus_module modules/mod_cplusplus.so
LoadModule dav_svn_module "C:/Program Files/Subversion/bin/mod_dav_svn.so"
LoadModule authz_svn_module "C:/Program 
Files/Subversion/bin/mod_authz_svn.so"
LoadCPPHandler test_handler modules/SMAM.so 

Mime
View raw message