<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">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>Il giorno 29/set/2016, alle ore 18:44, Joseph Kariuki <<a href="mailto:joehene@gmail.com">joehene@gmail.com</a>> ha scritto:</div><br class="Apple-interchange-newline"><blockquote type="cite"><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/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                                                        [ 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_command_line()<br>  File "/usr/lib/python2.7/dist-packages/django/core/management/__init__.py", line 399, in execute_from_command_line<br>    utility.execute()<br>  File "/usr/lib/python2.7/dist-packages/django/core/management/__init__.py", line 392, in execute<br>    self.fetch_command(subcommand).run_from_argv(self.argv)<br>  File "/usr/lib/python2.7/dist-packages/django/core/management/base.py", line 242, in run_from_argv<br>    self.execute(*args, **options.__dict__)<br>  File "/usr/lib/python2.7/dist-packages/django/core/management/base.py", line 285, in execute<br>    output = self.handle(*args, **options)<br>  File "/usr/local/lib/python2.7/dist-packages/geonode/geoserver/management/commands/updatelayers.py", line 108, in handle<br>    remove_deleted=remove_deleted)<br>  File "/usr/local/lib/python2.7/dist-packages/geonode/geoserver/helpers.py", line 395, in gs_slurp<br>    resources = cat.get_resources()<br>  File "/usr/lib/python2.7/dist-packages/geoserver/catalog.py", line 723, in get_resources<br>    for ws in self.get_workspaces():<br>  File "/usr/lib/python2.7/dist-packages/geoserver/catalog.py", line 861, in get_workspaces<br>    description = self.get_xml("%s/workspaces.xml" % self.service_url)<br>  File "/usr/lib/python2.7/dist-packages/geoserver/catalog.py", 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.FailedRequestError: Tried to make a GET request to <a href="http://localhost:8080/geoserver/rest/workspaces.xml">http://localhost:8080/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,sans-serif;color:white;background-color:#525D76;font-size:22px;} H2 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:16px;} H3 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:14px;} BODY {font-family:Tahoma,Arial,sans-serif;color:black;background-color:white;} B {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;} P {font-family:Tahoma,Arial,sans-serif;background:white;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.xml</h1><HR size="1" noshade="noshade"><p><b>type</b> Status report</p><p><b>message</b> <u>/geoserver/rest/workspaces.xml</u></p><p><b>description</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>
_______________________________________________<br>geonode-users mailing list<br><a href="mailto:geonode-users@lists.osgeo.org">geonode-users@lists.osgeo.org</a><br>http://lists.osgeo.org/mailman/listinfo/geonode-users<br></blockquote></div><br></div></body></html>