severity 685275 normal
thanks
Hi Boris,
For testing purposes I prepared a fresh installed Wheeze arch i386.
You are using a mixed system (500, 'proposed-updates'), (500,
'testing'), (500, 'stable') with Linux kernel 2.6.32-5-686-bigmem (no
more available in testing) which I can not recreate completely. The
kernel I used is 3.2.0-3-686-pae. For simplicity, I used
uwsgi-plugin-http, with an addition --http 0.0.0.0:3031 to the options
you provided. Additional installed packages are: uwsgi-plugin-python,
uwsgi-plugin-http, python-moinmoin.
Running uwsgi:
uwsgi --plugins python26,http --uid <user> --gid <group> -s
/tmp/wi.sock --chmod-socket 666 --wsgi-file
/usr/share/moin/server/moin.wsgi --http 0.0.0.0:3031
Is serving MoinMoin without Segmentation faults, but with complains
about data_dir configuration. To fix this, I manually created:
mkdir -p /tmp/moin/pages
mkdir -p /tmp/moin/underlay/pages
mkdir /tmp/moin/plugin
touch /tmp/moin/plugin/__init__.py
and added this options to the Config class in /etc/moin/mywiki.py file:
echo " data_dir = '/tmp/moin'
data_underlay_dir = '/tmp/moin/underlay'" >> /etc/moin/mywiki.py
Notice the indentation in the echoed string, to match the indentation
of the Config class.
After running uwsgi with the same options as above MoinMoin was fully
functional.
I could not reproduce Segmentation faults.
Could you provide more details on moinmoin configuration that you are
using, uwsgi error logs, which web server is communicating with uwsgi
over /tmp/wiki.sock and more details on your systems setup so I could
try to reproduce the issue? Could you try to reproduce the issue on a
system fully upgraded to testing, not on mixed system?
Best,
Janos
On Sun, Aug 19, 2012 at 9:40 AM, Boris Bobrov <[email protected]> wrote:
> Package: uwsgi-plugin-python
> Version: 1.2.3+dfsg-2
> Severity: important
>
> Launched with:
> --plugins python26 --uid <user> --gid <user> -s /tmp/wiki.sock --chmod-socket
> 666 --wsgi-file /usr/share/moin/server/moin.wsgi
>
> /usr/share/moin/server/moin.wsgi is from latest python-moinmoin
>
> bt full attached
>
> -- System Information:
> Debian Release: 6.0.5
> APT prefers proposed-updates
> APT policy: (500, 'proposed-updates'), (500, 'testing'), (500, 'stable')
> Architecture: i386 (i686)
>
> Kernel: Linux 2.6.32-5-686-bigmem (SMP w/1 CPU core)
> Locale: LANG=ru_RU.UTF-8, LC_CTYPE=ru_RU.UTF-8 (charmap=UTF-8)
> Shell: /bin/sh linked to /bin/dash
>
> Versions of packages uwsgi-plugin-python depends on:
> ii libc6 2.13-35 Embedded GNU C Library: Shared
> lib
> ii libpython2.6 2.6.8-0.2 Shared Python runtime library
> (ver
> ii libpython2.7 2.7.3-3 Shared Python runtime library
> (ver
> ii uwsgi-core 1.2.3+dfsg-2 fast, self-healing application
> con
>
> uwsgi-plugin-python recommends no packages.
>
> Versions of packages uwsgi-plugin-python suggests:
> pn python-uwsgidecorators <none> (no description available)
>
> -- no debconf information
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]