[GeoNode-devel] [GeoNode-users] uwsgi service won't start

Alessio Fabiani alessio.fabiani at geo-solutions.it
Fri Jan 24 08:54:55 PST 2020


Hi Julierme,
typically this error is caused by the wrong path of the virtual environment.

Please, double-check that this folder
/home/geonode/.virtualenvs/geonode actually
exits and contains the GeoNode virtual environment and packages.

Il giorno ven 24 gen 2020 alle ore 17:27 1520 gis <
juliermeopensourcedeveloper at gmail.com> ha scritto:

> Hi developers,
>
> I am following the guide in here
> <http://docs.geonode.org/en/2.10.x/install/core/index.html>.
> After creating the file /etc/uwsgi/apps-available/geonode.ini
> and the symbolic link sudo ln -s /etc/uwsgi/apps-available/geonode.ini
> /etc/uwsgi/apps-enabled/geonode.ini
> uwsgi service won't start. Any help on that will be very appreciated it.
> Find the logs bellow on an Ubuntu18.04LTS machine.
> Fri Jan 24 13:12:48 2020 - *** Starting uWSGI 2.0.15-debian (64bit) on
> [Fri Jan 24 13:12:48 2020] ***
> Fri Jan 24 13:12:48 2020 - compiled with version: 7.3.0 on 28 September
> 2018 15:41:15
> Fri Jan 24 13:12:48 2020 - os: Linux-5.3.0-26-generic #28~18.04.1-Ubuntu
> SMP Wed Dec 18 16:40:14 UTC 2019
> Fri Jan 24 13:12:48 2020 - nodename: 172-21-14-45
> Fri Jan 24 13:12:48 2020 - machine: x86_64
> Fri Jan 24 13:12:48 2020 - clock source: unix
> Fri Jan 24 13:12:48 2020 - pcre jit disabled
> Fri Jan 24 13:12:48 2020 - detected number of CPU cores: 1
> Fri Jan 24 13:12:48 2020 - current working directory: /
> Fri Jan 24 13:12:48 2020 - writing pidfile to /run/uwsgi/app/geonode/pid
> Fri Jan 24 13:12:48 2020 - detected binary path: /usr/bin/uwsgi-core
> Fri Jan 24 13:12:48 2020 - dropping root privileges as early as possible
> Fri Jan 24 13:12:48 2020 - setgid() to 33
> Fri Jan 24 13:12:48 2020 - set additional group 27 (sudo)
> Fri Jan 24 13:12:48 2020 - setuid() to 1001
> Fri Jan 24 13:12:48 2020 - chdir() to /opt/geonode
> Fri Jan 24 13:12:48 2020 - your processes number limit is 23611
> Fri Jan 24 13:12:48 2020 - your memory page size is 4096 bytes
> Fri Jan 24 13:12:48 2020 -  *** WARNING: you have enabled harakiri without
> post buffering. Slow upload could be rejected on post-unbuffered webservers
> ***
> Fri Jan 24 13:12:48 2020 - detected max file descriptor number: 1024
> Fri Jan 24 13:12:48 2020 - lock engine: pthread robust mutexes
> Fri Jan 24 13:12:48 2020 - thunder lock: enabled
> Fri Jan 24 13:12:48 2020 - uwsgi socket 0 bound to UNIX address
> /run/uwsgi/app/geonode/socket fd 3
> Fri Jan 24 13:12:48 2020 - uwsgi socket 1 bound to TCP address
> 0.0.0.0:8000 fd 5
> Fri Jan 24 13:12:48 2020 - dropping root privileges after socket binding
> Fri Jan 24 13:12:48 2020 - Python version: 2.7.17 (default, Nov  7 2019,
> 10:07:09)  [GCC 7.4.0]
> Fri Jan 24 13:12:48 2020 - Set PythonHome to
> /home/geonode/.virtualenvs/geonode
> ImportError: No module named site
>
> _______________________________________________
> geonode-users mailing list
> geonode-users at lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/geonode-users
>


-- 

==

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/20200124/c9018490/attachment.html>


More information about the geonode-devel mailing list