[GeoNode-devel] GeoNode 3.x Advanced Installation and uwsgi issue
Alessio Fabiani
alessio.fabiani at geo-solutions.it
Thu Nov 5 10:11:59 PST 2020
It is also worth to take a look at this
https://stackoverflow.com/questions/41535283/unable-to-load-uwsgi-plugin-python3-plugin-so-cannot-open-shared-object-file
it seems that someone solved the issue by adding a "plugins-dir" directive
to the conf.
Il giorno gio 5 nov 2020 alle ore 19:09 Alessio Fabiani <
alessio.fabiani at geo-solutions.it> ha scritto:
> Paolo,
> it looks like you are not using the correct python environment.
>
> I guess you need to activate it before running UWSGI.
>
> Il giorno gio 5 nov 2020 alle ore 18:26 Paolo Pasquali <
> paolo.pasquali at gmail.com> ha scritto:
>
>> Thank you, Alessio.
>>
>> I get this error.
>>
>> $ uwsgi -c /etc/uwsgi/apps-available/geonode.ini
>>
>> [uWSGI] getting INI configuration from
>> /etc/uwsgi/apps-available/geonode.ini
>>
>> open("./python3_plugin.so"): No such file or directory [core/utils.c line
>> 3732]
>>
>> !!! UNABLE to load uWSGI plugin: ./python3_plugin.so: cannot open shared
>> object file: No such file or directory !!!
>>
>>
>> The plugin is located at
>>
>>
>> $ locate python3_plugin.so
>>
>> /usr/lib/uwsgi/plugins/python3_plugin.so
>>
>>
>> So if I remove from the geonode.ini file plugins = python3
>>
>>
>> $ uwsgi -c /etc/uwsgi/apps-available/geonode.ini
>>
>> [uWSGI] getting INI configuration from
>> /etc/uwsgi/apps-available/geonode.ini
>>
>>
>> And then I still get
>>
>>
>> $ sudo service uwsgi start
>>
>> Job for uwsgi.service failed because the control process exited with
>> error code.
>>
>>
>> Maybe because from the log
>>
>> Thu Nov 5 17:47:50 2020 - *** Operational MODE: preforking ***
>>
>> Thu Nov 5 17:47:50 2020 - *** no app loaded. GAME OVER ***
>>
>> Thu Nov 5 17:47:50 2020 - VACUUM: unix socket
>> /run/uwsgi/app/geonode/socket removed.
>>
>>
>>
>> Any hint or cue on this?
>>
>>
>> Thanks!
>>
>>
>>
>> Paolo
>>
>>
>>
>> On Thu, Nov 5, 2020 at 3:01 PM Alessio Fabiani <
>> alessio.fabiani at geo-solutions.it> wrote:
>>
>>> Hi Paolo,
>>> from the logs I cannot recognize any specific issue.
>>>
>>> It might depend on some error during the application initialization.
>>>
>>> You could do a simple test by trying to run uwsgi from the command line,
>>> e.g.:
>>>
>>> uwsgi -c <path to the uwsgi config ini>
>>>
>>>
>>>
>>> Il giorno gio 5 nov 2020 alle ore 10:44 Paolo Pasquali <
>>> paolo.pasquali at gmail.com> ha scritto:
>>>
>>>> Dear devs,
>>>>
>>>> I'm following the 3.x documentation for installing GeoNode on Ubuntu 20
>>>> without docker.
>>>> At some point I have to create the uwsgi geonode.ini [1] file.
>>>>
>>>> I have updated the paths in the geonode.ini file according to my
>>>> installation and the first thing I have noticed is that I need to add
>>>> uid = geonode
>>>> or I get a permission denied error when I try to start the service.
>>>> That was omitted in the 3.x doc.
>>>>
>>>> Then I get another error.
>>>>
>>>> $ sudo service uwsgi start
>>>>
>>>> Job for uwsgi.service failed because the control process exited with
>>>> error code.
>>>>
>>>> See "systemctl status uwsgi.service" and "journalctl -xe" for details.
>>>>
>>>>
>>>> $ systemctl status uwsgi.service
>>>>
>>>> *●* uwsgi.service - LSB: Start/stop uWSGI server instance(s)
>>>>
>>>> Loaded: loaded (/etc/init.d/uwsgi; generated)
>>>>
>>>> Active: *failed* (Result: exit-code) since Thu 2020-11-05
>>>> 10:02:52 CET; 14s ago
>>>>
>>>> Docs: man:systemd-sysv-generator(8)
>>>>
>>>> Process: 208347 ExecStart=/etc/init.d/uwsgi start *(code=exited,
>>>> status=1/FAILURE)*
>>>>
>>>> Tasks: 9 (limit: 19114)
>>>>
>>>>
>>>> Some uwgi processes are active anyway.
>>>> I'm attaching the log file. Could you please help me understand the
>>>> error I'm getting?
>>>> I can see an "unable to find requested cheaper algorithm, falling back
>>>> to spare" which is new from 2.10.
>>>>
>>>> Thanks!
>>>>
>>>> Regards,
>>>>
>>>>
>>>> Paolo
>>>>
>>>>
>>>> [1]
>>>> https://docs.geonode.org/en/3.x/install/advanced/core/index.html#serving-geonode-geoserver-via-nginx
>>>>
>>>> _______________________________________________
>>>> geonode-devel mailing list
>>>> geonode-devel at lists.osgeo.org
>>>> https://lists.osgeo.org/mailman/listinfo/geonode-devel
>>>>
>>>
>>>
>>> --
>>>
>>> ==
>>>
>>> GeoServer Professional Services from the experts! Visit
>>> http://goo.gl/it488V for more information.
>>> ==
>>> Ing. Alessio Fabiani
>>>
>>> @alfa7691
>>> Founder/Technical Lead
>>>
>>>
>>> GeoSolutions S.A.S.
>>> Via di Montramito 3/A - 55054 Massarosa (LU) - Italy
>>> phone: +39 0584 962313
>>> fax: +39 0584 1660272
>>> mob: +39 331 6233686
>>>
>>>
>>> http://www.geo-solutions.it
>>> http://twitter.com/geosolutions_it
>>> -------------------------------------------------------
>>>
>>> Con riferimento alla normativa sul trattamento dei dati personali (Reg.
>>> UE 2016/679 - Regolamento generale sulla protezione dei dati “GDPR”), si
>>> precisa che ogni circostanza inerente alla presente email (il suo
>>> contenuto, gli eventuali allegati, etc.) è un dato la cui conoscenza è
>>> riservata al/i solo/i destinatario/i indicati dallo scrivente. Se il
>>> messaggio Le è giunto per errore, è tenuta/o a cancellarlo, ogni altra
>>> operazione è illecita. Le sarei comunque grato se potesse darmene notizia.
>>>
>>>
>>> This email is intended only for the person or entity to which it is
>>> addressed and may contain information that is privileged, confidential or
>>> otherwise protected from disclosure. We remind that - as provided by
>>> European Regulation 2016/679 “GDPR” - copying, dissemination or use of this
>>> e-mail or the information herein by anyone other than the intended
>>> recipient is prohibited. If you have received this email by mistake, please
>>> notify us immediately by telephone or e-mail.
>>>
>>
>
> --
>
> ==
>
> GeoServer Professional Services from the experts! Visit
> http://goo.gl/it488V for more information.
> ==
> Ing. Alessio Fabiani
>
> @alfa7691
> Founder/Technical Lead
>
>
> GeoSolutions S.A.S.
> Via di Montramito 3/A - 55054 Massarosa (LU) - Italy
> phone: +39 0584 962313
> fax: +39 0584 1660272
> mob: +39 331 6233686
>
>
> http://www.geo-solutions.it
> http://twitter.com/geosolutions_it
> -------------------------------------------------------
>
> Con riferimento alla normativa sul trattamento dei dati personali (Reg. UE
> 2016/679 - Regolamento generale sulla protezione dei dati “GDPR”), si
> precisa che ogni circostanza inerente alla presente email (il suo
> contenuto, gli eventuali allegati, etc.) è un dato la cui conoscenza è
> riservata al/i solo/i destinatario/i indicati dallo scrivente. Se il
> messaggio Le è giunto per errore, è tenuta/o a cancellarlo, ogni altra
> operazione è illecita. Le sarei comunque grato se potesse darmene notizia.
>
>
> This email is intended only for the person or entity to which it is
> addressed and may contain information that is privileged, confidential or
> otherwise protected from disclosure. We remind that - as provided by
> European Regulation 2016/679 “GDPR” - copying, dissemination or use of this
> e-mail or the information herein by anyone other than the intended
> recipient is prohibited. If you have received this email by mistake, please
> notify us immediately by telephone or e-mail.
>
--
==
GeoServer Professional Services from the experts! Visit http://goo.gl/it488V
for more information.
==
Ing. Alessio Fabiani
@alfa7691
Founder/Technical Lead
GeoSolutions S.A.S.
Via di Montramito 3/A - 55054 Massarosa (LU) - Italy
phone: +39 0584 962313
fax: +39 0584 1660272
mob: +39 331 6233686
http://www.geo-solutions.it
http://twitter.com/geosolutions_it
-------------------------------------------------------
Con riferimento alla normativa sul trattamento dei dati personali (Reg. UE
2016/679 - Regolamento generale sulla protezione dei dati “GDPR”), si
precisa che ogni circostanza inerente alla presente email (il suo
contenuto, gli eventuali allegati, etc.) è un dato la cui conoscenza è
riservata al/i solo/i destinatario/i indicati dallo scrivente. Se il
messaggio Le è giunto per errore, è tenuta/o a cancellarlo, ogni altra
operazione è illecita. Le sarei comunque grato se potesse darmene notizia.
This email is intended only for the person or entity to which it is
addressed and may contain information that is privileged, confidential or
otherwise protected from disclosure. We remind that - as provided by
European Regulation 2016/679 “GDPR” - copying, dissemination or use of this
e-mail or the information herein by anyone other than the intended
recipient is prohibited. If you have received this email by mistake, please
notify us immediately by telephone or e-mail.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/geonode-devel/attachments/20201105/1e5b4cdf/attachment-0001.html>
More information about the geonode-devel
mailing list