On 12 February 2011 11:50, commonzenpython <[email protected]> wrote: > here is the output of the command you gave me : > > libpthread.so.0 => /lib/tls/libpthread.so.0 (0xb7e04000) > libdl.so.2 => /lib/libdl.so.2 (0xb7dff000) > libutil.so.1 => /lib/libutil.so.1 (0xb7dfb000) > libm.so.6 => /lib/tls/libm.so.6 (0xb7dd8000) > libc.so.6 => /lib/tls/libc.so.6 (0xb7ca8000) > /lib/ld-linux.so.2 (0xb7fea000)
If this is the ldd output from mod_wsgi.so, then the Python installation you are using was not configured with --enabled-shared option when it was built. If you built the Python you are using from source code yourself, you should go back and clean its source and then reconfigure and rebuild it and reinstall it, this time with the --enable-shared option to the configure script in the Python source directory. This will ensure that Python shared library is used. If you don't use a shared library then your Apache processes will use a lot more memory. See: http://code.google.com/p/modwsgi/wiki/InstallationIssues#Lack_Of_Python_Shared_Library for further information on this issue. > also i got working by copying the compiled .libs/mod_wsgi.so file into > the apache/modules directory, so in the logs it showed that i was now > using python2.7, but now its throwing an error: > > No such file or directory: mod_wsgi (pid=3452): Unable to connect to > WSGI daemon process > 'ashtanga' on '/usr/local/apache/run/wsgi.3436.0.1.sock' after > multiple attempts. Does the directory '/usr/local/apache/run' actually exist? You are using your own Apache installation and for ASF Apache there is no such directory. Looks like you may be setting the WSGISocketPrefix option when you don't need to. Don't set it and it should use /usr/local/apache/log for the socket files. So, you DON'T want to do what is described in: http://code.google.com/p/modwsgi/wiki/ConfigurationIssues#Location_Of_UNIX_Sockets Comment out WSGISocketPrefix from Apache configuration and see how it goes. Graham -- 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.
