Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am running Centos 5 on 64 with apache 2.2.

When I include wsgi_module apache restarts ok with no errors, but it fails to serve any requests. It just says waiting in the browser when I access an URL.

Any thoughts of the problem or how can I narrow the problem down?


httpd -M
Loaded Modules:
core_module (static)
authn_file_module (static)
authz_host_module (static)
authz_groupfile_module (static)
authz_user_module (static)
authz_default_module (static)
auth_basic_module (static)
cache_module (static)
mem_cache_module (static)
include_module (static)
filter_module (static)
log_config_module (static)
logio_module (static)
env_module (static)
expires_module (static)
headers_module (static)
setenvif_module (static)
version_module (static)
proxy_module (static)
proxy_connect_module (static)
proxy_ftp_module (static)
proxy_http_module (static)
proxy_scgi_module (static)
proxy_ajp_module (static)
proxy_balancer_module (static)
ssl_module (static)
mpm_prefork_module (static)
http_module (static)
mime_module (static)
dav_module (static)
status_module (static)
autoindex_module (static)
asis_module (static)
info_module (static)
suexec_module (static)
cgi_module (static)
dav_fs_module (static)
negotiation_module (static)
dir_module (static)
actions_module (static)
userdir_module (static)
alias_module (static)
rewrite_module (static)
so_module (static)
dav_svn_module (shared)
authz_svn_module (shared)
bwlimited_module (shared)
php5_module (shared)

Syntax OK

share|improve this question
What is in the logs? especially errors.log? – cstamas Jun 18 '11 at 21:40

This can happen if you are still loading mod_python into same Apache and mod_python was compiled for different version or mod_python was linking statically to Python.

This and various other issues that can arise are documented in mod_wsgi wiki.

Check that. Also ensure you set 'LogLevel' directive to at least 'info', instead of 'warn'. This will cause mod_wsgi to log more about what it is doing.

share|improve this answer
i was loading mod_python, but removed it. Still same error. Tnx for your response. – Gabriel Solomon Jun 12 '11 at 8:55
Double check you have removed it by running 'httpd -M' command to list loaded modules. Also ensure you do a complete 'stop' and 'start' of Apache and not just a 'reload' or 'restart' as mod_python doesn't always unload properly. – Graham Dumpleton Jun 13 '11 at 3:45
Added the loaded modules to the question. No python module loaded. – Gabriel Solomon Jun 13 '11 at 9:08
Next likely potential cause then is your application. Add 'WSGIApplicationGroup %{GLOBAL}'. This works around problems with third party Python extensions that don't support Python sub interpreters. – Graham Dumpleton Jun 13 '11 at 9:13
BTW, I am just repeating stuff that is given in the documentation. You have read that haven't you? – Graham Dumpleton Jun 13 '11 at 9:15

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.