Disable SELinux extensions or work out how to configure it properly. Variant of issue mentioned in:
http://code.google.com/p/modwsgi/wiki/ApplicationIssues#Secure_Variants_Of_UNIX See also: http://www.crypt.gen.nz/selinux/disable_selinux.html Graham On 12 July 2010 03:51, tazimk <tazimkol...@gmail.com> wrote: > hi, > > Initially I installed python2.6 as follows > > $./configure --enabled-shared > $make > $make install > > Then I installed mod_wsgi as follows : > > $./configure --with-python=/usr/local/bin/python2.6 > $make > $make install > > > In /etc/httpd/conf/ > > added following statements in httpd.conf file > $ vim httpd.conf > > #This should be included somewhere at the top of this file > LoadModule wsgi_module modules/mod_wsgi.so > > #somewhere at the bottom > Include "root/webexample/apache/apache_django_wsgi.conf" > > > webexample is my project name > > Also, created a link for libpython2.6.so as follows : > > $cd /usr/local/lib/python2.6/config > > $ln -s ../ ../libpython2.6.so > > Then started apache server > > service httpd start > Starting httpd: Syntax error on line 191 of /etc/httpd/conf/ > httpd.conf: > Cannot load /etc/httpd/modules/mod_wsgi.so into server: > libpython2.6.so.1.0: failed to map segment from shared object: > Permission denied > [FAILED] > > Can anyone help me out to figure out this error ? > I have throughly checked Installation issues,Configuration issues but > still unable to figure out > > Thanks in advance > > -- > You received this message because you are subscribed to the Google Groups > "modwsgi" group. > To post to this group, send email to modw...@googlegroups.com. > To unsubscribe from this group, send email to > modwsgi+unsubscr...@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/modwsgi?hl=en. > > -- You received this message because you are subscribed to the Google Groups "modwsgi" group. To post to this group, send email to modw...@googlegroups.com. To unsubscribe from this group, send email to modwsgi+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/modwsgi?hl=en.