Public bug reported:

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!

# 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 -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!

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

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

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

Reply via email to