*I tried that and again the same error. This is the log file [Wed Jun 30 09:46:40 2010] [info] [client 127.0.0.1] mod_wsgi (pid=24833, process='', application='localhost|/myapp'): Loading WSGI script '/var/www/django/myapp/apache/django.wsgi'. [Wed Jun 30 09:46:40 2010] [error] [client 127.0.0.1] mod_wsgi (pid=24833): Target WSGI script '/var/www/django/myapp/apache/django.wsgi' c annot be loaded as Python module. [Wed Jun 30 09:46:40 2010] [error] [client 127.0.0.1] mod_wsgi (pid=24833): Exception occurred processing WSGI script '/var/www/django/myap p/apache/django.wsgi'. [Wed Jun 30 09:46:40 2010] [error] [client 127.0.0.1] Traceback (most recent call last): [Wed Jun 30 09:46:40 2010] [error] [client 127.0.0.1] File "/var/www/django/myapp/apache/django.wsgi", line 12, in <module> [Wed Jun 30 09:46:40 2010] [error] [client 127.0.0.1] command.validate() [Wed Jun 30 09:46:40 2010] [error] [client 127.0.0.1] File "/opt/python2.6/lib/python2.6/site-packages/django/core/management/base.py", l ine 243, in validate [Wed Jun 30 09:46:40 2010] [error] [client 127.0.0.1] from django.core.management.validation import get_validation_errors [Wed Jun 30 09:46:40 2010] [error] [client 127.0.0.1] File "/opt/python2.6/lib/python2.6/site-packages/django/core/management/validation. py", line 3, in <module> [Wed Jun 30 09:46:40 2010] [error] [client 127.0.0.1] from django.utils.itercompat import is_iterable [Wed Jun 30 09:46:40 2010] [error] [client 127.0.0.1] File "/opt/python2.6/lib/python2.6/site-packages/django/utils/itercompat.py", line 7, in <module> [Wed Jun 30 09:46:40 2010] [error] [client 127.0.0.1] import itertools [Wed Jun 30 09:46:40 2010] [error] [client 127.0.0.1] ImportError: /opt/python2.6/lib/python2.6/lib-dynload/itertools.so: failed to map seg ment from shared object: Permission denied
* On Tue, Jun 29, 2010 at 4:56 PM, Graham Dumpleton < [email protected]> wrote: > On 28 June 2010 16:29, Randhir Singh <[email protected]> wrote: > > This ldd output > > > > linux-gate.so.1 => (0x00283000) > > libpython2.6.so.1.0 => /opt/python2.6/lib/libpython2.6.so.1.0 > > (0x00a78000) > > libpthread.so.0 => /lib/libpthread.so.0 (0x00110000) > > libdl.so.2 => /lib/libdl.so.2 (0x00129000) > > libutil.so.1 => /lib/libutil.so.1 (0x00df3000) > > libm.so.6 => /lib/libm.so.6 (0x0012e000) > > libc.so.6 => /lib/libc.so.6 (0x0080d000) > > /lib/ld-linux.so.2 (0x002e5000) > > > > I have installed the new version as u said > > > > I get this > > > > [sput...@sputnik mod_wsgi-2.8]$ unsetenv LD_RUN_PATH > > -bash: unsetenv: command not found > > I should have said: > > unset LD_RUN_PATH > > It wouldn't have mattered, as all was doing was undoing the > environment variable setting so didn't cause any problems for you > later if you used same shell to compile other code. > > So, just install the compiled module, completely stop Apache, and then > start it again. Does that make a difference? > > Graham > > > [sput...@sputnik mod_wsgi-2.8]$ locate unsetenv > > /usr/share/man/man3/unsetenv.3.gz > > /usr/share/man/man3p/unsetenv.3p.gz > > [sput...@sputnik mod_wsgi-2.8]$ > > > > > > > > What should i do next . > > > > I think i did only one installation but may be more i don't know . i did > so > > many initially when i started doing it and now i forget what did on > system > > > > On Sun, Jun 27, 2010 at 10:33 PM, Graham Dumpleton > > <[email protected]> wrote: > >> > >> ldd .libs/mod_wsgi.so > > > > -- > > 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]<modwsgi%[email protected]> > . > > 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 [email protected]. > To unsubscribe from this group, send email to > [email protected]<modwsgi%[email protected]> > . > 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 [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.
