<div dir="ltr">ok, you can add<div><br></div><div class="gmail_extra"><pre style="white-space:pre-wrap;color:rgb(0,0,0)"><i>POSTGIS_VERSION = (2,1,0)</i></pre><pre style="white-space:pre-wrap;color:rgb(0,0,0)"><i><br></i></pre>to your geonode settings.<br><br><br>Regards</div><div class="gmail_extra"><br><div class="gmail_quote">2015-11-09 8:49 GMT+01:00 Shah Md. Rajibul Islam <span dir="ltr"><<a href="mailto:rajibul.islam@cdmp.org.bd" target="_blank">rajibul.islam@cdmp.org.bd</a>></span>:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div lang="EN-US" link="blue" vlink="purple"><div><p class="MsoNormal"><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)">Dear Ciao,<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)">Thank you for your reply. I found the followings-<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)">geonode@geonode:~$ tail -f /etc/apache2/logs/error.log<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)">tail: cannot open ‘/etc/apache2/logs/error.log’ for reading: No such file or directory<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)">geonode@geonode:~$ tail -f /var/log/apache2/error.log<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)">[Mon Nov 09 00:48:14.620992 2015] [:error] [pid 2175] [remote <a href="http://192.168.0.42:27831" target="_blank">192.168.0.42:27831</a>] conn = backend.DatabaseWrapper(db, alias)<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)">[Mon Nov 09 00:48:14.621022 2015] [:error] [pid 2175] [remote <a href="http://192.168.0.42:27831" target="_blank">192.168.0.42:27831</a>] File "/usr/lib/python2.7/dist-packages/django/contrib/gis/db/backends/postgis/base.py", line 11, in __init__<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)">[Mon Nov 09 00:48:14.621065 2015] [:error] [pid 2175] [remote <a href="http://192.168.0.42:27831" target="_blank">192.168.0.42:27831</a>] self.ops = PostGISOperations(self)<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)">[Mon Nov 09 00:48:14.621095 2015] [:error] [pid 2175] [remote <a href="http://192.168.0.42:27831" target="_blank">192.168.0.42:27831</a>] File "/usr/lib/python2.7/dist-packages/django/contrib/gis/db/backends/postgis/operations.py", line 158, in __init__<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)">[Mon Nov 09 00:48:14.621136 2015] [:error] [pid 2175] [remote <a href="http://192.168.0.42:27831" target="_blank">192.168.0.42:27831</a>] if self.spatial_version < (1, 3, 4):<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)">[Mon Nov 09 00:48:14.621190 2015] [:error] [pid 2175] [remote <a href="http://192.168.0.42:27831" target="_blank">192.168.0.42:27831</a>] File "/usr/lib/python2.7/dist-packages/django/utils/functional.py", line 49, in __get__<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)">[Mon Nov 09 00:48:14.621232 2015] [:error] [pid 2175] [remote <a href="http://192.168.0.42:27831" target="_blank">192.168.0.42:27831</a>] res = instance.__dict__[self.func.__name__] = self.func(instance)<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)">[Mon Nov 09 00:48:14.621263 2015] [:error] [pid 2175] [remote <a href="http://192.168.0.42:27831" target="_blank">192.168.0.42:27831</a>] File "/usr/lib/python2.7/dist-packages/django/contrib/gis/db/backends/postgis/operations.py", line 258, in spatial_version<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)">[Mon Nov 09 00:48:14.621306 2015] [:error] [pid 2175] [remote <a href="http://192.168.0.42:27831" target="_blank">192.168.0.42:27831</a>] 'template?' % self.connection.settings_dict['NAME']<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)">[Mon Nov 09 00:48:14.621354 2015] [:error] [pid 2175] [remote <a href="http://192.168.0.42:27831" target="_blank">192.168.0.42:27831</a>] ImproperlyConfigured: Cannot determine PostGIS version for database "geonode_data". GeoDjango requires at least PostGIS version 1.3. Was the database created from a spatial database template?<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)">Regards<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)">Rajib<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)"><u></u> <u></u></span></p><p class="MsoNormal" style="background:white"><b><span style="font-size:13.5pt;font-family:Calibri,sans-serif;color:navy">Shah Md. Rajibul Islam</span></b><span style="font-family:Arial,sans-serif;color:rgb(34,34,34)"><u></u><u></u></span></p><p class="MsoNormal" style="background:white"><b><span style="font-size:10pt;font-family:Calibri,sans-serif;color:navy">GIS Analyst</span></b><b><span style="font-family:Calibri,sans-serif;color:navy"><br></span></b><span style="font-size:10pt;font-family:'Arial Narrow',sans-serif;color:navy">CDMP – II, UNDP</span><span style="font-size:10pt;font-family:Arial,sans-serif;color:rgb(34,34,34)"><br></span><span style="font-size:10pt;font-family:'Arial Narrow',sans-serif;color:navy">Disaster Management & Relief Bhaban</span><span style="font-size:10pt;font-family:Arial,sans-serif;color:rgb(34,34,34)"><br></span><span style="font-size:10pt;font-family:'Arial Narrow',sans-serif;color:navy">92-93, Mohakhali C/A, Dhaka - 1212</span><span style="font-size:10pt;font-family:Arial,sans-serif;color:rgb(34,34,34)"><br></span><span style="font-size:10pt;font-family:'Arial Narrow',sans-serif;color:navy">Tel # 989 0937; 882 1255; 882 1459, Ext - 303</span><span style="font-size:10pt;font-family:Arial,sans-serif;color:rgb(34,34,34)"><br></span><span style="font-size:10pt;font-family:'Arial Narrow',sans-serif;color:navy">Mobile: +88 </span><span style="font-size:10pt;font-family:Arial,sans-serif;color:navy">01716 027389, </span><span style="font-size:10pt;font-family:'Arial Narrow',sans-serif;color:navy">E-mail: <a href="mailto:rajibul.islam@cdmp.org.bd" target="_blank"><span style="color:rgb(17,85,204)">rajibul.islam@cdmp.org.bd</span></a></span><u><span style="font-size:10pt;font-family:'Arial Narrow',sans-serif;color:blue"><br></span></u><span style="font-size:10pt;font-family:'Arial Narrow',sans-serif;color:navy">Web: <a href="http://www.cdmp.org.bd/" target="_blank"><span style="color:rgb(17,85,204)">www.cdmp.org.bd</span></a></span><span style="font-family:Arial,sans-serif;color:rgb(34,34,34)"><u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)"><u></u> <u></u></span></p><p class="MsoNormal"><b><span style="font-size:10pt;font-family:Tahoma,sans-serif">From:</span></b><span style="font-size:10pt;font-family:Tahoma,sans-serif"> Simone Dalmasso [mailto:<a href="mailto:simone.dalmasso@gmail.com" target="_blank">simone.dalmasso@gmail.com</a>] <br><b>Sent:</b> 09 November 2015 13:19<br><b>To:</b> Shah Md. Rajibul Islam<br><b>Cc:</b> <a href="mailto:geonode-users@lists.osgeo.org" target="_blank">geonode-users@lists.osgeo.org</a><br><b>Subject:</b> Re: [GeoNode-users] Cannot access GeoNode 2.4 RC1 after istalling and updating IP (500 internal server error)<u></u><u></u></span></p><p class="MsoNormal"><u></u> <u></u></p><div><p class="MsoNormal">Hi, <u></u><u></u></p><div><p class="MsoNormal">you can see what specific error is by reading the apache logs<u></u><u></u></p></div><div><p class="MsoNormal"><u></u> <u></u></p></div><div><p class="MsoNormal">$ tail -f /etc/apache2/logs/error.log<u></u><u></u></p></div><div><p class="MsoNormal"><u></u> <u></u></p></div><div><p class="MsoNormal">let us know so that we can better help you.<u></u><u></u></p></div><div><p class="MsoNormal"><u></u> <u></u></p></div><div><p class="MsoNormal">Ciao<u></u><u></u></p></div></div><div><p class="MsoNormal"><u></u> <u></u></p><div><p class="MsoNormal">2015-11-08 7:05 GMT+01:00 Shah Md. Rajibul Islam <<a href="mailto:rajibul.islam@cdmp.org.bd" target="_blank">rajibul.islam@cdmp.org.bd</a>>:<u></u><u></u></p><div><div><p class="MsoNormal">Dear Geonode users,<u></u><u></u></p><p class="MsoNormal"> <u></u><u></u></p><p class="MsoNormal">I have installed GeoNode 2.4 RC1/GeoNode version 2.4c2 on ubuntu-14.04-server-i386. First I have installed it in a virtual machine using VMware workstation and successfully installed and accessed it with the configured local IP. Later on, I have installed the same version of Geonode on the same version of Ubuntu server 14.04. I don’t have a real IP and hence I have configured the geonode with the local IP of the server. But I cannot access it through the web browser. It gives 500 internal server error:<u></u><u></u></p><p class="MsoNormal"> <u></u><u></u></p><p class="MsoNormal"><b><span style="font-size:10pt;color:red">Internal Server Error</span></b><u></u><u></u></p><p class="MsoNormal"><span style="font-size:10pt;color:red">The server encountered an internal error or misconfiguration and was unable to complete your request.</span><u></u><u></u></p><p class="MsoNormal"><span style="font-size:10pt;color:red">Please contact the server administrator at webmaster@localhost to inform them of the time this error occurred, and the actions you performed just before this error.</span><u></u><u></u></p><p class="MsoNormal"><span style="font-size:10pt;color:red">More information about this error may be available in the server error log.</span><u></u><u></u></p><div class="MsoNormal" align="center" style="text-align:center"><span style="font-size:10pt;color:red"><hr size="2" width="100%" noshade style="color:black" align="center"></span></div><p class="MsoNormal"><i><span style="font-size:10pt;color:red">Apache/2.4.7 (Ubuntu) Server at 192.168.0.101 Port 80</span></i><u></u><u></u></p><p class="MsoNormal"> <u></u><u></u></p><p class="MsoNormal">Could you please suggest if it is related with the Local IP or I need a real IP to access it through web browser.<u></u><u></u></p><p class="MsoNormal"> <u></u><u></u></p><p class="MsoNormal">Best regards<u></u><u></u></p><p class="MsoNormal">Rajib<u></u><u></u></p><p class="MsoNormal"> <u></u><u></u></p><p class="MsoNormal" style="background:white"><b><span style="font-size:13.5pt;color:navy">Shah Md. Rajibul Islam</span></b><u></u><u></u></p><p class="MsoNormal" style="background:white"><b><span style="font-size:10pt;color:navy">GIS Analyst</span><span style="color:navy"><br></span></b><span style="font-size:10pt;font-family:'Arial Narrow',sans-serif;color:navy">CDMP – II, UNDP</span><span style="font-size:10pt;font-family:Arial,sans-serif;color:rgb(34,34,34)"><br></span><span style="font-size:10pt;font-family:'Arial Narrow',sans-serif;color:navy">Disaster Management & Relief Bhaban</span><span style="font-size:10pt;font-family:Arial,sans-serif;color:rgb(34,34,34)"><br></span><span style="font-size:10pt;font-family:'Arial Narrow',sans-serif;color:navy">92-93, Mohakhali C/A, Dhaka - 1212</span><span style="font-size:10pt;font-family:Arial,sans-serif;color:rgb(34,34,34)"><br></span><span style="font-size:10pt;font-family:'Arial Narrow',sans-serif;color:navy">Tel # 989 0937; 882 1255; 882 1459, Ext - 303</span><span style="font-size:10pt;font-family:Arial,sans-serif;color:rgb(34,34,34)"><br></span><span style="font-size:10pt;font-family:'Arial Narrow',sans-serif;color:navy">Mobile: +88 </span><span style="font-size:10pt;font-family:Arial,sans-serif;color:navy">01716 027389, </span><span style="font-size:10pt;font-family:'Arial Narrow',sans-serif;color:navy">E-mail: <a href="mailto:rajibul.islam@cdmp.org.bd" target="_blank"><span style="color:rgb(17,85,204)">rajibul.islam@cdmp.org.bd</span></a></span><u><span style="font-size:10pt;font-family:'Arial Narrow',sans-serif;color:blue"><br></span></u><span style="font-size:10pt;font-family:'Arial Narrow',sans-serif;color:navy">Web: <a href="http://www.cdmp.org.bd/" target="_blank"><span style="color:rgb(17,85,204)">www.cdmp.org.bd</span></a></span><u></u><u></u></p><p class="MsoNormal"> <u></u><u></u></p></div></div><p class="MsoNormal" style="margin-bottom:12pt"><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" target="_blank">http://lists.osgeo.org/mailman/listinfo/geonode-users</a><u></u><u></u></p></div><p class="MsoNormal"><br><br clear="all"><u></u><u></u></p><div><p class="MsoNormal"><u></u> <u></u></p></div><p class="MsoNormal">-- <u></u><u></u></p><div><p class="MsoNormal">Simone <u></u><u></u></p></div></div></div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br><div>Simone </div>
</div></div>