[GeoNode-users] I can't pubishing map: internal error server

Paolo Corti pcorti at gmail.com
Fri Feb 12 08:29:44 PST 2016


I am not sure how the php5 module could impact the wsgi one.
In any case, have you ever considered to migrate from httpd to nginx?
Of course this is viable only if you have a dedicated server, and
don't need to maintain other Apache processes.
p

On Fri, Feb 12, 2016 at 11:07 AM, Eugenio Trumpy
<frippe12573 at hotmail.com> wrote:
> Hi,
>
> very good Enzo!!!, I just tried on my production server and I can confirm
> that!
>
> However in the last months I tried geonode in a server setup from scratch
> with the same package versions, where the maps were created and published
> correctly. In this machine I checked now and I see the apache mphp5 module
> installed and running. So the story unfortunately is not completely clear.
> Moreover I want use geonode on my production server which needs php5 module
> for other applications.
>
> Do you have any idea on how I can configure apache for running both php5 and
> wsgi module?
>
> Eugenio
>
> ________________________________
> Date: Fri, 12 Feb 2016 11:45:31 +0100
> Subject: Re: [GeoNode-users] I can't pubishing map: internal error server
> From: enzo.ccc at gmail.com
> To: frippe12573 at hotmail.com; geonode-users at lists.osgeo.org
>
>
> Hi
> I have resolved  this problem by disabling php5 module of apache. I think it
> is incompatible
>
> E
>
> 2016-02-10 16:55 GMT+01:00 Eugenio Trumpy <frippe12573 at hotmail.com>:
>
> Hi all,
>
> just to update all of you, yesterday I restarted the installation from
> scratch. I follow the administrator installation guide,
> of course taking into consideration my system.
> I installed again geonode from git, deleted and re-installed the DBs in my
> already running postgresql-postgis and deploy again geoserver
> obtained after paver server start action.
> This time I also deleted all the packages already downloaded in
> /usr/local/lib/python2.7/site-packages in order to let pip install -e . to
> get
> packages required again.
>
> Everything went well, and almost the functionalities works fine, again
> excluding saving a new map.
> Here below the error I got on apache error.log:
>
>
> Wed Feb 10 09:22:25.197172 2016] [:error] [pid 25962] Internal Server Error:
> /maps/new/data
> [Wed Feb 10 09:22:25.197247 2016] [:error] [pid 25962] Traceback (most
> recent call last):
> [Wed Feb 10 09:22:25.197256 2016] [:error] [pid 25962]   File
> "/usr/local/lib/python2.7/dist-packages/django/core/handlers/base.py", line
> 112, in get_response
> [Wed Feb 10 09:22:25.197261 2016] [:error] [pid 25962]     response =
> wrapped_callback(request, *callback_args, **callback_kwargs)
> [Wed Feb 10 09:22:25.197266 2016] [:error] [pid 25962]   File
> "/dati/geonode/geonode/maps/views.py", line 428, in new_map_json
> [Wed Feb 10 09:22:25.197270 2016] [:error] [pid 25962]
> map_obj.update_from_viewer(body)
> [Wed Feb 10 09:22:25.197274 2016] [:error] [pid 25962]   File
> "/dati/geonode/geonode/maps/models.py", line 173, in update_from_viewer
> [Wed Feb 10 09:22:25.197279 2016] [:error] [pid 25962]
> conf['map']['zoom'])
> [Wed Feb 10 09:22:25.197283 2016] [:error] [pid 25962]   File
> "/dati/geonode/geonode/base/models.py", line 437, in
> set_bounds_from_center_and_zoom
> [Wed Feb 10 09:22:25.197287 2016] [:error] [pid 25962]     lon, lat =
> get_lon_lat()
> [Wed Feb 10 09:22:25.197292 2016] [:error] [pid 25962]   File
> "/dati/geonode/geonode/base/models.py", line 429, in get_lon_lat
> [Wed Feb 10 09:22:25.197296 2016] [:error] [pid 25962]     lon, lat =
> transform(mercator, wgs84, center_x, center_y)
> [Wed Feb 10 09:22:25.197300 2016] [:error] [pid 25962]   File
> "/usr/local/lib/python2.7/dist-packages/pyproj/__init__.py", line 504, in
> transform
> [Wed Feb 10 09:22:25.197305 2016] [:error] [pid 25962]
> _proj._transform(p1,p2,inx,iny,inz,radians)
> [Wed Feb 10 09:22:25.197309 2016] [:error] [pid 25962]   File "_proj.pyx",
> line 361, in _proj._transform (_proj.c:3762)
> [Wed Feb 10 09:22:25.197314 2016] [:error] [pid 25962] RuntimeError:
> geocentric transformation missing z or ellps
> [Wed Feb 10 16:22:26.082801 2016] [core:notice] [pid 25957] AH00051: child
> pid 25962 exit signal Segmentation fault (11), possible coredump in
> /tmp/core-dump
>
> Last line stated that a possible coredump, due to the segmentation fault,
> maybe has been created (actually not).
> In this case a new map is listed, however it is empty, which means that the
> layer I used has not been saved.
> The action create a row in the db (geonode) but almost all field are empty.
> It seems the application doesn't pass values
> in the db. I guess this fault raise the seg fault.
>
> I hope this can help to find a solution or a sort of workaround.
>
> E.
>
> ________________________________
> Date: Tue, 9 Feb 2016 21:35:18 +0000
> Subject: Re: [GeoNode-users] I can't pubishing map: internal error server
> From: ivojfs at gmail.com
> To: simone.dalmasso at gmail.com; enzo.ccc at gmail.com;
> geonode-users at lists.osgeo.org; ingenieroariel at gmail.com;
> frippe12573 at hotmail.com
>
>
> Hi everyone,
>
> Eugenio is right, it appear's that it could be exactly the same error. I
> haven't found the solution either.
> If there's something I can do to help to find out, please let me know.
>
> Best regards,
> Ivo
>
> 2016-02-09 18:13 GMT+00:00 Enzo Cocca <enzo.ccc at gmail.com>:
>
> Hi,
> I haven't resolved the problem and I can not find the solution.
> Someone have same idea?
>
> E
>
> 2016-02-09 10:39 GMT+01:00 Enzo Cocca <enzo.ccc at gmail.com>:
>
> Hi Simone,
> I have configurated geonode like instruction
> Geonode is installed on ubuntuserver 14.04 with a ip  public adress.
>
> Every thinks work very well but just the publishing map dasn't work.
>
> So today I will review the apache configuration and I will let you know.
>
> If you have any idea about this error, please let me know
>
> Thanks
>
> E
>
> 2016-02-08 21:00 GMT+01:00 <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
>         http://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. Re: I can't pubishing map: internal error server (Eugenio Trumpy)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Mon, 8 Feb 2016 15:21:00 +0100
> From: Eugenio Trumpy <frippe12573 at hotmail.com>
> To: Simone Dalmasso <simone.dalmasso at gmail.com>, Enzo Cocca
>         <enzo.ccc at gmail.com>, "ivojfs at gmail.com" <ivojfs at gmail.com>
> Cc: "geonode-users at lists.osgeo.org" <geonode-users at lists.osgeo.org>
> Subject: Re: [GeoNode-users] I can't pubishing map: internal error
>         server
> Message-ID: <DUB123-W4169565D16F21E8DBC0876E5D50 at phx.gbl>
> Content-Type: text/plain; charset="iso-8859-1"
>
> Hi Enzo and Simone,
>
> this is more or less what happened to me [1] recently and, if I remember
> well, to Ivo Santos [2] in january.
> I would propose to put together the forces to solve this issue, to find out
> what is produce wsgi mod crash on apache.
>
> Best regards
>
> Eugenio
>
> [1] https://lists.osgeo.org/pipermail/geonode-users/2016-January/001281.html
> [2] https://lists.osgeo.org/pipermail/geonode-users/2016-January/001366.html
>
> From: simone.dalmasso at gmail.com
> Date: Mon, 8 Feb 2016 14:50:02 +0100
> To: enzo.ccc at gmail.com
> CC: geonode-users at lists.osgeo.org
> Subject: Re: [GeoNode-users] I can't pubishing map: internal error server
>
> Hi,
> how did you install Geonode? What is your platform? You are not the first
> that gets this error and we need as much information as possible to
> understand what configuration is causing it. The error should come from
> apache configuration see
> http://stackoverflow.com/questions/4331310/apache-with-mod-wsgi-segfaults
> 2016-02-08 12:33 GMT+01:00 Enzo Cocca <enzo.ccc at gmail.com>:
> Hi,
> I can't publishing map. I have the internal error server. So in apache error
> log I have founf this problem:
>
> [Mon Feb 08 12:30:01.758476 2016] [core:error] [pid 59907] [client
> 90.147.101.142:38620] End of script output before headers: wsgi.py, referer:
> http://myipaddress/maps/new
>
> [Mon Feb 08 12:30:02.353489 2016] [core:notice] [pid 59412] AH00051: child
> pid 59416 exit signal Segmentation fault (11), possible coredump in
> /etc/apache2
>
> How can I resolve it?
>
> Thanks
>
> E
> --
> Enzo Cocca PhDin "Science and Technology for Archaeology and Cultural
> Heritage"
> mail: enzo.ccc at gmail.comcell: +393495087014
>
>
>
> _______________________________________________
>
> geonode-users mailing list
>
> geonode-users at lists.osgeo.org
>
> http://lists.osgeo.org/mailman/listinfo/geonode-users
>
>
>
>
> --
> Simone
>
>
> _______________________________________________
> geonode-users mailing list
> geonode-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/geonode-users
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL:
> <http://lists.osgeo.org/pipermail/geonode-users/attachments/20160208/8eaf4d48/attachment-0001.html>
>
> ------------------------------
>
> Subject: Digest Footer
>
> _______________________________________________
> geonode-users mailing list
> geonode-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/geonode-users
>
>
> ------------------------------
>
> End of geonode-users Digest, Vol 13, Issue 15
> *********************************************
>
>
>
>
> --
> Enzo Cocca PhD
> in "Science and Technology for Archaeology and Cultural Heritage"
> mail: enzo.ccc at gmail.com
> cell: +393495087014
>
>
>
>
> --
> Enzo Cocca PhD
> in "Science and Technology for Archaeology and Cultural Heritage"
> mail: enzo.ccc at gmail.com
> cell: +393495087014
>
>
> _______________________________________________
> geonode-users mailing list
> geonode-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/geonode-users
>
>
>
>
> --
> Ivo Santos
>
>
>
>
> --
> Enzo Cocca PhD
> in "Science and Technology for Archaeology and Cultural Heritage"
> mail: enzo.ccc at gmail.com
> cell: +393495087014
>
>
> _______________________________________________
> geonode-users mailing list
> geonode-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/geonode-users
>



-- 
Paolo Corti
Geospatial software developer
web: http://www.paolocorti.net
twitter: @capooti
skype: capooti


More information about the geonode-users mailing list