Hi, trying to figure out if I could reproduce my [truobles][1] on
another server I found I can't...

In the meanwhile I'm experiencing any other sort of problems I had not
in first server with the same configuration on same Ubuntu version.

I followed instructions found [here][2] and while the app runs data
updated and inserted in the db does not persist.

So looking in MySQL and SQLite logs there are correct INSERT/UPDATE
queries but *no COMMIT*!

Moreover often the connection hangs until timeout when inserts/updates
are performed.

Stopping Apache2 and running `paster serve` always on port :80
everithing works, commit included.

This is my `/etc/apache2/sites-enabled/mod_wsgi` does anyone sees
something worng?

Also I don't know where to check? Apache error logs does not show
anything.

<VirtualHost *:80>
    # ServerName 10.36.17.238
    # ServerAlias pylonsbook.com

    # Logfiles
    ErrorLog  /home/neurino/bmh/log/error.log
    CustomLog /home/neurino/bmh/log/access.log combined

    # Setup mod_wsgi
    # Use only 1 Python sub-interpreter.  Multiple sub-interpreters
    # play badly with C extensions.
    WSGIApplicationGroup %{GLOBAL}
    WSGIPassAuthorization On
    WSGIDaemonProcess pyramid \
       user=neurino group=neurino \
       processes=1 \
       threads=4 \
       python-path=/home/neurino/bmh/env/lib/python2.6/site-packages
    WSGIScriptAlias / /home/neurino/bmh/env/pyramid.wsgi

    <Directory /home/neurino/bmh/env>
        WSGIProcessGroup pyramid
        Order deny,allow
        Allow from all
    </Directory>

</VirtualHost>

Any help appreciated.

Thank for your support
neurino

[1] http://groups.google.com/group/pylons-discuss/t/f211aa267f6f919e?hl=en
[2] 
http://docs.pylonsproject.org/projects/pyramid/1.2/tutorials/modwsgi/index.html

-- 
You received this message because you are subscribed to the Google Groups 
"pylons-discuss" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/pylons-discuss?hl=en.

Reply via email to