Problems after Debian upgrade

Tasslehoff Burrfoot <[email protected]>
Newsgroups gmane.comp.web.wiki.moin.general
Message-ID <CAELo-Y34TGRvpuwMEVMkf6qtY=CVgrAr4gUgS9U5hAfyb+HSQg@mail.gmail.com>
Hi all, I got some problems on a MoinMoin 1.97 instance running on a Debian
box recently upgraded from sqeeze to wheezy.
I installed MoinMoin some weeks before the upgrade following the great
guide on the official website and everything worked like a charm, all
problems started since the upgrade.
MoinMoin runs on:
- Apache 2.2.22
- mod_wsgi/3.3
- mod_python/3.3.1
- Python/2.7.3
- webserver owner "apache:apache"

I found some references on this url (
http://moinmo.in/MoinMoinQuestions/Errors#Internal_Server_Error) but
checking permissions all seems ok.
Using python as webserver and test.wsgi results ok, same result running
python as root or apache user (
http://www.scribd.com/doc/142843621/WSGI-Test-Script-pdf)

--- apache error log
[Tue May 21 23:06:27 2013] [error] [client 192.168.1.200] mod_wsgi
(pid=15099): Target WSGI script '/usr/local/share/moin/moin.wsgi' cannot be
loaded as Python module.
[Tue May 21 23:06:27 2013] [error] [client 192.168.1.200] mod_wsgi
(pid=15099): Exception occurred processing WSGI script
'/usr/local/share/moin/moin.wsgi'.
[Tue May 21 23:06:27 2013] [error] [client 192.168.1.200] Traceback (most
recent call last):
[Tue May 21 23:06:27 2013] [error] [client 192.168.1.200]   File
"/usr/local/share/moin/moin.wsgi", line 43, in <module>
[Tue May 21 23:06:27 2013] [error] [client 192.168.1.200]     from
MoinMoin.web.serving import make_application
[Tue May 21 23:06:27 2013] [error] [client 192.168.1.200] ImportError: No
module named MoinMoin.web.serving

--- apache permissions on python directory
ritz:/usr/lib# ls -l /usr/lib/ | grep "python" | grep -v "lib"
drwxr-xr-x 20 root root        12264 nov 27  2011 python2.4
drwxr-xr-x 21 root root        13824 nov 29  2011 python2.5
drwxr-xr-x 23 root root        13120 mag  7 03:10 python2.6
drwxr-xr-x 26 root root        13592 mag  7 03:08 python2.7
drwxr-xr-x  3 root root           80 mag  7 01:54 python3
drwxr-xr-x  2 root root          112 mag  7 03:09 python-tz
apache@ritz:/usr/lib/python2.7/test$ which python
/usr/bin/python
apache@ritz:/usr/lib/python2.7/test$ python -V
Python 2.7.3
apache@ritz:/usr/lib/python2.7/test$ ./pystone.py
Pystone(1.1) time for 50000 passes = 6.32
This machine benchmarks at 7911.39 pystones/second

--- apache configuration
WSGIScriptAlias /wiki   /usr/local/share/moin/moin.wsgi
WSGIDaemonProcess moin user=apache group=apache processes=5 threads=10
maximum-requests=1000 umask=0007
WSGIProcessGroup moin

--- /usr/local/share/moin/moin.wsgi sys.path
sys.path.insert(0, '/usr/local/share/moin')

Any suggestion?

Thanks

Tasslehoff Burrfoot

---
Public PGP key block at
http://tasslehoff.burrfoot.it/url/pgp

------------------------------------------------------------------------------
Try New Relic Now & We'll Send You this Cool Shirt
New Relic is the only SaaS-based application performance monitoring service 
that delivers powerful full stack analytics. Optimize and monitor your
browser, app, & servers with just a few lines of code. Try New Relic
and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_may

_______________________________________________
Moin-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/moin-user
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.