<div dir="ltr">Hi Francesco? It was a problem with the tomcat, I have restarted it. Thank You for the help.<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Sep 29, 2016 at 7:54 PM, Francesco Bartoli <span dir="ltr"><<a href="mailto:xbartolone@gmail.com" target="_blank">xbartolone@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word">Hi,<div><br></div><div>it claims with a 404 related to geoserver. Are you sure that tomcat is started and running?</div><div><br></div><div>Francesco</div><div><br><div><div><div class="h5"><div>Il giorno 29/set/2016, alle ore 18:44, Joseph Kariuki <<a href="mailto:joehene@gmail.com" target="_blank">joehene@gmail.com</a>> ha scritto:</div><br class="m_-2384871500029668408Apple-interchange-newline"></div></div><blockquote type="cite"><div><div class="h5"><div dir="ltr">I have successfully installed geonode in linux ubuntu 14.04 server. However updateip renders an error shown below<br><br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">root@ip-172-31-13-39:/# geonode updateip 127.0.0.1<br>Not enabling BingMaps base layer as a BING_API_KEY is not defined in local_settings.py file.<br>Unknown command: 'updateip'<br>Type 'django-admin.py help' for usage.<br>root@ip-172-31-13-39:/# geonode-updateip 127.0.0.1<br>Replacing SITEURL value with '127.0.0.1' in /etc/geonode/local_settings.py ... done.<br>Adding entry for '127.0.0.1' in /usr/share/geoserver/data/<wbr>printing/config.yaml ... done.<br>Adding 127.0.0.1 to ALLOWED_HOSTS in /etc/geonode/local_settings.py ... '127.0.0.1' already found in ALLOWED_HOSTS list.<br>Not enabling BingMaps base layer as a BING_API_KEY is not defined in local_settings.py file.<br> * Restarting web server apache2 <wbr> <wbr> [ OK ]<br>Not enabling BingMaps base layer as a BING_API_KEY is not defined in local_settings.py file.<br>Traceback (most recent call last):<br> File "/usr/bin/django-admin.py", line 5, in <module><br> management.execute_from_<wbr>command_line()<br> File "/usr/lib/python2.7/dist-<wbr>packages/django/core/<wbr>management/__init__.py", line 399, in execute_from_command_line<br> utility.execute()<br> File "/usr/lib/python2.7/dist-<wbr>packages/django/core/<wbr>management/__init__.py", line 392, in execute<br> self.fetch_command(subcommand)<wbr>.run_from_argv(self.argv)<br> File "/usr/lib/python2.7/dist-<wbr>packages/django/core/<wbr>management/base.py", line 242, in run_from_argv<br> self.execute(*args, **options.__dict__)<br> File "/usr/lib/python2.7/dist-<wbr>packages/django/core/<wbr>management/base.py", line 285, in execute<br> output = self.handle(*args, **options)<br> File "/usr/local/lib/python2.7/<wbr>dist-packages/geonode/<wbr>geoserver/management/commands/<wbr>updatelayers.py", line 108, in handle<br> remove_deleted=remove_deleted)<br> File "/usr/local/lib/python2.7/<wbr>dist-packages/geonode/<wbr>geoserver/helpers.py", line 395, in gs_slurp<br> resources = cat.get_resources()<br> File "/usr/lib/python2.7/dist-<wbr>packages/geoserver/catalog.py"<wbr>, line 723, in get_resources<br> for ws in self.get_workspaces():<br> File "/usr/lib/python2.7/dist-<wbr>packages/geoserver/catalog.py"<wbr>, line 861, in get_workspaces<br> description = self.get_xml("%s/workspaces.<wbr>xml" % self.service_url)<br> File "/usr/lib/python2.7/dist-<wbr>packages/geoserver/catalog.py"<wbr>, line 216, in get_xml<br> raise FailedRequestError("Tried to make a GET request to %s but got a %d status code: \n%s" % (rest_url, response.status, content))<br>geoserver.catalog.<wbr>FailedRequestError: Tried to make a GET request to <a href="http://localhost:8080/geoserver/rest/workspaces.xml" target="_blank">http://localhost:8080/<wbr>geoserver/rest/workspaces.xml</a> but got a 404 status code:<br><html><head><title>Apache Tomcat/7.0.52 (Ubuntu) - Error report</title><style><!--H1 {font-family:Tahoma,Arial,<wbr>sans-serif;color:white;<wbr>background-color:#525D76;font-<wbr>size:22px;} H2 {font-family:Tahoma,Arial,<wbr>sans-serif;color:white;<wbr>background-color:#525D76;font-<wbr>size:16px;} H3 {font-family:Tahoma,Arial,<wbr>sans-serif;color:white;<wbr>background-color:#525D76;font-<wbr>size:14px;} BODY {font-family:Tahoma,Arial,<wbr>sans-serif;color:black;<wbr>background-color:white;} B {font-family:Tahoma,Arial,<wbr>sans-serif;color:white;<wbr>background-color:#525D76;} P {font-family:Tahoma,Arial,<wbr>sans-serif;background:white;<wbr>color:black;font-size:12px;}A {color : black;}A.name {color : black;}HR {color : #525D76;}--></style> </head><body><h1>HTTP Status 404 - /geoserver/rest/workspaces.<wbr>xml</h1><HR size="1" noshade="noshade"><p><b>type</<wbr>b> Status report</p><p><b>message</b> <u>/geoserver/rest/workspaces.<wbr>xml</u></p><p><b>description</<wbr>b> <u>The requested resource is not available.</u></p><HR size="1" noshade="noshade"><h3>Apache Tomcat/7.0.52 (Ubuntu)</h3></body></html><br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Not enabling BingMaps base layer as a BING_API_KEY is not defined in local_settings.py file.<br></blockquote></blockquote><div><br></div><div>Kindly help. <br></div></div></div></div>
______________________________<wbr>_________________<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/<wbr>mailman/listinfo/geonode-users</a><br></blockquote></div><br></div></div></blockquote></div><br></div>