Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

$ /etc/init.d/httpd restart

Starting httpd: httpd: 
Syntax error on line 205 of /etc/httpd/conf/httpd.conf: 
Cannot load /etc/httpd/modules/mod_wsgi.so into server: 
/etc/httpd/modules/mod_wsgi.so: cannot open shared object file: 
No such file or directory

file: httpd.conf

..
205: LoadModule wsgi_module modules/mod_wsgi.so

Any ideas in how can i correct this error or how to share the file: "mod_wsgi.so", in order to be loaded and used by apache?

share|improve this question
add comment

1 Answer

up vote 0 down vote accepted

mod_wsgi is an a module to host Python applications using the WSGI interface.

If you're not going to do that, just comment out the line. If you do want to run it, try making a fresh install of mod_wsgi. There's information at the modwsgi page

share|improve this answer
    
yea, problem solved: I installed an older version of mod_wsgi 2.0, to get working woth Apache 2.2.2 and Python 2.5. –  Kreshnik Aug 23 '12 at 18:35
    
Why install an older version. Lastest version still works with those Apache and Python versions. –  Graham Dumpleton Aug 24 '12 at 2:43
add comment

Your Answer

 
discard

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.