Public bug reported: When mod_wsgi.so links to mod_wsgi.so-3.2, apache2 throws error messages:
# ls /usr/lib/apache2/modules/mod_wsgi.so* -l lrwxrwxrwx 1 root root 40 2011-04-13 17:45 /usr/lib/apache2/modules/mod_wsgi.so -> /usr/lib/apache2/modules/mod_wsgi.so-3.2 -rw-r--r-- 1 root root 156320 2011-04-07 14:10 /usr/lib/apache2/modules/mod_wsgi.so-3.1 -rw-r--r-- 1 root root 156320 2011-04-07 14:10 /usr/lib/apache2/modules/mod_wsgi.so-3.2 # tail -f /var/log/apache2/error.log [Wed Apr 13 17:45:05 2011] [notice] Apache/2.2.17 (Ubuntu) mod_wsgi/3.3 Python/3.2 configured -- resuming normal operations Fatal Python error: PyEval_AcquireLock: current thread state is NULL [Wed Apr 13 17:45:07 2011] [notice] child pid 6114 exit signal Aborted (6) Fatal Python error: PyEval_AcquireLock: current thread state is NULL [Wed Apr 13 17:45:09 2011] [notice] child pid 6257 exit signal Aborted (6) Fatal Python error: PyEval_AcquireLock: current thread state is NULL [Wed Apr 13 17:45:11 2011] [notice] child pid 6321 exit signal Aborted (6) Fatal Python error: PyEval_AcquireLock: current thread state is NULL [Wed Apr 13 17:45:13 2011] [notice] child pid 6355 exit signal Aborted (6) Fatal Python error: PyEval_AcquireLock: current thread state is NULL [Wed Apr 13 17:45:15 2011] [notice] child pid 6432 exit signal Aborted (6) ... Linking to mod_wsgi.so-3.1 fixes this for me. # cp -sf /usr/lib/apache2/modules/mod_wsgi.so{-3.1,} # ls /usr/lib/apache2/modules/mod_wsgi.so* -l lrwxrwxrwx 1 root root 40 2011-04-13 17:50 /usr/lib/apache2/modules/mod_wsgi.so -> /usr/lib/apache2/modules/mod_wsgi.so-3.1 -rw-r--r-- 1 root root 156320 2011-04-07 14:10 /usr/lib/apache2/modules/mod_wsgi.so-3.1 -rw-r--r-- 1 root root 156320 2011-04-07 14:10 /usr/lib/apache2/modules/mod_wsgi.so-3.2 # service apache2 restart # tail -f /var/log/apache2/error.log [Wed Apr 13 17:50:42 2011] [notice] Apache/2.2.17 (Ubuntu) mod_wsgi/3.3 Python/3.1.3 configured -- resuming normal operations ** Affects: mod-wsgi (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to mod-wsgi in Ubuntu. https://bugs.launchpad.net/bugs/759943 Title: mod_wsgi.so-3.2 gives errors -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs