[ckan-dev] UBUNTU package installation
Nigel Babu
nigel.babu at okfn.org
Tue Dec 17 08:55:33 UTC 2013
Hi HIlde,
Can you try with your Apache config looking like this?
http://dpaste.com/hold/1509259/
Nigel Babu
Developer | @nigelbabu <https://twitter.com/nigelbabu>
The Open Knowledge Foundation <http://okfn.org/>
Empowering through Open Knowledge
http://okfn.org/ | @okfn <http://twitter.com/OKFN> | OKF on
Facebook<https://www.facebook.com/OKFNetwork> |
Blog <http://blog.okfn.org/> | Newsletter<http://okfn.org/about/newsletter>
CKAN | http://ckan.org/ | @CKANproject
<http://twitter.com/CKANproject> |the world’s leading open-source data
portal platform
On 16 December 2013 21:20, Hildegard Gerlach <
hildegard.gerlach at jrc.ec.europa.eu> wrote:
> Hello,
>
> I had installed CKAN on UBUNTU as package installation and it had worked.
> Now I get errors but don't understand why. Some other software had been
> installed in the meantime and I am not sure if this can have changed
> something.
> apache2 is used as WebServer
>
> the configuration file for CKAN in sites-enabled is
>
>
> WSGISocketPrefix /var/run/wsgi
> <VirtualHost *:84>
>
> ServerName d01ri0702475.jrc.it
> #ServerAlias www.default.ckanhosted.com
> ServerAlias d01ri0702475.jrc.it
> WSGIScriptAlias / /etc/ckan/default/apache.wsgi
>
> # pass authorization info on (needed for rest api)
> WSGIPassAuthorization On
>
> # Deploy as a daemon (avoids conflicts between CKAN instances)
> #WSGIDaemonProcess ckan_default display-name=ckan_default processes=2
> threads=15
> #WSGIDaemonProcess d01ri0702475.jrc.it display-name=ckan_default
> processes=2 threads=15
> #WSGIDaemonProcess d01ri0702475.jrc.it display-name=ckan_default
> threads=15
> #WSGIProcessGroup d01ri0702475.jrc.it
>
> ErrorLog /var/log/apache2/ckan_default.error.log
> CustomLog /var/log/apache2/ckan_default.custom.log combined
> </VirtualHost>
>
> The error message is
> [Mon Dec 16 16:42:31 2013] [error] [client 139.191.16.232] mod_wsgi
> (pid=32003): Exception occurred processing WSGI script
> '/etc/ckan/default/apache.wsgi'.
> [Mon Dec 16 16:42:31 2013] [error] [client 139.191.16.232] Traceback (most
> recent call last):
> [Mon Dec 16 16:42:31 2013] [error] [client 139.191.16.232] File
> "/usr/lib/ckan/default/lib/python2.7/site-packages/paste/cascade.py",
> line 130, in __call__
> [Mon Dec 16 16:42:31 2013] [error] [client 139.191.16.232] return
> self.apps[-1](environ, start_response)
> [Mon Dec 16 16:42:31 2013] [error] [client 139.191.16.232] File
> "/usr/lib/ckan/default/src/ckan/ckan/config/middleware.py", line 213, in
> __call__
> [Mon Dec 16 16:42:31 2013] [error] [client 139.191.16.232] return
> self.app(environ, start_response)
> [Mon Dec 16 16:42:31 2013] [error] [client 139.191.16.232] File
> "/usr/lib/ckan/default/lib/python2.7/site-packages/paste/registry.py",
> line 379, in __call__
> [Mon Dec 16 16:42:31 2013] [error] [client 139.191.16.232] app_iter =
> self.application(environ, start_response)
> [Mon Dec 16 16:42:31 2013] [error] [client 139.191.16.232] File
> "/usr/lib/ckan/default/lib/python2.7/site-packages/repoze/who/middleware.py",
> line 107, in __call__
> [Mon Dec 16 16:42:31 2013] [error] [client 139.191.16.232] app_iter =
> app(environ, wrapper.wrap_start_response)
> [Mon Dec 16 16:42:31 2013] [error] [client 139.191.16.232] File
> "/usr/lib/ckan/default/lib/python2.7/site-packages/pylons/middleware.py",
> line 201, in __call__
> [Mon Dec 16 16:42:31 2013] [error] [client 139.191.16.232] self.app,
> environ, catch_exc_info=True)
> [Mon Dec 16 16:42:31 2013] [error] [client 139.191.16.232] File
> "/usr/lib/ckan/default/lib/python2.7/site-packages/pylons/util.py", line
> 94, in call_wsgi_application
> [Mon Dec 16 16:42:31 2013] [error] [client 139.191.16.232] app_iter =
> application(environ, start_response)
> [Mon Dec 16 16:42:31 2013] [error] [client 139.191.16.232] File
> "/usr/lib/ckan/default/lib/python2.7/site-packages/weberror/evalexception.py",
> line 226, in __call__
> [Mon Dec 16 16:42:31 2013] [error] [client 139.191.16.232] "The
> EvalException middleware is not usable in a "
> [Mon Dec 16 16:42:31 2013] [error] [client 139.191.16.232] AssertionError:
> The EvalException middleware is not usable in a multi-process environment
>
>
> I don't understand what I have to change. Do I need these
> WSGIDaemonProcess lines, and if yes, how ?
>
> Thanks
>
> Hilde
> _______________________________________________
> ckan-dev mailing list
> ckan-dev at lists.okfn.org
> https://lists.okfn.org/mailman/listinfo/ckan-dev
> Unsubscribe: https://lists.okfn.org/mailman/options/ckan-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.okfn.org/pipermail/ckan-dev/attachments/20131217/5ce04d0e/attachment-0003.html>
More information about the ckan-dev
mailing list