[Bug 749720] Re: Wrong symlink in libapache2-mod-wsgi-py3

Tobias Bradtke 749720 at bugs.launchpad.net
Sun Apr 3 21:05:40 UTC 2011


Ok, i can get it working with mod_wsgi.so-3.1

# cp -sf /usr/lib/apache2/modules/mod_wsgi.so{-3.1,}

# service apache2 restart
 * Restarting web server apache2
 ... waiting .   ...done.


** Description changed:

  I just installed libapache2-mod-wsgi-py3. Apache gave an error after the
  attempt to restart:
  
  # service apache2 restart
  apache2: Syntax error on line 203 of /etc/apache2/apache2.conf: Syntax error on line 1 of /etc/apache2/mods-enabled/wsgi.load: Cannot load /usr/lib/apache2/modules/mod_wsgi.so into server: /usr/lib/apache2/modules/mod_wsgi.so: cannot open shared object file: No such file or directory
  Action 'configtest' failed.
  The Apache error log may have more information.
-    ...fail!
+    ...fail!
  
  # ls /usr/lib/apache2/modules/mod_wsgi.so* -l
  lrwxrwxrwx 1 root root     17 2011-04-03 18:54 /usr/lib/apache2/modules/mod_wsgi.so -> mod_wsgi.so-3.2-1
  -rw-r--r-- 1 root root 156320 2010-12-03 19:59 /usr/lib/apache2/modules/mod_wsgi.so-3.1
  -rw-r--r-- 1 root root 156320 2010-12-03 19:59 /usr/lib/apache2/modules/mod_wsgi.so-3.2
  
  Attempt to fix:
- # cp -lf /usr/lib/apache2/modules/mod_wsgi.so{-3.2,}
+ # cp -sf /usr/lib/apache2/modules/mod_wsgi.so{-3.2,}
  
  Now i get:
  # service apache2 restart
  apache2: Syntax error on line 203 of /etc/apache2/apache2.conf: Syntax error on line 1 of /etc/apache2/mods-enabled/wsgi.load: Cannot load /usr/lib/apache2/modules/mod_wsgi.so into server: /usr/lib/apache2/modules/mod_wsgi.so: undefined symbol: PyCObject_FromVoidPtr
  Action 'configtest' failed.
  The Apache error log may have more information.
-    ...fail!
+    ...fail!

-- 
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/749720

Title:
  Wrong symlink in libapache2-mod-wsgi-py3



More information about the Ubuntu-server-bugs mailing list