Sunday, January 25, 2015

apache 2.2 - Cannot open shared object file when restarting httpd




$ /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?


Answer



This may be for the following problems #




  • Your copy of mod_wsgi is compiler against a different version of

    python than what you have.

  • Your copy of libpython shared object file isn't in apache's
    library path



Following links may help you #




No comments:

Post a Comment

linux - How to SSH to ec2 instance in VPC private subnet via NAT server

I have created a VPC in aws with a public subnet and a private subnet. The private subnet does not have direct access to external network. S...