[GeoNode-users] geonode not working after apt-upgrade: Truncated or oversized respobse from wsgi daemon (Amedeo Fadini)

Toni Schönbuchner toni.schoenbuchner at csgis.de
Sat Jan 5 14:35:58 PST 2019


Hi Amadeo,

unfortuanately it´s hard to say without further information. You´re saying you´re with
an unstable version. So just guessing it´s master branch on bionic?

From the error logs it could be caused by a lot of things. Things I would do:

1) Check if you can get more verbose log information
2) Check if you have a l dedicated logfile for wsgi
	^ Most important steps

3) Maybe you can spot something in apt´s history log 
	$ less /var/log/apt/history.log

4) Not that helpful but for completeness: 

If you have a working instance maybe you can compare it with the not working: 
This will give you versions of all packages (in bash) which I would take into closer consideration.

$ likely_canidates=( apt-cache policy python-dev libxml2 libxml2-dev libxslt1-dev zlib1g-dev libjpeg-dev libpq-dev \
apache2 libapache2-mod-wsgi libgeos-dev libjpeg-dev libpng-dev libpq-dev libproj-dev \
libxml2-dev libxslt-dev gdal-bin libgdal20 libgdal-dev python-gdal python-pycurl \
python-pil python-pastescript python-psycopg2 python-urlgrabber )

$ for i in "${likely_canidates[@]}"; do printf "$i: "; dpkg -s $i | grep Version; done

X) Before burning to much time I would likely backup data (databases, geoserver, static files)
purge the instance and reinstall. Or add a docker install to the instance, mirgrate/copy the
data and forget about the apt packages.

My two cents. Good luck!

Toni


> Am 05.01.2019 um 21:00 schrieb geonode-users-request at lists.osgeo.org:
> 
> Send geonode-users mailing list submissions to
> 	geonode-users at lists.osgeo.org
> 
> To subscribe or unsubscribe via the World Wide Web, visit
> 	https://lists.osgeo.org/mailman/listinfo/geonode-users
> or, via email, send a message with subject or body 'help' to
> 	geonode-users-request at lists.osgeo.org
> 
> You can reach the person managing the list at
> 	geonode-users-owner at lists.osgeo.org
> 
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of geonode-users digest..."
> 
> 
> Today's Topics:
> 
>   1. geonode not working after apt-upgrade: Truncated or oversized
>      respobse from wsgi daemon (Amedeo Fadini)
> 
> 
> ----------------------------------------------------------------------
> 
> Message: 1
> Date: Fri, 4 Jan 2019 23:56:13 +0100
> From: Amedeo Fadini <amefad at gmail.com>
> To: geonode-users <geonode-users at lists.osgeo.org>
> Subject: [GeoNode-users] geonode not working after apt-upgrade:
> 	Truncated or oversized respobse from wsgi daemon
> Message-ID:
> 	<CAKGZ3Gd=MC0ZGjjY4mj12fp6C8Gah0JwmbbWzM=dq91aWDNyCg at mail.gmail.com>
> Content-Type: text/plain; charset="utf-8"
> 
> Hi everybody...
> Ok, I know that I'm using a unstable distro so things like this normally
> happen ...
> after an apt-get upgrade my geonode project is not working and raise 500
> error.
> 
> the Apache erro log (info) only says:
> 
> 
> [Fri Jan 04 12:46:12.127309 2019] [wsgi:error] [pid 46914:tid
> 139701283890944] [client 192.168.0.155:39744] Truncated or oversized
> response headers received from daemon process 'geonode':
> /opt/proj_geonode_istorm/proj_geonode_istorm/wsgi.py
> [Fri Jan 04 12:46:12.263715 2019] [core:notice] [pid 46910:tid
> 139701311378560] AH00052: child pid 46912 exit signal Segmentation fault
> (11)
> [Fri Jan 04 12:46:12.263802 2019] [wsgi:info] [pid 46910:tid
> 139701311378560] mod_wsgi (pid=46912): Process 'geonode' has died,
> deregister and restart it.
> [Fri Jan 04 12:46:12.263808 2019] [wsgi:info] [pid 46910:tid
> 139701311378560] mod_wsgi (pid=46912): Process 'geonode' terminated by
> signal 11
> [Fri Jan 04 12:46:12.263815 2019] [wsgi:info] [pid 46910:tid
> 139701311378560] mod_wsgi (pid=46912): Process 'geonode' has been
> deregistered and will no longer be monitored.
> [Fri Jan 04 12:46:12.264797 2019] [wsgi:info] [pid 47085:tid
> 139701311378560] mod_wsgi (pid=47085): Starting process 'geonode' with
> uid=33, gid=33 and threads=15.
> 
> 
> I've alredy downgraded libapache2-mod-wsgi:amd64 to previous version.. whic
> other packages could be the cause?
> 
> Thanks to all
> 
> Amedeo Fadini
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: <http://lists.osgeo.org/pipermail/geonode-users/attachments/20190104/7f2b0851/attachment-0001.html>
> 
> ------------------------------
> 
> Subject: Digest Footer
> 
> _______________________________________________
> geonode-users mailing list
> geonode-users at lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/geonode-users
> 
> 
> ------------------------------
> 
> End of geonode-users Digest, Vol 48, Issue 3
> ********************************************



More information about the geonode-users mailing list