Dear modwsgi Team,
I hope you could help me with a mod_wsgi load error upon startup of
apache. This is affecting one of our site Go Live and I would
appreciate any help
offered in this regard. I am willing to try out code changes on my
machine and rebuilding and retesting if someone could send me the
changes source files.
The error upon startup of Apache is as follows
root [zibal]% ./usr/local/apache2/bin/apachectl restart
httpd: Syntax error on line 53 of /usr/local/apache2/conf/httpd.conf:
Cannot load /usr/local/apache2/modules/mod_wsgi.so into server: rtld:
0712-001 Symbol
ap_cleanup_scoreboard was referenced\n from module /usr/local/
apache2/modules/mod_wsgi.so(), but a runtime definition\n of the
symbol was not
found.\nrtld: 0712-001 Symbol ap_accept_lock_mech was referenced
\n from module /usr/local/apache2/modules/mod_wsgi.so(), but a
runtime definition\n
of the symbol was not found.
I built Apaxhe 2.2.17 and Mod_Wsgi 3.3 using the source and the
compiler was gcc-4.2.
Here are the AIX Server Details
Here is the Apache Build Information
=====================================
root [zibal]% ./usr/local/apache2/bin/httpd -V
Server version: Apache/2.2.17 (Unix)
Server built: Nov 18 2010 05:04:25
Server's Module Magic Number: 20051115:25
Server loaded: APR 1.4.2, APR-Util 1.3.10
Compiled using: APR 1.4.2, APR-Util 1.3.10
Architecture: 32-bit
Server MPM: Prefork
threaded: no
forked: yes (variable process count)
Server compiled with....
-D APACHE_MPM_DIR="server/mpm/prefork"
-D APR_HAS_SENDFILE
-D APR_HAS_MMAP
-D APR_HAVE_IPV6 (IPv4-mapped addresses enabled)
-D APR_USE_SYSVSEM_SERIALIZE
-D APR_USE_PTHREAD_SERIALIZE
-D SINGLE_LISTEN_UNSERIALIZED_ACCEPT
-D APR_HAS_OTHER_CHILD
-D AP_HAVE_RELIABLE_PIPED_LOGS
-D DYNAMIC_MODULE_LIMIT=128
-D HTTPD_ROOT="/usr/local/apache2"
-D SUEXEC_BIN="/usr/local/apache2/bin/suexec"
-D DEFAULT_PIDLOG="logs/httpd.pid"
-D DEFAULT_SCOREBOARD="logs/apache_runtime_status"
-D DEFAULT_LOCKFILE="logs/accept.lock"
-D DEFAULT_ERRORLOG="logs/error_log"
-D AP_TYPES_CONFIG_FILE="conf/mime.types"
-D SERVER_CONFIG_FILE="conf/httpd.conf"
Contents of config.nice file are as follows
++++++++++++++++++++++++
#! /bin/sh
#
# Created by configure
CC="gcc"; export CC
"./configure" \
"CC=gcc" \
"$@"
++++++++++++++++++++++++
Information about Apache Modules Loaded
=======================================
root [zibal]% ./usr/local/apache2/bin/httpd -l
Compiled in modules:
core.c
mod_authn_file.c
mod_authn_default.c
mod_authz_host.c
mod_authz_groupfile.c
mod_authz_user.c
mod_authz_default.c
mod_auth_basic.c
mod_include.c
mod_filter.c
mod_log_config.c
mod_env.c
mod_setenvif.c
mod_version.c
prefork.c
http_core.c
mod_mime.c
mod_status.c
mod_autoindex.c
mod_asis.c
mod_cgi.c
mod_negotiation.c
mod_dir.c
mod_actions.c
mod_userdir.c
mod_alias.c
mod_so.c
In httpd.conf, i only have the following LoadModule Statement
=============================================================
LoadModule wsgi_module modules/mod_wsgi.so
Information about Global Accept Mutex
=====================================
Valid accept mutexes for this platform and MPM are: default, fcntl,
sysvsem, posixsem, pthread.
Please let me know if I should provide some additional information.
Appreciate your help on this.
Regards,
Guddu
--
You received this message because you are subscribed to the Google Groups
"modwsgi" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/modwsgi?hl=en.