<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>Hi Enzo,<br><br>I just tried the solution you proposed. Actually it works! I'm happy for that.<br>Of course a curiosity still remain: I don't know why in the server setup for test<br>the module wsgi doesn't crash with module php5.<br><br>Thank you again,<br><br>best<br><br>Eugenio <br><br><div><hr id="stopSpelling">Date: Fri, 12 Feb 2016 18:14:13 +0100<br>Subject: Re: [GeoNode-users] I can't pubishing map: internal error server<br>From: enzo.ccc@gmail.com<br>To: frippe12573@hotmail.com; geonode-users@lists.osgeo.org<br><br><div dir="ltr">maybe the solution is simple:<div>try to use libapache-mod-fcgid and php5-fpm and disable mod-php5</div><div><br></div><div>but you need install <br><div><br></div><div>example in apache configuration:</div><div><br></div><div><div><Directory /var/www/app/></div><div>  AddHandler fcgid-script .php</div><div>  FCGIWrapper /usr/bin/php .php</div><div>  Options ExecCGI</div><div></Directory></div></div><div><br></div><div><br></div><div>  ciao</div><div><br></div><div>E<br style="background-color:rgb(235,236,228);"><div class="ecxgmail_extra"><br><div class="ecxgmail_quote">2016-02-10 16:55 GMT+01:00 Eugenio Trumpy <span dir="ltr"><<a href="mailto:frippe12573@hotmail.com" target="_blank">frippe12573@hotmail.com</a>></span>:<br><blockquote class="ecxgmail_quote" style="border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex;">


<div><div dir="ltr">Hi all,<br><br>just to update all of you, yesterday I restarted the installation from scratch. I follow the administrator installation guide,<br>of course taking into consideration my system.<br>I installed again geonode from git, deleted and re-installed the DBs in my already running postgresql-postgis and deploy again geoserver<br>obtained after paver server start action.<br>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 <br>packages required again.<br><br>Everything went well, and almost the functionalities works fine, again excluding saving a new map.<br>Here below the error I got on apache error.log: <br><br><br>Wed Feb 10 09:22:25.197172 2016] [:error] [pid 25962] Internal Server Error: /maps/new/data<br>[Wed Feb 10 09:22:25.197247 2016] [:error] [pid 25962] Traceback (most recent call last):<br>[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<br>[Wed Feb 10 09:22:25.197261 2016] [:error] [pid 25962]     response = wrapped_callback(request, *callback_args, **callback_kwargs)<br>[Wed Feb 10 09:22:25.197266 2016] [:error] [pid 25962]   File "/dati/geonode/geonode/maps/views.py", line 428, in new_map_json<br>[Wed Feb 10 09:22:25.197270 2016] [:error] [pid 25962]     map_obj.update_from_viewer(body)<br>[Wed Feb 10 09:22:25.197274 2016] [:error] [pid 25962]   File "/dati/geonode/geonode/maps/models.py", line 173, in update_from_viewer<br>[Wed Feb 10 09:22:25.197279 2016] [:error] [pid 25962]     conf['map']['zoom'])<br>[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<br>[Wed Feb 10 09:22:25.197287 2016] [:error] [pid 25962]     lon, lat = get_lon_lat()<br>[Wed Feb 10 09:22:25.197292 2016] [:error] [pid 25962]   File "/dati/geonode/geonode/base/models.py", line 429, in get_lon_lat<br>[Wed Feb 10 09:22:25.197296 2016] [:error] [pid 25962]     lon, lat = transform(mercator, wgs84, center_x, center_y)<br>[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<br>[Wed Feb 10 09:22:25.197305 2016] [:error] [pid 25962]     _proj._transform(p1,p2,inx,iny,inz,radians)<br>[Wed Feb 10 09:22:25.197309 2016] [:error] [pid 25962]   File "_proj.pyx", line 361, in _proj._transform (_proj.c:3762)<br>[Wed Feb 10 09:22:25.197314 2016] [:error] [pid 25962] RuntimeError: geocentric transformation missing z or ellps<br>[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<br><br>Last line stated that a possible coredump, due to the segmentation fault, maybe has been created (actually not).<br>In this case a new map is listed, however it is empty, which means that the layer I used has not been saved.<br>The action create a row in the db (geonode) but almost all field are empty. It seems the application doesn't pass values<br>in the db. I guess this fault raise the seg fault.<br><br>I hope this can help to find a solution or a sort of workaround.<br><br>E.<br><br><div><hr>Date: Tue, 9 Feb 2016 21:35:18 +0000<span><br>Subject: Re: [GeoNode-users] I can't pubishing map: internal error server<br></span>From: <a href="mailto:ivojfs@gmail.com" target="_blank">ivojfs@gmail.com</a><br>To: <a href="mailto:simone.dalmasso@gmail.com" target="_blank">simone.dalmasso@gmail.com</a>; <a href="mailto:enzo.ccc@gmail.com" target="_blank">enzo.ccc@gmail.com</a>; <a href="mailto:geonode-users@lists.osgeo.org" target="_blank">geonode-users@lists.osgeo.org</a>; <a href="mailto:ingenieroariel@gmail.com" target="_blank">ingenieroariel@gmail.com</a>; <a href="mailto:frippe12573@hotmail.com" target="_blank">frippe12573@hotmail.com</a><div><div><br><br><div dir="ltr">Hi everyone,<div><br></div><div>Eugenio is right, it appear's that it could be exactly the same error. I haven't found the solution either.</div><div>If there's something I can do to help to find out, please let me know.</div><div><br></div><div>Best regards,</div><div>Ivo</div><div><br><div>2016-02-09 18:13 GMT+00:00 Enzo Cocca <span dir="ltr"><<a href="mailto:enzo.ccc@gmail.com" target="_blank">enzo.ccc@gmail.com</a>></span>:<br><blockquote style="border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex;"><div dir="ltr">Hi,<div>I haven't resolved the problem and I can not find the solution. </div><div>Someone have same idea?</div><span><font color="#888888"><div><br></div><div>E</div></font></span></div><div><div><div><br><div>2016-02-09 10:39 GMT+01:00 Enzo Cocca <span dir="ltr"><<a href="mailto:enzo.ccc@gmail.com" target="_blank">enzo.ccc@gmail.com</a>></span>:<br><blockquote style="border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex;"><div dir="ltr">Hi Simone,<div>I have configurated geonode like instruction </div><div>Geonode is installed on ubuntuserver 14.04 with a ip  public adress.</div><div><br></div><div>Every thinks work very well but just the publishing map dasn't work.</div><div><br></div><div>So today I will review the apache configuration and I will let you know.</div><div><br></div><div>If you have any idea about this error, please let me know</div><div><br></div><div>Thanks</div><div><br></div><div>E<br><div><br><div>2016-02-08 21:00 GMT+01:00  <span dir="ltr"><<a href="mailto:geonode-users-request@lists.osgeo.org" target="_blank">geonode-users-request@lists.osgeo.org</a>></span>:<br><blockquote style="border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex;">Send geonode-users mailing list submissions to<br>
        <a href="mailto:geonode-users@lists.osgeo.org" target="_blank">geonode-users@lists.osgeo.org</a><br>
<br>
To subscribe or unsubscribe via the World Wide Web, visit<br>
        <a href="http://lists.osgeo.org/mailman/listinfo/geonode-users" rel="noreferrer" target="_blank">http://lists.osgeo.org/mailman/listinfo/geonode-users</a><br>
or, via email, send a message with subject or body 'help' to<br>
        <a href="mailto:geonode-users-request@lists.osgeo.org" target="_blank">geonode-users-request@lists.osgeo.org</a><br>
<br>
You can reach the person managing the list at<br>
        <a href="mailto:geonode-users-owner@lists.osgeo.org" target="_blank">geonode-users-owner@lists.osgeo.org</a><br>
<br>
When replying, please edit your Subject line so it is more specific<br>
than "Re: Contents of geonode-users digest..."<br>
<br>
<br>
Today's Topics:<br>
<br>
   1. Re: I can't pubishing map: internal error server (Eugenio Trumpy)<br>
<br>
<br>
----------------------------------------------------------------------<br>
<br>
Message: 1<br>
Date: Mon, 8 Feb 2016 15:21:00 +0100<br>
From: Eugenio Trumpy <<a href="mailto:frippe12573@hotmail.com" target="_blank">frippe12573@hotmail.com</a>><br>
To: Simone Dalmasso <<a href="mailto:simone.dalmasso@gmail.com" target="_blank">simone.dalmasso@gmail.com</a>>, Enzo Cocca<br>
        <<a href="mailto:enzo.ccc@gmail.com" target="_blank">enzo.ccc@gmail.com</a>>, "<a href="mailto:ivojfs@gmail.com" target="_blank">ivojfs@gmail.com</a>" <<a href="mailto:ivojfs@gmail.com" target="_blank">ivojfs@gmail.com</a>><br>
Cc: "<a href="mailto:geonode-users@lists.osgeo.org" target="_blank">geonode-users@lists.osgeo.org</a>" <<a href="mailto:geonode-users@lists.osgeo.org" target="_blank">geonode-users@lists.osgeo.org</a>><span><br>
Subject: Re: [GeoNode-users] I can't pubishing map: internal error<br>
        server<br></span>
Message-ID: <DUB123-W4169565D16F21E8DBC0876E5D50@phx.gbl><br>
Content-Type: text/plain; charset="iso-8859-1"<span><br>
<br>
Hi Enzo and Simone,<br>
<br>
this is more or less what happened to me [1] recently and, if I remember well, to Ivo Santos [2] in january.<br>
I would propose to put together the forces to solve this issue, to find out what is produce wsgi mod crash on apache.<br>
<br>
Best regards<br>
<br>
Eugenio<br>
<br>
[1] <a href="https://lists.osgeo.org/pipermail/geonode-users/2016-January/001281.html" rel="noreferrer" target="_blank">https://lists.osgeo.org/pipermail/geonode-users/2016-January/001281.html</a><br>
[2] <a href="https://lists.osgeo.org/pipermail/geonode-users/2016-January/001366.html" rel="noreferrer" target="_blank">https://lists.osgeo.org/pipermail/geonode-users/2016-January/001366.html</a><br>
<br></span><span>
From: <a href="mailto:simone.dalmasso@gmail.com" target="_blank">simone.dalmasso@gmail.com</a><br>
Date: Mon, 8 Feb 2016 14:50:02 +0100<br>
To: <a href="mailto:enzo.ccc@gmail.com" target="_blank">enzo.ccc@gmail.com</a><br>
CC: <a href="mailto:geonode-users@lists.osgeo.org" target="_blank">geonode-users@lists.osgeo.org</a><br>
Subject: Re: [GeoNode-users] I can't pubishing map: internal error server<br>
<br>
Hi,<br>
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 <a href="http://stackoverflow.com/questions/4331310/apache-with-mod-wsgi-segfaults2016-02-08" rel="noreferrer" target="_blank">http://stackoverflow.com/questions/4331310/apache-with-mod-wsgi-segfaults<br>
2016-02-08</a> 12:33 GMT+01:00 Enzo Cocca <<a href="mailto:enzo.ccc@gmail.com" target="_blank">enzo.ccc@gmail.com</a>>:<br>
Hi,<br>
I can't publishing map. I have the internal error server. So in apache error log I have founf this problem:<br>
<br>
[Mon Feb 08 12:30:<a target="_blank">01.758476</a> 2016] [core:error] [pid 59907] [client <a href="http://90.147.101.142:38620" rel="noreferrer" target="_blank">90.147.101.142:38620</a>] End of script output before headers: wsgi.py, referer: <a href="http://myipaddress/maps/new" rel="noreferrer" target="_blank">http://myipaddress/maps/new</a><br>
<br>
[Mon Feb 08 12:30:02.<a target="_blank">353489 2016</a>] [core:notice] [pid 59412] AH00051: child pid 59416 exit signal Segmentation fault (11), possible coredump in /etc/apache2<br>
<br>
How can I resolve it?<br>
<br>
Thanks<br>
<br>
E<br>
--<br></span>
Enzo Cocca PhDin "Science and Technology for Archaeology and Cultural Heritage"<br>
mail: enzo.ccc@gmail.comcell: <a target="_blank">+393495087014</a><span><br>
<br>
<br>
<br>
_______________________________________________<br>
<br>
geonode-users mailing list<br>
<br>
<a href="mailto:geonode-users@lists.osgeo.org" target="_blank">geonode-users@lists.osgeo.org</a><br>
<br>
<a href="http://lists.osgeo.org/mailman/listinfo/geonode-users" rel="noreferrer" target="_blank">http://lists.osgeo.org/mailman/listinfo/geonode-users</a><br>
<br>
<br>
<br>
<br>
--<br>
Simone<br>
<br>
<br>
_______________________________________________<br>
geonode-users mailing list<br>
<a href="mailto:geonode-users@lists.osgeo.org" target="_blank">geonode-users@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/geonode-users" rel="noreferrer" target="_blank">http://lists.osgeo.org/mailman/listinfo/geonode-users</a><br></span>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <<a href="http://lists.osgeo.org/pipermail/geonode-users/attachments/20160208/8eaf4d48/attachment-0001.html" rel="noreferrer" target="_blank">http://lists.osgeo.org/pipermail/geonode-users/attachments/20160208/8eaf4d48/attachment-0001.html</a>><br>
<br>
------------------------------<br>
<br>
Subject: Digest Footer<span><br>
<br>
_______________________________________________<br>
geonode-users mailing list<br>
<a href="mailto:geonode-users@lists.osgeo.org" target="_blank">geonode-users@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/geonode-users" rel="noreferrer" target="_blank">http://lists.osgeo.org/mailman/listinfo/geonode-users</a><br>
<br>
<br></span>
------------------------------<br>
<br>
End of geonode-users Digest, Vol 13, Issue 15<br>
*********************************************<br>
</blockquote></div><span><br><br clear="all"><div><br></div>-- <br><div><div dir="ltr"><div><div dir="ltr">Enzo Cocca PhD</div><div dir="ltr">in "Science and Technology for Archaeology and Cultural Heritage"<br><div>mail: <a href="mailto:enzo.ccc@gmail.com" target="_blank">enzo.ccc@gmail.com</a></div><div>cell: <a target="_blank">+393495087014</a></div><div><br></div></div></div></div></div>
</span></div></div></div>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div><div dir="ltr"><div><div dir="ltr">Enzo Cocca PhD</div><div dir="ltr">in "Science and Technology for Archaeology and Cultural Heritage"<br><div>mail: <a href="mailto:enzo.ccc@gmail.com" target="_blank">enzo.ccc@gmail.com</a></div><div>cell: <a target="_blank">+393495087014</a></div><div><br></div></div></div></div></div>
</div>
</div></div><br>_______________________________________________<br>
geonode-users mailing list<br>
<a href="mailto:geonode-users@lists.osgeo.org" target="_blank">geonode-users@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/geonode-users" rel="noreferrer" target="_blank">http://lists.osgeo.org/mailman/listinfo/geonode-users</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div>Ivo Santos<br><br></div>
</div></div></div></div></div>                                      </div></div>
</blockquote></div><br><br clear="all"><br>-- <br><div><div dir="ltr"><div><div dir="ltr">Enzo Cocca PhD</div><div dir="ltr">in "Science and Technology for Archaeology and Cultural Heritage"<br><div>mail: <a href="mailto:enzo.ccc@gmail.com" target="_blank">enzo.ccc@gmail.com</a></div><div>cell: <a target="_blank">+393495087014</a></div><div><br></div></div></div></div></div>
</div></div></div></div></div>                                      </div></body>
</html>