[ckan-dev] production deployment

Rufus Pollock rufus.pollock at okfn.org
Fri Jul 22 12:01:05 UTC 2011


Hi Pascal,

Quickest way to debug this will be on irc (currently #ckan on
irc.oftc.net). A quick fix would also be deploy not using mod wsgi but
a simple reverse proxy to paster (since paster works without a
problem). For reverse proxy you just need mod proxy and to point to
your local port for paster serve (5000 usually). We can also try and
add some more info to:

<http://wiki.ckan.net/Install_CKAN#Production_Deployment_Tips>

Rufus

On 20 July 2011 12:03,  <p.romain at cg33.fr> wrote:
>
> Hi,
>
> Sorry to squat the dev list with technical newbie issues but I am still
> currently unable to set up a production environnement for CKAN
>
> I use a Redhat distribution and my apache config is
> SERVER_SOFTWARE: 'Apache/2.2.17 (Unix) mod_ssl/2.2.17 OpenSSL/1.0.0d DAV/2
> PHP/5.2.17 mod_wsgi/3.3 Python/2.7.1 mod_jk/1.2.27'
>
> Could you help me in finding debug scripts or ressources (other than
> http://code.google.com/p/modwsgi/wiki/DebuggingTechniques) or someone that
> could provide me with a step-by-step setup ?
>
> Currently I have no errors while running python datalocale.cg33.py and I can
> also successfully run paster serve datalocale.cg33.fr.ini
>
> However I have the following errors while trying to run
>
> WSGIScriptAlias / /home/opendata/pyenv/bin/datalocale.cg33.fr.py
>
> [Wed Jul 20 09:23:49 2011] [info] mod_wsgi (pid=25730): Initializing Python.
> [Wed Jul 20 09:23:49 2011] [info] mod_wsgi (pid=25729): Attach interpreter
> ''.
> [Wed Jul 20 09:23:49 2011] [info] mod_wsgi (pid=25730): Attach interpreter
> ''.
> [Wed Jul 20 09:23:52 2011] [info] mod_wsgi (pid=25727): Create interpreter
> 'datalocale.drupalva.cg33.fr|'.
> [Wed Jul 20 09:23:52 2011] [info] mod_wsgi (pid=25728): Create interpreter
> 'datalocale.drupalva.cg33.fr|'.
> [Wed Jul 20 09:23:52 2011] [info] mod_wsgi (pid=25731): Create interpreter
> 'datalocale.drupalva.cg33.fr|'.
> [Wed Jul 20 09:23:53 2011] [notice] child pid 25727 exit signal Segmentation
> fault (11)
> [Wed Jul 20 09:23:53 2011] [notice] child pid 25728 exit signal Segmentation
> fault (11)
> [Wed Jul 20 09:23:53 2011] [notice] child pid 25731 exit signal Segmentation
> fault (11)
> [Wed Jul 20 09:23:53 2011] [info] mod_wsgi (pid=25732): Initializing Python.
> [Wed Jul 20 09:23:53 2011] [info] mod_wsgi (pid=25732): Attach interpreter
> ''.
> [Wed Jul 20 09:23:54 2011] [info] mod_wsgi (pid=25733): Initializing Python.
> [Wed Jul 20 09:23:54 2011] [info] mod_wsgi (pid=25734): Initializing Python.
> [Wed Jul 20 09:23:54 2011] [info] mod_wsgi (pid=25733): Attach interpreter
> ''.
> [Wed Jul 20 09:23:54 2011] [info] mod_wsgi (pid=25734): Attach interpreter
> ''
>
>
>  Thanks in advance
>
> Best Regards,
> Pascal
> __________________________________________________________________
>
> Ce message et toutes les pièces jointes sont confidentiels et établis à
> l'intention exclusive de ses destinataires. Ce message ne constitue pas un
> document officiel. Seuls les documents revêtus de la signature du Président
> du Conseil Général ou d'un de ses délégataires sont de nature à engager le
> Département.
> Toute utilisation ou diffusion non autorisée est interdite. Tout message
> électronique est susceptible d'altération et le Département de la Gironde
> décline toute responsabilité au titre de ce message s'il a été altéré,
> déformé, falsifié.
>
> _______________________________________________
> ckan-dev mailing list
> ckan-dev at lists.okfn.org
> http://lists.okfn.org/mailman/listinfo/ckan-dev
>
>



-- 
Co-Founder, Open Knowledge Foundation
Promoting Open Knowledge in a Digital Age
http://www.okfn.org/ - http://blog.okfn.org/




More information about the ckan-dev mailing list