Hi, I'm trying to deploy GeoNode on a freshly installed Ubuntu. I downloaded GeoNode-1.0.tar.gz from the release site and then followed the section "Deploying on Ubuntu 10.04" in the documentation. GeoNetwork seems working properly at <http://localhost:8080/geonetwork>, but I get the following error when I try to launch GeoServer <http://localhost:8080/geoserver-geonode-dev/>. Any idea how to solve the problem? Thanks a lot! HTTP Status 500 - type Exception report message description The server encountered an internal error () that prevented it from fulfilling this request. exception javax.servlet.ServletException: Error connecting to GeoNode authentication server: Connection refused org.geonode.security.GeoNodeAnonymousProcessingFilter.doFilter(GeoNodeAnonymousProcessingFilter.java:87) org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275) org.acegisecurity.ui.AbstractProcessingFilter.doFilter(AbstractProcessingFilter.java:271) org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275) org.acegisecurity.ui.basicauth.BasicProcessingFilter.doFilter(BasicProcessingFilter.java:174) org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275) org.geonode.security.GeoNodeCookieProcessingFilter.doFilter(GeoNodeCookieProcessingFilter.java:107) org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275) org.acegisecurity.ui.logout.LogoutFilter.doFilter(LogoutFilter.java:110) org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275) org.acegisecurity.context.HttpSessionContextIntegrationFilter.doFilter(HttpSessionContextIntegrationFilter.java:249) org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275) org.acegisecurity.util.FilterChainProxy.doFilter(FilterChainProxy.java:149) org.acegisecurity.util.FilterToBeanProxy.doFilter(FilterToBeanProxy.java:98) org.geoserver.filters.LoggingFilter.doFilter(LoggingFilter.java:73) org.geoserver.filters.ReverseProxyFilter.doFilter(ReverseProxyFilter.java:183) org.geoserver.filters.GZIPFilter.doFilter(GZIPFilter.java:41) root cause java.net.ConnectException: Connection refused java.net.PlainSocketImpl.socketConnect(Native Method) java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:327) java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:193) java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:180) java.net.SocksSocketImpl.connect(SocksSocketImpl.java:384) java.net.Socket.connect(Socket.java:546) sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) java.lang.reflect.Method.invoke(Method.java:616) org.apache.commons.httpclient.protocol.ReflectionSocketFactory.createSocket(ReflectionSocketFactory.java:140) org.apache.commons.httpclient.protocol.DefaultProtocolSocketFactory.createSocket(DefaultProtocolSocketFactory.java:125) org.apache.commons.httpclient.HttpConnection.open(HttpConnection.java:707) org.apache.commons.httpclient.MultiThreadedHttpConnectionManager$HttpConnectionAdapter.open(MultiThreadedHttpConnectionManager.java:1361) org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:387) org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:171) org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:397) org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:323) org.geonode.security.HTTPClient.sendGET(HTTPClient.java:70) org.geonode.security.DefaultSecurityClient.authenticate(DefaultSecurityClient.java:108) org.geonode.security.DefaultSecurityClient.authenticateAnonymous(DefaultSecurityClient.java:97) org.geonode.security.GeoNodeAnonymousProcessingFilter.doFilter(GeoNodeAnonymousProcessingFilter.java:75) org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275) org.acegisecurity.ui.AbstractProcessingFilter.doFilter(AbstractProcessingFilter.java:271) org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275) org.acegisecurity.ui.basicauth.BasicProcessingFilter.doFilter(BasicProcessingFilter.java:174) org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275) org.geonode.security.GeoNodeCookieProcessingFilter.doFilter(GeoNodeCookieProcessingFilter.java:107) org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275) org.acegisecurity.ui.logout.LogoutFilter.doFilter(LogoutFilter.java:110) org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275) org.acegisecurity.context.HttpSessionContextIntegrationFilter.doFilter(HttpSessionContextIntegrationFilter.java:249) org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275) org.acegisecurity.util.FilterChainProxy.doFilter(FilterChainProxy.java:149) org.acegisecurity.util.FilterToBeanProxy.doFilter(FilterToBeanProxy.java:98) org.geoserver.filters.LoggingFilter.doFilter(LoggingFilter.java:73) org.geoserver.filters.ReverseProxyFilter.doFilter(ReverseProxyFilter.java:183) org.geoserver.filters.GZIPFilter.doFilter(GZIPFilter.java:41) note The full stack trace of the root cause is available in the Apache Tomcat/6.0.28 logs. Apache Tomcat/6.0.28
This problem is caused by GeoServer not being able to communicate with GeoNode for authentication purposes. Is GeoNode answering on http://localhost:8001/ ? and if so, did you make sure to add the GEONODE_BASE_URL parameter to your GeoServer web.xml as documented here? http://docs.geonode.org/1.0.1/deploy/ubuntu.html#deploying-geoserver If both of these things are configured correctly, you should not see this error. Let us know how it goes, Jeff On Sun, May 22, 2011 at 12:12 PM, Shuguang Hao <safeprocess@gmail.com> wrote: > Hi, > > I'm trying to deploy GeoNode on a freshly installed Ubuntu. I > downloaded GeoNode-1.0.tar.gz from the release site and then followed > the section "Deploying on Ubuntu 10.04" in the documentation. > GeoNetwork seems working properly at > <http://localhost:8080/geonetwork>, but I get the following error when > I try to launch GeoServer > <http://localhost:8080/geoserver-geonode-dev/>. Any idea how to solve > the problem? Thanks a lot! > > HTTP Status 500 - > > type Exception report > > message > > description The server encountered an internal error () that prevented > it from fulfilling this request. > > exception > > javax.servlet.ServletException: Error connecting to GeoNode > authentication server: Connection refused > org.geonode.security.GeoNodeAnonymousProcessingFilter.doFilter(GeoNodeAnonymousProcessingFilter.java:87) > org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275) > org.acegisecurity.ui.AbstractProcessingFilter.doFilter(AbstractProcessingFilter.java:271) > org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275) > org.acegisecurity.ui.basicauth.BasicProcessingFilter.doFilter(BasicProcessingFilter.java:174) > org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275) > org.geonode.security.GeoNodeCookieProcessingFilter.doFilter(GeoNodeCookieProcessingFilter.java:107) > org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275) > org.acegisecurity.ui.logout.LogoutFilter.doFilter(LogoutFilter.java:110) > org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275) > org.acegisecurity.context.HttpSessionContextIntegrationFilter.doFilter(HttpSessionContextIntegrationFilter.java:249) > org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275) > org.acegisecurity.util.FilterChainProxy.doFilter(FilterChainProxy.java:149) > org.acegisecurity.util.FilterToBeanProxy.doFilter(FilterToBeanProxy.java:98) > org.geoserver.filters.LoggingFilter.doFilter(LoggingFilter.java:73) > org.geoserver.filters.ReverseProxyFilter.doFilter(ReverseProxyFilter.java:183) > org.geoserver.filters.GZIPFilter.doFilter(GZIPFilter.java:41) > > root cause > > java.net.ConnectException: Connection refused > java.net.PlainSocketImpl.socketConnect(Native Method) > java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:327) > java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:193) > java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:180) > java.net.SocksSocketImpl.connect(SocksSocketImpl.java:384) > java.net.Socket.connect(Socket.java:546) > sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > java.lang.reflect.Method.invoke(Method.java:616) > org.apache.commons.httpclient.protocol.ReflectionSocketFactory.createSocket(ReflectionSocketFactory.java:140) > org.apache.commons.httpclient.protocol.DefaultProtocolSocketFactory.createSocket(DefaultProtocolSocketFactory.java:125) > org.apache.commons.httpclient.HttpConnection.open(HttpConnection.java:707) > org.apache.commons.httpclient.MultiThreadedHttpConnectionManager$HttpConnectionAdapter.open(MultiThreadedHttpConnectionManager.java:1361) > org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:387) > org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:171) > org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:397) > org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:323) > org.geonode.security.HTTPClient.sendGET(HTTPClient.java:70) > org.geonode.security.DefaultSecurityClient.authenticate(DefaultSecurityClient.java:108) > org.geonode.security.DefaultSecurityClient.authenticateAnonymous(DefaultSecurityClient.java:97) > org.geonode.security.GeoNodeAnonymousProcessingFilter.doFilter(GeoNodeAnonymousProcessingFilter.java:75) > org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275) > org.acegisecurity.ui.AbstractProcessingFilter.doFilter(AbstractProcessingFilter.java:271) > org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275) > org.acegisecurity.ui.basicauth.BasicProcessingFilter.doFilter(BasicProcessingFilter.java:174) > org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275) > org.geonode.security.GeoNodeCookieProcessingFilter.doFilter(GeoNodeCookieProcessingFilter.java:107) > org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275) > org.acegisecurity.ui.logout.LogoutFilter.doFilter(LogoutFilter.java:110) > org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275) > org.acegisecurity.context.HttpSessionContextIntegrationFilter.doFilter(HttpSessionContextIntegrationFilter.java:249) > org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275) > org.acegisecurity.util.FilterChainProxy.doFilter(FilterChainProxy.java:149) > org.acegisecurity.util.FilterToBeanProxy.doFilter(FilterToBeanProxy.java:98) > org.geoserver.filters.LoggingFilter.doFilter(LoggingFilter.java:73) > org.geoserver.filters.ReverseProxyFilter.doFilter(ReverseProxyFilter.java:183) > org.geoserver.filters.GZIPFilter.doFilter(GZIPFilter.java:41) > > note The full stack trace of the root cause is available in the Apache > Tomcat/6.0.28 logs. > Apache Tomcat/6.0.28 >
No. It answers only port 8080. I followed exactly the instruction. I added GEONODE_BASE_URL and GEOSERVER_DATA_DIR. On Sat, May 21, 2011 at 11:52 PM, Jeffrey Johnson <jjohnson@opengeo.org> wrote: > This problem is caused by GeoServer not being able to communicate with > GeoNode for authentication purposes. Is GeoNode answering on > http://localhost:8001/ ? and if so, did you make sure to add the > GEONODE_BASE_URL parameter to your GeoServer web.xml as documented > here? > > http://docs.geonode.org/1.0.1/deploy/ubuntu.html#deploying-geoserver > > If both of these things are configured correctly, you should not see this error. > > Let us know how it goes, > > Jeff > > On Sun, May 22, 2011 at 12:12 PM, Shuguang Hao <safeprocess@gmail.com> wrote: >> Hi, >> >> I'm trying to deploy GeoNode on a freshly installed Ubuntu. I >> downloaded GeoNode-1.0.tar.gz from the release site and then followed >> the section "Deploying on Ubuntu 10.04" in the documentation. >> GeoNetwork seems working properly at >> <http://localhost:8080/geonetwork>, but I get the following error when >> I try to launch GeoServer >> <http://localhost:8080/geoserver-geonode-dev/>. Any idea how to solve >> the problem? Thanks a lot! >> >> HTTP Status 500 - >> >> type Exception report >> >> message >> >> description The server encountered an internal error () that prevented >> it from fulfilling this request. >> >> exception >> >> javax.servlet.ServletException: Error connecting to GeoNode >> authentication server: Connection refused >> org.geonode.security.GeoNodeAnonymousProcessingFilter.doFilter(GeoNodeAnonymousProcessingFilter.java:87) >> org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275) >> org.acegisecurity.ui.AbstractProcessingFilter.doFilter(AbstractProcessingFilter.java:271) >> org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275) >> org.acegisecurity.ui.basicauth.BasicProcessingFilter.doFilter(BasicProcessingFilter.java:174) >> org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275) >> org.geonode.security.GeoNodeCookieProcessingFilter.doFilter(GeoNodeCookieProcessingFilter.java:107) >> org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275) >> org.acegisecurity.ui.logout.LogoutFilter.doFilter(LogoutFilter.java:110) >> org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275) >> org.acegisecurity.context.HttpSessionContextIntegrationFilter.doFilter(HttpSessionContextIntegrationFilter.java:249) >> org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275) >> org.acegisecurity.util.FilterChainProxy.doFilter(FilterChainProxy.java:149) >> org.acegisecurity.util.FilterToBeanProxy.doFilter(FilterToBeanProxy.java:98) >> org.geoserver.filters.LoggingFilter.doFilter(LoggingFilter.java:73) >> org.geoserver.filters.ReverseProxyFilter.doFilter(ReverseProxyFilter.java:183) >> org.geoserver.filters.GZIPFilter.doFilter(GZIPFilter.java:41) >> >> root cause >> >> java.net.ConnectException: Connection refused >> java.net.PlainSocketImpl.socketConnect(Native Method) >> java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:327) >> java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:193) >> java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:180) >> java.net.SocksSocketImpl.connect(SocksSocketImpl.java:384) >> java.net.Socket.connect(Socket.java:546) >> sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) >> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) >> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) >> java.lang.reflect.Method.invoke(Method.java:616) >> org.apache.commons.httpclient.protocol.ReflectionSocketFactory.createSocket(ReflectionSocketFactory.java:140) >> org.apache.commons.httpclient.protocol.DefaultProtocolSocketFactory.createSocket(DefaultProtocolSocketFactory.java:125) >> org.apache.commons.httpclient.HttpConnection.open(HttpConnection.java:707) >> org.apache.commons.httpclient.MultiThreadedHttpConnectionManager$HttpConnectionAdapter.open(MultiThreadedHttpConnectionManager.java:1361) >> org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:387) >> org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:171) >> org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:397) >> org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:323) >> org.geonode.security.HTTPClient.sendGET(HTTPClient.java:70) >> org.geonode.security.DefaultSecurityClient.authenticate(DefaultSecurityClient.java:108) >> org.geonode.security.DefaultSecurityClient.authenticateAnonymous(DefaultSecurityClient.java:97) >> org.geonode.security.GeoNodeAnonymousProcessingFilter.doFilter(GeoNodeAnonymousProcessingFilter.java:75) >> org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275) >> org.acegisecurity.ui.AbstractProcessingFilter.doFilter(AbstractProcessingFilter.java:271) >> org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275) >> org.acegisecurity.ui.basicauth.BasicProcessingFilter.doFilter(BasicProcessingFilter.java:174) >> org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275) >> org.geonode.security.GeoNodeCookieProcessingFilter.doFilter(GeoNodeCookieProcessingFilter.java:107) >> org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275) >> org.acegisecurity.ui.logout.LogoutFilter.doFilter(LogoutFilter.java:110) >> org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275) >> org.acegisecurity.context.HttpSessionContextIntegrationFilter.doFilter(HttpSessionContextIntegrationFilter.java:249) >> org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275) >> org.acegisecurity.util.FilterChainProxy.doFilter(FilterChainProxy.java:149) >> org.acegisecurity.util.FilterToBeanProxy.doFilter(FilterToBeanProxy.java:98) >> org.geoserver.filters.LoggingFilter.doFilter(LoggingFilter.java:73) >> org.geoserver.filters.ReverseProxyFilter.doFilter(ReverseProxyFilter.java:183) >> org.geoserver.filters.GZIPFilter.doFilter(GZIPFilter.java:41) >> >> note The full stack trace of the root cause is available in the Apache >> Tomcat/6.0.28 logs. >> Apache Tomcat/6.0.28 >> >
My mistake there, GeoServer and GeoNetwork will run on port 8080, but GeoNode itself should run on port 80 (not 8001). If you havent finished the steps beyond configuring GeoServer and GeoNetwork, it is normal for that error to come up until you have actually finished installing GeoNode ... carry on with the steps and then re-check the GeoServer installation when you are done. See the note in 2) here http://docs.geonode.org/1.0.1/deploy/ubuntu.html#changes-after-tomcat-is-running Jeff On Sun, May 22, 2011 at 4:24 PM, Shuguang Hao <safeprocess@gmail.com> wrote: > No. It answers only port 8080. I followed exactly the instruction. > I added GEONODE_BASE_URL and GEOSERVER_DATA_DIR. > > > On Sat, May 21, 2011 at 11:52 PM, Jeffrey Johnson <jjohnson@opengeo.org> wrote: >> This problem is caused by GeoServer not being able to communicate with >> GeoNode for authentication purposes. Is GeoNode answering on >> http://localhost:8001/ ? and if so, did you make sure to add the >> GEONODE_BASE_URL parameter to your GeoServer web.xml as documented >> here? >> >> http://docs.geonode.org/1.0.1/deploy/ubuntu.html#deploying-geoserver >> >> If both of these things are configured correctly, you should not see this error. >> >> Let us know how it goes, >> >> Jeff >> >> On Sun, May 22, 2011 at 12:12 PM, Shuguang Hao <safeprocess@gmail.com> wrote: >>> Hi, >>> >>> I'm trying to deploy GeoNode on a freshly installed Ubuntu. I >>> downloaded GeoNode-1.0.tar.gz from the release site and then followed >>> the section "Deploying on Ubuntu 10.04" in the documentation. >>> GeoNetwork seems working properly at >>> <http://localhost:8080/geonetwork>, but I get the following error when >>> I try to launch GeoServer >>> <http://localhost:8080/geoserver-geonode-dev/>. Any idea how to solve >>> the problem? Thanks a lot! >>> >>> HTTP Status 500 - >>> >>> type Exception report >>> >>> message >>> >>> description The server encountered an internal error () that prevented >>> it from fulfilling this request. >>> >>> exception >>> >>> javax.servlet.ServletException: Error connecting to GeoNode >>> authentication server: Connection refused >>> org.geonode.security.GeoNodeAnonymousProcessingFilter.doFilter(GeoNodeAnonymousProcessingFilter.java:87) >>> org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275) >>> org.acegisecurity.ui.AbstractProcessingFilter.doFilter(AbstractProcessingFilter.java:271) >>> org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275) >>> org.acegisecurity.ui.basicauth.BasicProcessingFilter.doFilter(BasicProcessingFilter.java:174) >>> org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275) >>> org.geonode.security.GeoNodeCookieProcessingFilter.doFilter(GeoNodeCookieProcessingFilter.java:107) >>> org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275) >>> org.acegisecurity.ui.logout.LogoutFilter.doFilter(LogoutFilter.java:110) >>> org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275) >>> org.acegisecurity.context.HttpSessionContextIntegrationFilter.doFilter(HttpSessionContextIntegrationFilter.java:249) >>> org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275) >>> org.acegisecurity.util.FilterChainProxy.doFilter(FilterChainProxy.java:149) >>> org.acegisecurity.util.FilterToBeanProxy.doFilter(FilterToBeanProxy.java:98) >>> org.geoserver.filters.LoggingFilter.doFilter(LoggingFilter.java:73) >>> org.geoserver.filters.ReverseProxyFilter.doFilter(ReverseProxyFilter.java:183) >>> org.geoserver.filters.GZIPFilter.doFilter(GZIPFilter.java:41) >>> >>> root cause >>> >>> java.net.ConnectException: Connection refused >>> java.net.PlainSocketImpl.socketConnect(Native Method) >>> java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:327) >>> java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:193) >>> java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:180) >>> java.net.SocksSocketImpl.connect(SocksSocketImpl.java:384) >>> java.net.Socket.connect(Socket.java:546) >>> sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) >>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) >>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) >>> java.lang.reflect.Method.invoke(Method.java:616) >>> org.apache.commons.httpclient.protocol.ReflectionSocketFactory.createSocket(ReflectionSocketFactory.java:140) >>> org.apache.commons.httpclient.protocol.DefaultProtocolSocketFactory.createSocket(DefaultProtocolSocketFactory.java:125) >>> org.apache.commons.httpclient.HttpConnection.open(HttpConnection.java:707) >>> org.apache.commons.httpclient.MultiThreadedHttpConnectionManager$HttpConnectionAdapter.open(MultiThreadedHttpConnectionManager.java:1361) >>> org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:387) >>> org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:171) >>> org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:397) >>> org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:323) >>> org.geonode.security.HTTPClient.sendGET(HTTPClient.java:70) >>> org.geonode.security.DefaultSecurityClient.authenticate(DefaultSecurityClient.java:108) >>> org.geonode.security.DefaultSecurityClient.authenticateAnonymous(DefaultSecurityClient.java:97) >>> org.geonode.security.GeoNodeAnonymousProcessingFilter.doFilter(GeoNodeAnonymousProcessingFilter.java:75) >>> org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275) >>> org.acegisecurity.ui.AbstractProcessingFilter.doFilter(AbstractProcessingFilter.java:271) >>> org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275) >>> org.acegisecurity.ui.basicauth.BasicProcessingFilter.doFilter(BasicProcessingFilter.java:174) >>> org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275) >>> org.geonode.security.GeoNodeCookieProcessingFilter.doFilter(GeoNodeCookieProcessingFilter.java:107) >>> org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275) >>> org.acegisecurity.ui.logout.LogoutFilter.doFilter(LogoutFilter.java:110) >>> org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275) >>> org.acegisecurity.context.HttpSessionContextIntegrationFilter.doFilter(HttpSessionContextIntegrationFilter.java:249) >>> org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275) >>> org.acegisecurity.util.FilterChainProxy.doFilter(FilterChainProxy.java:149) >>> org.acegisecurity.util.FilterToBeanProxy.doFilter(FilterToBeanProxy.java:98) >>> org.geoserver.filters.LoggingFilter.doFilter(LoggingFilter.java:73) >>> org.geoserver.filters.ReverseProxyFilter.doFilter(ReverseProxyFilter.java:183) >>> org.geoserver.filters.GZIPFilter.doFilter(GZIPFilter.java:41) >>> >>> note The full stack trace of the root cause is available in the Apache >>> Tomcat/6.0.28 logs. >>> Apache Tomcat/6.0.28 >>> >> >
I still got the same error.
When I tried to install GeoNode Django Site, everything seemed fine
until the 11th step when I tried to load
<http://localhost/media/static/gn/theme/app/img/header-bg.png>, after
I restarted Apache. The error I got was
Not Found
The requested URL /media/static/gn/theme/app/img/header-bg.png was not
found on this server.
The 12th step also failed. I got this error:
/var/www/geonode/wsgi/geonode/lib/python2.6/site-packages/registration/models.py:4:
DeprecationWarning: the sha module is deprecated; use the hashlib
module instead
import sha
Skipping creation of NoticeTypes as notification app not found
Traceback (most recent call last):
File "/var/www/geonode/wsgi/geonode/bin/django-admin.py", line 5, in <module>
management.execute_from_command_line()
File
"/var/www/geonode/wsgi/geonode/lib/python2.6/site-packages/django/core/management/__init__.py",
line 429, in execute_from_command_line
utility.execute()
File
"/var/www/geonode/wsgi/geonode/lib/python2.6/site-packages/django/core/management/__init__.py",
line 379, in execute
self.fetch_command(subcommand).run_from_argv(self.argv)
File
"/var/www/geonode/wsgi/geonode/lib/python2.6/site-packages/django/core/management/base.py",
line 191, in run_from_argv
self.execute(*args, **options.__dict__)
File
"/var/www/geonode/wsgi/geonode/lib/python2.6/site-packages/django/core/management/base.py",
line 218, in execute
output = self.handle(*args, **options)
File
"/var/www/geonode/wsgi/geonode/lib/python2.6/site-packages/django/core/management/base.py",
line 347, in handle
return self.handle_noargs(**options)
File
"/var/www/geonode/wsgi/geonode/lib/python2.6/site-packages/django/core/management/commands/syncdb.py",
line 52, in handle_noargs
cursor = connection.cursor()
File
"/var/www/geonode/wsgi/geonode/lib/python2.6/site-packages/django/db/backends/__init__.py",
line 75, in cursor
cursor = self._cursor()
File
"/var/www/geonode/wsgi/geonode/lib/python2.6/site-packages/django/db/backends/postgresql_psycopg2/base.py",
line 136, in _cursor
self.connection = Database.connect(**conn_params)
psycopg2.OperationalError: FATAL: password authentication failed for
user "geonode"
FATAL: password authentication failed for user "geonode"
On Sun, May 22, 2011 at 1:58 AM, Jeffrey Johnson <jjohnson@opengeo.org> wrote:
> My mistake there, GeoServer and GeoNetwork will run on port 8080, but
> GeoNode itself should run on port 80 (not 8001). If you havent
> finished the steps beyond configuring GeoServer and GeoNetwork, it is
> normal for that error to come up until you have actually finished
> installing GeoNode ... carry on with the steps and then re-check the
> GeoServer installation when you are done. See the note in 2) here
> http://docs.geonode.org/1.0.1/deploy/ubuntu.html#changes-after-tomcat-is-running
>
> Jeff
>
> On Sun, May 22, 2011 at 4:24 PM, Shuguang Hao <safeprocess@gmail.com> wrote:
>> No. It answers only port 8080. I followed exactly the instruction.
>> I added GEONODE_BASE_URL and GEOSERVER_DATA_DIR.
>>
>>
>> On Sat, May 21, 2011 at 11:52 PM, Jeffrey Johnson <jjohnson@opengeo.org> wrote:
>>> This problem is caused by GeoServer not being able to communicate with
>>> GeoNode for authentication purposes. Is GeoNode answering on
>>> http://localhost:8001/ ? and if so, did you make sure to add the
>>> GEONODE_BASE_URL parameter to your GeoServer web.xml as documented
>>> here?
>>>
>>> http://docs.geonode.org/1.0.1/deploy/ubuntu.html#deploying-geoserver
>>>
>>> If both of these things are configured correctly, you should not see
this error.
>>>
>>> Let us know how it goes,
>>>
>>> Jeff
>>>
>>> On Sun, May 22, 2011 at 12:12 PM, Shuguang Hao <safeprocess@gmail.com> wrote:
>>>> Hi,
>>>>
>>>> I'm trying to deploy GeoNode on a freshly installed Ubuntu. I
>>>> downloaded GeoNode-1.0.tar.gz from the release site and then followed
>>>> the section "Deploying on Ubuntu 10.04" in the documentation.
>>>> GeoNetwork seems working properly at
>>>> <http://localhost:8080/geonetwork>, but I get the following error when
>>>> I try to launch GeoServer
>>>> <http://localhost:8080/geoserver-geonode-dev/>. Any idea how to solve
>>>> the problem? Thanks a lot!
>>>>
>>>> HTTP Status 500 -
>>>>
>>>> type Exception report
>>>>
>>>> message
>>>>
>>>> description The server encountered an internal error () that prevented
>>>> it from fulfilling this request.
>>>>
>>>> exception
>>>>
>>>> javax.servlet.ServletException: Error connecting to GeoNode
>>>> authentication server: Connection refused
>>>>
org.geonode.security.GeoNodeAnonymousProcessingFilter.doFilter(GeoNodeAnonymousProcessingFilter.java:87)
>>>>
org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275)
>>>>
org.acegisecurity.ui.AbstractProcessingFilter.doFilter(AbstractProcessingFilter.java:271)
>>>>
org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275)
>>>>
org.acegisecurity.ui.basicauth.BasicProcessingFilter.doFilter(BasicProcessingFilter.java:174)
>>>>
org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275)
>>>>
org.geonode.security.GeoNodeCookieProcessingFilter.doFilter(GeoNodeCookieProcessingFilter.java:107)
>>>>
org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275)
>>>>
org.acegisecurity.ui.logout.LogoutFilter.doFilter(LogoutFilter.java:110)
>>>>
org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275)
>>>>
org.acegisecurity.context.HttpSessionContextIntegrationFilter.doFilter(HttpSessionContextIntegrationFilter.java:249)
>>>>
org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275)
>>>>
org.acegisecurity.util.FilterChainProxy.doFilter(FilterChainProxy.java:149)
>>>>
org.acegisecurity.util.FilterToBeanProxy.doFilter(FilterToBeanProxy.java:98)
>>>> org.geoserver.filters.LoggingFilter.doFilter(LoggingFilter.java:73)
>>>>
org.geoserver.filters.ReverseProxyFilter.doFilter(ReverseProxyFilter.java:183)
>>>> org.geoserver.filters.GZIPFilter.doFilter(GZIPFilter.java:41)
>>>>
>>>> root cause
>>>>
>>>> java.net.ConnectException: Connection refused
>>>> java.net.PlainSocketImpl.socketConnect(Native Method)
>>>>
java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:327)
>>>>
java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:193)
>>>>
java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:180)
>>>> java.net.SocksSocketImpl.connect(SocksSocketImpl.java:384)
>>>> java.net.Socket.connect(Socket.java:546)
>>>> sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>>>
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
>>>>
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>>>> java.lang.reflect.Method.invoke(Method.java:616)
>>>>
org.apache.commons.httpclient.protocol.ReflectionSocketFactory.createSocket(ReflectionSocketFactory.java:140)
>>>>
org.apache.commons.httpclient.protocol.DefaultProtocolSocketFactory.createSocket(DefaultProtocolSocketFactory.java:125)
>>>>
org.apache.commons.httpclient.HttpConnection.open(HttpConnection.java:707)
>>>>
org.apache.commons.httpclient.MultiThreadedHttpConnectionManager$HttpConnectionAdapter.open(MultiThreadedHttpConnectionManager.java:1361)
>>>>
org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:387)
>>>>
org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:171)
>>>>
org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:397)
>>>>
org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:323)
>>>> org.geonode.security.HTTPClient.sendGET(HTTPClient.java:70)
>>>>
org.geonode.security.DefaultSecurityClient.authenticate(DefaultSecurityClient.java:108)
>>>>
org.geonode.security.DefaultSecurityClient.authenticateAnonymous(DefaultSecurityClient.java:97)
>>>>
org.geonode.security.GeoNodeAnonymousProcessingFilter.doFilter(GeoNodeAnonymousProcessingFilter.java:75)
>>>>
org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275)
>>>>
org.acegisecurity.ui.AbstractProcessingFilter.doFilter(AbstractProcessingFilter.java:271)
>>>>
org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275)
>>>>
org.acegisecurity.ui.basicauth.BasicProcessingFilter.doFilter(BasicProcessingFilter.java:174)
>>>>
org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275)
>>>>
org.geonode.security.GeoNodeCookieProcessingFilter.doFilter(GeoNodeCookieProcessingFilter.java:107)
>>>>
org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275)
>>>>
org.acegisecurity.ui.logout.LogoutFilter.doFilter(LogoutFilter.java:110)
>>>>
org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275)
>>>>
org.acegisecurity.context.HttpSessionContextIntegrationFilter.doFilter(HttpSessionContextIntegrationFilter.java:249)
>>>>
org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275)
>>>>
org.acegisecurity.util.FilterChainProxy.doFilter(FilterChainProxy.java:149)
>>>>
org.acegisecurity.util.FilterToBeanProxy.doFilter(FilterToBeanProxy.java:98)
>>>> org.geoserver.filters.LoggingFilter.doFilter(LoggingFilter.java:73)
>>>>
org.geoserver.filters.ReverseProxyFilter.doFilter(ReverseProxyFilter.java:183)
>>>> org.geoserver.filters.GZIPFilter.doFilter(GZIPFilter.java:41)
>>>>
>>>> note The full stack trace of the root cause is available in the Apache
>>>> Tomcat/6.0.28 logs.
>>>> Apache Tomcat/6.0.28
>>>>
>>>
>>
>
On Mon, May 23, 2011 at 10:15 AM, Shuguang Hao <safeprocess@gmail.com> wrote: > I still got the same error. > > When I tried to install GeoNode Django Site, everything seemed fine > until the 11th step when I tried to load > <http://localhost/media/static/gn/theme/app/img/header-bg.png>, after > I restarted Apache. The error I got was > > Not Found > The requested URL /media/static/gn/theme/app/img/header-bg.png was not > found on this server. I think this actually needs a change in the docs after somewhat recent changes to the geonode-client. Can you verify that the following URL works. http://localhost/media/theme/img/header-bg.png > The 12th step also failed. I got this error: > > /var/www/geonode/wsgi/geonode/lib/python2.6/site-packages/registration/models.py:4: > DeprecationWarning: the sha module is deprecated; use the hashlib > module instead > import sha > Skipping creation of NoticeTypes as notification app not found > Traceback (most recent call last): > File "/var/www/geonode/wsgi/geonode/bin/django-admin.py", line 5, in <module> > management.execute_from_command_line() > File "/var/www/geonode/wsgi/geonode/lib/python2.6/site-packages/django/core/management/__init__.py", > line 429, in execute_from_command_line > utility.execute() > File "/var/www/geonode/wsgi/geonode/lib/python2.6/site-packages/django/core/management/__init__.py", > line 379, in execute > self.fetch_command(subcommand).run_from_argv(self.argv) > File "/var/www/geonode/wsgi/geonode/lib/python2.6/site-packages/django/core/management/base.py", > line 191, in run_from_argv > self.execute(*args, **options.__dict__) > File "/var/www/geonode/wsgi/geonode/lib/python2.6/site-packages/django/core/management/base.py", > line 218, in execute > output = self.handle(*args, **options) > File "/var/www/geonode/wsgi/geonode/lib/python2.6/site-packages/django/core/management/base.py", > line 347, in handle > return self.handle_noargs(**options) > File "/var/www/geonode/wsgi/geonode/lib/python2.6/site-packages/django/core/management/commands/syncdb.py", > line 52, in handle_noargs > cursor = connection.cursor() > File "/var/www/geonode/wsgi/geonode/lib/python2.6/site-packages/django/db/backends/__init__.py", > line 75, in cursor > cursor = self._cursor() > File "/var/www/geonode/wsgi/geonode/lib/python2.6/site-packages/django/db/backends/postgresql_psycopg2/base.py", > line 136, in _cursor > self.connection = Database.connect(**conn_params) > psycopg2.OperationalError: FATAL: password authentication failed for > user "geonode" > FATAL: password authentication failed for user "geonode" This error is pretty clear. You need to supply the same database username/password in your settings/local_settings.py as you specified when you setup the database as described here. http://docs.geonode.org/1.0.1/deploy/ubuntu.html#set-up-postgresql Can you verify that you are using the same one and give apache a restart to test? Jeff > On Sun, May 22, 2011 at 1:58 AM, Jeffrey Johnson <jjohnson@opengeo.org> wrote: >> My mistake there, GeoServer and GeoNetwork will run on port 8080, but >> GeoNode itself should run on port 80 (not 8001). If you havent >> finished the steps beyond configuring GeoServer and GeoNetwork, it is >> normal for that error to come up until you have actually finished >> installing GeoNode ... carry on with the steps and then re-check the >> GeoServer installation when you are done. See the note in 2) here >> http://docs.geonode.org/1.0.1/deploy/ubuntu.html#changes-after-tomcat-is-running >> >> Jeff >> >> On Sun, May 22, 2011 at 4:24 PM, Shuguang Hao <safeprocess@gmail.com> wrote: >>> No. It answers only port 8080. I followed exactly the instruction. >>> I added GEONODE_BASE_URL and GEOSERVER_DATA_DIR. >>> >>> >>> On Sat, May 21, 2011 at 11:52 PM, Jeffrey Johnson <jjohnson@opengeo.org> wrote: >>>> This problem is caused by GeoServer not being able to communicate with >>>> GeoNode for authentication purposes. Is GeoNode answering on >>>> http://localhost:8001/ ? and if so, did you make sure to add the >>>> GEONODE_BASE_URL parameter to your GeoServer web.xml as documented >>>> here? >>>> >>>> http://docs.geonode.org/1.0.1/deploy/ubuntu.html#deploying-geoserver >>>> >>>> If both of these things are configured correctly, you should not see this error. >>>> >>>> Let us know how it goes, >>>> >>>> Jeff >>>> >>>> On Sun, May 22, 2011 at 12:12 PM, Shuguang Hao <safeprocess@gmail.com> wrote: >>>>> Hi, >>>>> >>>>> I'm trying to deploy GeoNode on a freshly installed Ubuntu. I >>>>> downloaded GeoNode-1.0.tar.gz from the release site and then followed >>>>> the section "Deploying on Ubuntu 10.04" in the documentation. >>>>> GeoNetwork seems working properly at >>>>> <http://localhost:8080/geonetwork>, but I get the following error when >>>>> I try to launch GeoServer >>>>> <http://localhost:8080/geoserver-geonode-dev/>. Any idea how to solve >>>>> the problem? Thanks a lot! >>>>> >>>>> HTTP Status 500 - >>>>> >>>>> type Exception report >>>>> >>>>> message >>>>> >>>>> description The server encountered an internal error () that prevented >>>>> it from fulfilling this request. >>>>> >>>>> exception >>>>> >>>>> javax.servlet.ServletException: Error connecting to GeoNode >>>>> authentication server: Connection refused >>>>> org.geonode.security.GeoNodeAnonymousProcessingFilter.doFilter(GeoNodeAnonymousProcessingFilter.java:87) >>>>> org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275) >>>>> org.acegisecurity.ui.AbstractProcessingFilter.doFilter(AbstractProcessingFilter.java:271) >>>>> org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275) >>>>> org.acegisecurity.ui.basicauth.BasicProcessingFilter.doFilter(BasicProcessingFilter.java:174) >>>>> org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275) >>>>> org.geonode.security.GeoNodeCookieProcessingFilter.doFilter(GeoNodeCookieProcessingFilter.java:107) >>>>> org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275) >>>>> org.acegisecurity.ui.logout.LogoutFilter.doFilter(LogoutFilter.java:110) >>>>> org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275) >>>>> org.acegisecurity.context.HttpSessionContextIntegrationFilter.doFilter(HttpSessionContextIntegrationFilter.java:249) >>>>> org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275) >>>>> org.acegisecurity.util.FilterChainProxy.doFilter(FilterChainProxy.java:149) >>>>> org.acegisecurity.util.FilterToBeanProxy.doFilter(FilterToBeanProxy.java:98) >>>>> org.geoserver.filters.LoggingFilter.doFilter(LoggingFilter.java:73) >>>>> org.geoserver.filters.ReverseProxyFilter.doFilter(ReverseProxyFilter.java:183) >>>>> org.geoserver.filters.GZIPFilter.doFilter(GZIPFilter.java:41) >>>>> >>>>> root cause >>>>> >>>>> java.net.ConnectException: Connection refused >>>>> java.net.PlainSocketImpl.socketConnect(Native Method) >>>>> java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:327) >>>>> java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:193) >>>>> java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:180) >>>>> java.net.SocksSocketImpl.connect(SocksSocketImpl.java:384) >>>>> java.net.Socket.connect(Socket.java:546) >>>>> sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) >>>>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) >>>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) >>>>> java.lang.reflect.Method.invoke(Method.java:616) >>>>> org.apache.commons.httpclient.protocol.ReflectionSocketFactory.createSocket(ReflectionSocketFactory.java:140) >>>>> org.apache.commons.httpclient.protocol.DefaultProtocolSocketFactory.createSocket(DefaultProtocolSocketFactory.java:125) >>>>> org.apache.commons.httpclient.HttpConnection.open(HttpConnection.java:707) >>>>> org.apache.commons.httpclient.MultiThreadedHttpConnectionManager$HttpConnectionAdapter.open(MultiThreadedHttpConnectionManager.java:1361) >>>>> org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:387) >>>>> org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:171) >>>>> org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:397) >>>>> org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:323) >>>>> org.geonode.security.HTTPClient.sendGET(HTTPClient.java:70) >>>>> org.geonode.security.DefaultSecurityClient.authenticate(DefaultSecurityClient.java:108) >>>>> org.geonode.security.DefaultSecurityClient.authenticateAnonymous(DefaultSecurityClient.java:97) >>>>> org.geonode.security.GeoNodeAnonymousProcessingFilter.doFilter(GeoNodeAnonymousProcessingFilter.java:75) >>>>> org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275) >>>>> org.acegisecurity.ui.AbstractProcessingFilter.doFilter(AbstractProcessingFilter.java:271) >>>>> org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275) >>>>> org.acegisecurity.ui.basicauth.BasicProcessingFilter.doFilter(BasicProcessingFilter.java:174) >>>>> org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275) >>>>> org.geonode.security.GeoNodeCookieProcessingFilter.doFilter(GeoNodeCookieProcessingFilter.java:107) >>>>> org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275) >>>>> org.acegisecurity.ui.logout.LogoutFilter.doFilter(LogoutFilter.java:110) >>>>> org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275) >>>>> org.acegisecurity.context.HttpSessionContextIntegrationFilter.doFilter(HttpSessionContextIntegrationFilter.java:249) >>>>> org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275) >>>>> org.acegisecurity.util.FilterChainProxy.doFilter(FilterChainProxy.java:149) >>>>> org.acegisecurity.util.FilterToBeanProxy.doFilter(FilterToBeanProxy.java:98) >>>>> org.geoserver.filters.LoggingFilter.doFilter(LoggingFilter.java:73) >>>>> org.geoserver.filters.ReverseProxyFilter.doFilter(ReverseProxyFilter.java:183) >>>>> org.geoserver.filters.GZIPFilter.doFilter(GZIPFilter.java:41) >>>>> >>>>> note The full stack trace of the root cause is available in the Apache >>>>> Tomcat/6.0.28 logs. >>>>> Apache Tomcat/6.0.28 >>>>> >>>> >>> >> >
On Sun, May 22, 2011 at 7:22 PM, Jeffrey Johnson <jjohnson@opengeo.org> wrote: > On Mon, May 23, 2011 at 10:15 AM, Shuguang Hao <safeprocess@gmail.com> wrote: >> I still got the same error. >> >> When I tried to install GeoNode Django Site, everything seemed fine >> until the 11th step when I tried to load >> <http://localhost/media/static/gn/theme/app/img/header-bg.png>, after >> I restarted Apache. The error I got was >> >> Not Found >> The requested URL /media/static/gn/theme/app/img/header-bg.png was not >> found on this server. > > I think this actually needs a change in the docs after somewhat recent > changes to the geonode-client. Can you verify that the following URL > works. > > http://localhost/media/theme/img/header-bg.png > No. Same "Not Found" error. If I just access http://localhost/, I got "Internal Server Error". >> The 12th step also failed. I got this error: >> >> /var/www/geonode/wsgi/geonode/lib/python2.6/site-packages/registration/models.py:4: >> DeprecationWarning: the sha module is deprecated; use the hashlib >> module instead >> import sha >> Skipping creation of NoticeTypes as notification app not found >> Traceback (most recent call last): >> File "/var/www/geonode/wsgi/geonode/bin/django-admin.py", line 5, in <module> >> management.execute_from_command_line() >> File "/var/www/geonode/wsgi/geonode/lib/python2.6/site-packages/django/core/management/__init__.py", >> line 429, in execute_from_command_line >> utility.execute() >> File "/var/www/geonode/wsgi/geonode/lib/python2.6/site-packages/django/core/management/__init__.py", >> line 379, in execute >> self.fetch_command(subcommand).run_from_argv(self.argv) >> File "/var/www/geonode/wsgi/geonode/lib/python2.6/site-packages/django/core/management/base.py", >> line 191, in run_from_argv >> self.execute(*args, **options.__dict__) >> File "/var/www/geonode/wsgi/geonode/lib/python2.6/site-packages/django/core/management/base.py", >> line 218, in execute >> output = self.handle(*args, **options) >> File "/var/www/geonode/wsgi/geonode/lib/python2.6/site-packages/django/core/management/base.py", >> line 347, in handle >> return self.handle_noargs(**options) >> File "/var/www/geonode/wsgi/geonode/lib/python2.6/site-packages/django/core/management/commands/syncdb.py", >> line 52, in handle_noargs >> cursor = connection.cursor() >> File "/var/www/geonode/wsgi/geonode/lib/python2.6/site-packages/django/db/backends/__init__.py", >> line 75, in cursor >> cursor = self._cursor() >> File "/var/www/geonode/wsgi/geonode/lib/python2.6/site-packages/django/db/backends/postgresql_psycopg2/base.py", >> line 136, in _cursor >> self.connection = Database.connect(**conn_params) >> psycopg2.OperationalError: FATAL: password authentication failed for >> user "geonode" >> FATAL: password authentication failed for user "geonode" > > This error is pretty clear. You need to supply the same database > username/password in your settings/local_settings.py as you specified > when you setup the database as described here. > > http://docs.geonode.org/1.0.1/deploy/ubuntu.html#set-up-postgresql > I already installed postgresql and created the database and account as instructed. When I ran django-admin.py, it just printed the error message directly without any prompt for admin username or password. By the way, when I restarted Apache, I got a message saying "Could not reliably determine the server's fully qualified domain name, using 127.0.1.1 for ServerName". Is this a big problem? Thanks! > Can you verify that you are using the same one and give apache a > restart to test? > > Jeff >
On Mon, May 23, 2011 at 10:48 AM, Shuguang Hao <safeprocess@gmail.com> wrote: > On Sun, May 22, 2011 at 7:22 PM, Jeffrey Johnson <jjohnson@opengeo.org> wrote: >> On Mon, May 23, 2011 at 10:15 AM, Shuguang Hao <safeprocess@gmail.com> wrote: >>> I still got the same error. >>> >>> When I tried to install GeoNode Django Site, everything seemed fine >>> until the 11th step when I tried to load >>> <http://localhost/media/static/gn/theme/app/img/header-bg.png>, after >>> I restarted Apache. The error I got was >>> >>> Not Found >>> The requested URL /media/static/gn/theme/app/img/header-bg.png was not >>> found on this server. >> >> I think this actually needs a change in the docs after somewhat recent >> changes to the geonode-client. Can you verify that the following URL >> works. >> >> http://localhost/media/theme/img/header-bg.png >> > > No. Same "Not Found" error. If I just access http://localhost/, I > got "Internal Server Error". Lets put this one aside for now and address the other issues until we get them sorted out. This one is likely not a big deal. >>> The 12th step also failed. I got this error: >>> >>> /var/www/geonode/wsgi/geonode/lib/python2.6/site-packages/registration/models.py:4: >>> DeprecationWarning: the sha module is deprecated; use the hashlib >>> module instead >>> import sha >>> Skipping creation of NoticeTypes as notification app not found >>> Traceback (most recent call last): >>> File "/var/www/geonode/wsgi/geonode/bin/django-admin.py", line 5, in <module> >>> management.execute_from_command_line() >>> File "/var/www/geonode/wsgi/geonode/lib/python2.6/site-packages/django/core/management/__init__.py", >>> line 429, in execute_from_command_line >>> utility.execute() >>> File "/var/www/geonode/wsgi/geonode/lib/python2.6/site-packages/django/core/management/__init__.py", >>> line 379, in execute >>> self.fetch_command(subcommand).run_from_argv(self.argv) >>> File "/var/www/geonode/wsgi/geonode/lib/python2.6/site-packages/django/core/management/base.py", >>> line 191, in run_from_argv >>> self.execute(*args, **options.__dict__) >>> File "/var/www/geonode/wsgi/geonode/lib/python2.6/site-packages/django/core/management/base.py", >>> line 218, in execute >>> output = self.handle(*args, **options) >>> File "/var/www/geonode/wsgi/geonode/lib/python2.6/site-packages/django/core/management/base.py", >>> line 347, in handle >>> return self.handle_noargs(**options) >>> File "/var/www/geonode/wsgi/geonode/lib/python2.6/site-packages/django/core/management/commands/syncdb.py", >>> line 52, in handle_noargs >>> cursor = connection.cursor() >>> File "/var/www/geonode/wsgi/geonode/lib/python2.6/site-packages/django/db/backends/__init__.py", >>> line 75, in cursor >>> cursor = self._cursor() >>> File "/var/www/geonode/wsgi/geonode/lib/python2.6/site-packages/django/db/backends/postgresql_psycopg2/base.py", >>> line 136, in _cursor >>> self.connection = Database.connect(**conn_params) >>> psycopg2.OperationalError: FATAL: password authentication failed for >>> user "geonode" >>> FATAL: password authentication failed for user "geonode" >> >> This error is pretty clear. You need to supply the same database >> username/password in your settings/local_settings.py as you specified >> when you setup the database as described here. >> >> http://docs.geonode.org/1.0.1/deploy/ubuntu.html#set-up-postgresql >> > > I already installed postgresql and created the database and account as > instructed. When I ran django-admin.py, it just printed the error > message directly without any prompt for admin username or password. You need to configure the same username/password combo in your local_settings.py. If the ones specified here do not match the ones you used when setting up your database. See step 5 here. http://docs.geonode.org/1.0.1/deploy/ubuntu.html#install-geonode-django-site > By the way, when I restarted Apache, I got a message saying "Could not > reliably determine the server's fully qualified domain name, using > 127.0.1.1 for ServerName". Is this a big problem? This is not a big deal at all. Can you get into #geonode on freenode today to work through these issues. Jeff > Thanks! > > >> Can you verify that you are using the same one and give apache a >> restart to test? >> >> Jeff >> >
Great! Now everything works fine except the banner header-bg.png, but I guess that's not a big issue. What is that freenode thing? Sorry I'm not familiar with IRC. Thanks a lot! On Sun, May 22, 2011 at 7:53 PM, Jeffrey Johnson <jjohnson@opengeo.org> wrote: > On Mon, May 23, 2011 at 10:48 AM, Shuguang Hao <safeprocess@gmail.com> wrote: >> On Sun, May 22, 2011 at 7:22 PM, Jeffrey Johnson <jjohnson@opengeo.org> wrote: >>> On Mon, May 23, 2011 at 10:15 AM, Shuguang Hao <safeprocess@gmail.com> wrote: >>>> I still got the same error. >>>> >>>> When I tried to install GeoNode Django Site, everything seemed fine >>>> until the 11th step when I tried to load >>>> <http://localhost/media/static/gn/theme/app/img/header-bg.png>, after >>>> I restarted Apache. The error I got was >>>> >>>> Not Found >>>> The requested URL /media/static/gn/theme/app/img/header-bg.png was not >>>> found on this server. >>> >>> I think this actually needs a change in the docs after somewhat recent >>> changes to the geonode-client. Can you verify that the following URL >>> works. >>> >>> http://localhost/media/theme/img/header-bg.png >>> >> >> No. Same "Not Found" error. If I just access http://localhost/, I >> got "Internal Server Error". > > Lets put this one aside for now and address the other issues until we > get them sorted out. This one is likely not a big deal. > >>>> The 12th step also failed. I got this error: >>>> >>>> /var/www/geonode/wsgi/geonode/lib/python2.6/site-packages/registration/models.py:4: >>>> DeprecationWarning: the sha module is deprecated; use the hashlib >>>> module instead >>>> import sha >>>> Skipping creation of NoticeTypes as notification app not found >>>> Traceback (most recent call last): >>>> File "/var/www/geonode/wsgi/geonode/bin/django-admin.py", line 5, in <module> >>>> management.execute_from_command_line() >>>> File "/var/www/geonode/wsgi/geonode/lib/python2.6/site-packages/django/core/management/__init__.py", >>>> line 429, in execute_from_command_line >>>> utility.execute() >>>> File "/var/www/geonode/wsgi/geonode/lib/python2.6/site-packages/django/core/management/__init__.py", >>>> line 379, in execute >>>> self.fetch_command(subcommand).run_from_argv(self.argv) >>>> File "/var/www/geonode/wsgi/geonode/lib/python2.6/site-packages/django/core/management/base.py", >>>> line 191, in run_from_argv >>>> self.execute(*args, **options.__dict__) >>>> File "/var/www/geonode/wsgi/geonode/lib/python2.6/site-packages/django/core/management/base.py", >>>> line 218, in execute >>>> output = self.handle(*args, **options) >>>> File "/var/www/geonode/wsgi/geonode/lib/python2.6/site-packages/django/core/management/base.py", >>>> line 347, in handle >>>> return self.handle_noargs(**options) >>>> File "/var/www/geonode/wsgi/geonode/lib/python2.6/site-packages/django/core/management/commands/syncdb.py", >>>> line 52, in handle_noargs >>>> cursor = connection.cursor() >>>> File "/var/www/geonode/wsgi/geonode/lib/python2.6/site-packages/django/db/backends/__init__.py", >>>> line 75, in cursor >>>> cursor = self._cursor() >>>> File "/var/www/geonode/wsgi/geonode/lib/python2.6/site-packages/django/db/backends/postgresql_psycopg2/base.py", >>>> line 136, in _cursor >>>> self.connection = Database.connect(**conn_params) >>>> psycopg2.OperationalError: FATAL: password authentication failed for >>>> user "geonode" >>>> FATAL: password authentication failed for user "geonode" >>> >>> This error is pretty clear. You need to supply the same database >>> username/password in your settings/local_settings.py as you specified >>> when you setup the database as described here. >>> >>> http://docs.geonode.org/1.0.1/deploy/ubuntu.html#set-up-postgresql >>> >> >> I already installed postgresql and created the database and account as >> instructed. When I ran django-admin.py, it just printed the error >> message directly without any prompt for admin username or password. > > You need to configure the same username/password combo in your > local_settings.py. If the ones specified here do not match the ones > you used when setting up your database. See step 5 here. > > http://docs.geonode.org/1.0.1/deploy/ubuntu.html#install-geonode-django-site > >> By the way, when I restarted Apache, I got a message saying "Could not >> reliably determine the server's fully qualified domain name, using >> 127.0.1.1 for ServerName". Is this a big problem? > > This is not a big deal at all. > > Can you get into #geonode on freenode today to work through these issues. > > Jeff > >> Thanks! >> >> >>> Can you verify that you are using the same one and give apache a >>> restart to test? >>> >>> Jeff >>> >> >
Do you see the banner when you visit http://localhost/ ? If so, not to worry. Jeff On 2011-05-23 at 11:19:30, Shuguang Hao wrote: > Great! Now everything works fine except the banner header-bg.png, but > I guess that's not a big issue. > > What is that freenode thing? Sorry I'm not familiar with IRC. > > Thanks a lot! > > On Sun, May 22, 2011 at 7:53 PM, Jeffrey Johnson <jjohnson@opengeo.org> wrote: > > On Mon, May 23, 2011 at 10:48 AM, Shuguang Hao <safeprocess@gmail.com> wrote: > > > On Sun, May 22, 2011 at 7:22 PM, Jeffrey Johnson <jjohnson@opengeo.org> wrote: > > > > On Mon, May 23, 2011 at 10:15 AM, Shuguang Hao <safeprocess@gmail.com> wrote: > > > > > I still got the same error. > > > > > > > > > > When I tried to install GeoNode Django Site, everything seemed fine > > > > > until the 11th step when I tried to load > > > > > <http://localhost/media/static/gn/theme/app/img/header-bg.png>, after > > > > > I restarted Apache. The error I got was > > > > > > > > > > Not Found > > > > > The requested URL /media/static/gn/theme/app/img/header-bg.png was not > > > > > found on this server. > > > > > > > > I think this actually needs a change in the docs after somewhat recent > > > > changes to the geonode-client. Can you verify that the following URL > > > > works. > > > > > > > > http://localhost/media/theme/img/header-bg.png > > > > > > No. Same "Not Found" error. If I just access http://localhost/, I > > > got "Internal Server Error". > > > > Lets put this one aside for now and address the other issues until we > > get them sorted out. This one is likely not a big deal. > > > > > > > The 12th step also failed. I got this error: > > > > > > > > > > /var/www/geonode/wsgi/geonode/lib/python2.6/site-packages/registration/models.py:4: > > > > > DeprecationWarning: the sha module is deprecated; use the hashlib > > > > > module instead > > > > > import sha > > > > > Skipping creation of NoticeTypes as notification app not found > > > > > Traceback (most recent call last): > > > > > File "/var/www/geonode/wsgi/geonode/bin/django-admin.py", line 5, in <module> > > > > > management.execute_from_command_line() > > > > > File "/var/www/geonode/wsgi/geonode/lib/python2.6/site-packages/django/core/management/__init__.py", > > > > > line 429, in execute_from_command_line > > > > > utility.execute() > > > > > File "/var/www/geonode/wsgi/geonode/lib/python2.6/site-packages/django/core/management/__init__.py", > > > > > line 379, in execute > > > > > self.fetch_command(subcommand).run_from_argv(self.argv) > > > > > File "/var/www/geonode/wsgi/geonode/lib/python2.6/site-packages/django/core/management/base.py", > > > > > line 191, in run_from_argv > > > > > self.execute(*args, **options.__dict__) > > > > > File "/var/www/geonode/wsgi/geonode/lib/python2.6/site-packages/django/core/management/base.py", > > > > > line 218, in execute > > > > > output = self.handle(*args, **options) > > > > > File "/var/www/geonode/wsgi/geonode/lib/python2.6/site-packages/django/core/management/base.py", > > > > > line 347, in handle > > > > > return self.handle_noargs(**options) > > > > > File "/var/www/geonode/wsgi/geonode/lib/python2.6/site-packages/django/core/management/commands/syncdb.py", > > > > > line 52, in handle_noargs > > > > > cursor = connection.cursor() > > > > > File "/var/www/geonode/wsgi/geonode/lib/python2.6/site-packages/django/db/backends/__init__.py", > > > > > line 75, in cursor > > > > > cursor = self._cursor() > > > > > File "/var/www/geonode/wsgi/geonode/lib/python2.6/site-packages/django/db/backends/postgresql_psycopg2/base.py", > > > > > line 136, in _cursor > > > > > self.connection = Database.connect(**conn_params) > > > > > psycopg2.OperationalError: FATAL: password authentication failed for > > > > > user "geonode" > > > > > FATAL: password authentication failed for user "geonode" > > > > > > > > This error is pretty clear. You need to supply the same database > > > > username/password in your settings/local_settings.py as you specified > > > > when you setup the database as described here. > > > > > > > > http://docs.geonode.org/1.0.1/deploy/ubuntu.html#set-up-postgresql > > > > > > I already installed postgresql and created the database and account as > > > instructed. When I ran django-admin.py, it just printed the error > > > message directly without any prompt for admin username or password. > > > > You need to configure the same username/password combo in your > > local_settings.py. If the ones specified here do not match the ones > > you used when setting up your database. See step 5 here. > > > > http://docs.geonode.org/1.0.1/deploy/ubuntu.html#install-geonode-django-site > > > > > By the way, when I restarted Apache, I got a message saying "Could not > > > reliably determine the server's fully qualified domain name, using > > > 127.0.1.1 for ServerName". Is this a big problem? > > > > This is not a big deal at all. > > > > Can you get into #geonode on freenode today to work through these issues. > > > > Jeff > > > > > Thanks! > > > > > > > > > > Can you verify that you are using the same one and give apache a > > > > restart to test? > > > > > > > > Jeff >
No. There's text only without any image. I can't even find header-bg.png in the whole file system. On Sun, May 22, 2011 at 8:36 PM, Jeffrey Johnson <jjohnson@opengeo.org> wrote: > Do you see the banner when you visit http://localhost/ ? If so, not to > worry. > Jeff > > On 2011-05-23 at 11:19:30, Shuguang Hao wrote: > > Great! Now everything works fine except the banner header-bg.png, but > I guess that's not a big issue. > > What is that freenode thing? Sorry I'm not familiar with IRC. > > Thanks a lot! > > On Sun, May 22, 2011 at 7:53 PM, Jeffrey Johnson <jjohnson@opengeo.org> > wrote: > > On Mon, May 23, 2011 at 10:48 AM, Shuguang Hao <safeprocess@gmail.com> > wrote: > > On Sun, May 22, 2011 at 7:22 PM, Jeffrey Johnson <jjohnson@opengeo.org> > wrote: > > On Mon, May 23, 2011 at 10:15 AM, Shuguang Hao <safeprocess@gmail.com> > wrote: > > I still got the same error. > > When I tried to install GeoNode Django Site, everything seemed fine > until th e 11th step when I tried to load > <http://localhost/media/static/gn/theme/app/img/header-bg.png>, after > I restarted Apache. The error I got was > > Not Found > The requested URL /media/static/gn/theme/app/img/header-bg.png was not > found on this server. > > I think this actually needs a change in the docs after somewhat recent > changes to the geonode-client. Can you verify that the following URL > works. > > http://localhost/media/theme/img/header-bg.png > > No. Same "Not Found" error. If I just access http://localhost/, I > got "Internal Server Error". > > Lets put this one aside for now and address the other issues until we > get them sorted out. This one is likely not a big deal. > > The 12th step also failed. I got this error: > > /var/www/geonode/wsgi/geonode/lib/python2.6/site-packages/registration/models.py:4: > DeprecationWarning: the sha module is deprecated; use the hashlib > module instead > import sha > Skipping creation of NoticeTypes as notification app not found > Traceback (most recent call last): > File "/var/www/geonode/wsgi/geonode/bin/django-admin.py", line 5, in > <module> > management.execute_from_command_line() > File > "/var/www/geonode/wsgi/geonode/lib/python2.6/site-packages/django/core/management/__init__.py", > line 429, in execute_from_command_line > utility.execute() > File > "/var/www/geonode/wsgi/geonode/lib/python2.6/site-packages/django/core/management/__init__.py", > line 379, in execute > self.fetch_command(subcommand).run_from_argv(self.argv) > File "/var/www/geono > de/wsgi/geonode/lib/python2.6/site-packages/django/core/management/base.py", > line 191, in run_from_argv > self.execute(*args, **options.__dict__) > File > "/var/www/geonode/wsgi/geonode/lib/python2.6/site-packages/django/core/management/base.py", > line 218, in execute > output = self.handle(*args, **options) > File > "/var/www/geonode/wsgi/geonode/lib/python2.6/site-packages/django/core/management/base.py", > line 347, in handle > return self.handle_noargs(**options) > File > "/var/www/geonode/wsgi/geonode/lib/python2.6/site-packages/django/core/management/commands/syncdb.py", > line 52, in handle_noargs > cursor = connection.cursor() > File > "/var/www/geonode/wsgi/geonode/lib/python2.6/site-packages/django/db/backends/__init__.py", > line 75, in cursor > cursor = self._cursor() > File > "/var/www/geonode/wsgi/geonode/lib/python2.6/site-packages/django/db/backends/postgres > ql_psycopg2/base.py", > line 136, in _cursor > self.connection = Database.connect(**conn_params) > psycopg2.OperationalError: FATAL: password authentication failed for > user "geonode" > FATAL: password authentication failed for user "geonode" > > This error is pretty clear. You need to supply the same database > username/password in your settings/local_settings.py as you specified > when you setup the database as described here. > > http://docs.geonode.org/1.0.1/deploy/ubuntu.html#set-up-postgresql > > I already installed postgresql and created the database and account as > instructed. When I ran django-admin.py, it just printed the error > message directly without any prompt for admin username or password. > > You need to configure the same username/password combo in your > local_setti ngs.py. If the ones specified here do not match the ones > you used when setting up your database. See step 5 here. > > http://docs.geonode.org/1.0.1/deploy/ubuntu.html#install-geonode-django-site > > By the way, when I restarted Apache, I got a message saying "Could not > reliably determine the server's fully qualified domain name, using > 127.0.1.1 for ServerName". Is this a big problem? > > This is not a big deal at all. > > Can you get into #geonode on freenode today to work through these issues. > > Jeff > > Thanks! > > > Can you verify that you are using the same one and give apache a > restart to test? > > Jeff > >
Looks like my mistake again for pointing you at the documentation for the 1.0.1 release (which is actually unreleased). The way that the geonode-client is setup has changed significantly between 1.0 and 1.0.1 ... so go back to the 1.0 docs and search for "geonode-client" and follow those steps to deploy it ... it contains that image and the other static media required by geonode. http://docs.geonode.org/1.0/deploy/ubuntu.html Jeff On 2011-05-23 at 11:45:13, Shuguang Hao wrote: > No. There's text only without any image. I can't even find > header-bg.png in the whole file system. > > On Sun, May 22, 2011 at 8:36 PM, Jeffrey Johnson <jjohnson@opengeo.org> wrote: > > Do you see the banner when you visit http://localhost/ ? If so, not to > > worry. > > Jeff > > > > On 2011-05-23 at 11:19:30, Shuguang Hao wrote: > > > > Great! Now everything works fine except the banner header-bg.png, but > > I guess that's not a big issue. > > > > What is that freenode thing? Sorry I'm not familiar with IRC. > > > > Thanks a lot! > > > > On Sun, May 22, 2011 at 7:53 PM, Jeffrey Johnson <jjohnson@opengeo.org> > > wrote: > > > > On Mon, May 23, 2011 at 10:48 AM, Shuguang Hao <safeprocess@gmail.com> > > wrote: > > > > On Sun, May 22, 2011 at 7:22 PM, Jeffrey Johnson <jjohnson@opengeo.org> > > wrote: > > > > On Mon, May 23, 2011 at 10:15 AM, Shuguang Hao <safeprocess@gmail.com> > > wrote: > > > > I still got the same error. > > > > When I tried to install GeoNode Django Site, everything seemed fine > > until th e 11th step when I tried to load > > <http://localhost/media/static/gn/theme/app/img/header-bg.png>, after > > I restarted Apache. The error I got was > > > > Not Found > > The requested URL /media/static/gn/theme/app/img/header-bg.png was not > > found on this server. > > > > I think this actually needs a change in the docs after somewhat recent > > changes to the geonode-client. Can you verify that the following URL > > works. > > > > http://localhost/media/theme/img/header-bg.png > > > > No. Same "Not Found" error. If I just access http://localhost/, I > > got "Internal Server Error". > > > > Lets put this one aside for now and address the other issues until we > > get them sorted out. This one is likely not a big deal. > > > > The 12th step also failed. I got this error: > > > > /var/www/geonode/wsgi/geonode/lib/python2.6/site-packages/registration/models.py:4: > > DeprecationWarning: the sha module is deprecated; use the hashlib > > module instead > > import sha > > Skipping creation of NoticeTypes as notification app not found > > Traceback (most recent call last): > > File "/var/www/geonode/wsgi/geonode/bin/django-admin.py", line 5, in > > <module> > > management.execute_from_command_line() > > File > > "/var/www/geonode/wsgi/geonode/lib/python2.6/site-packages/django/core/management/__init__.py", > > line 429, in execute_from_command_line > > utility.execute() > > File > > "/var/www/geonode/wsgi/geonode/lib/python2.6/site-packages/django/core/management/__init__.py", > > line 379, in execute > > self.fetch_command(subcommand).run_from_argv(self.argv) > > File "/var/www/geono > > de/wsgi/geonode/lib/python2.6/site-packages/django/core/management/base.py", > > line 191, in run_from_argv > > self.execute(*args, **options.__dict__) > > File > > "/var/www/geonode/wsgi/geonode/lib/python2.6/site-packages/django/core/management/base.py", > > line 218, in execute > > output = self.handle(*args, **options) > > File > > "/var/www/geonode/wsgi/geonode/lib/python2.6/site-packages/django/core/management/base.py", > > line 347, in handle > > return self.handle_noargs(**options) > > File > > "/var/www/geonode/wsgi/geonode/lib/python2.6/site-packages/django/core/management/commands/syncdb.py", > > line 52, in handle_noargs > > cursor = connection.cursor() > > File > > "/var/www/geonode/wsgi/geonode/lib/python2.6/site-packages/django/db/backends/__init__.py", > > line 75, in cursor > > cursor = self._cursor() > > File > > "/var/www/geonode/wsgi/geonode/lib/python2.6/site-packages/django/db/backends/postgres > > ql_psycopg2/base.py", > > line 136, in _cursor > > self.connection = Database.connect(**conn_params) > > psycopg2.OperationalError: FATAL: password authentication failed for > > user "geonode" > > FATAL: password authentication failed for user "geonode" > > > > This error is pretty clear. You need to supply the same database > > username/password in your settings/local_settings.py as you specified > > when you setup the database as described here. > > > > http://docs.geonode.org/1.0.1/deploy/ubuntu.html#set-up-postgresql > > > > I already installed postgresql and created the database and account as > > instructed. When I ran django-admin.py, it just printed the error > > message directly without any prompt for admin username or password. > > > > You need to configure the same username/password combo in your > > local_setti ngs.py. If the ones specified here do not match the ones > > you used when setting up your database. See step 5 here. > > > > http://docs.geonode.org/1.0.1/deploy/ubuntu.html#install-geonode-django-site > > > > By the way, when I restarted Apache, I got a message saying "Could not > > reliably determine the server's fully qualified domain name, using > > 127.0.1.1 for ServerName". Is this a big problem? > > > > This is not a big deal at all. > > > > Can you get into #geonode on freenode today to work through these issues. > > > > Jeff > > > > Thanks! > > > > > > Can you verify that you are using the same one and give apache a > > restart to test? > > > > Jeff >
Great! Now everything is good. Thanks a lot! On Sun, May 22, 2011 at 8:56 PM, Jeffrey Johnson <jjohnson@opengeo.org> wrote: > Looks like my mistake again for pointing you at the documentation for the > 1.0.1 release (which is actually unreleased). The way that the > geonode-client is setup has changed significantly between 1.0 and 1.0.1 ... > so go back to the 1.0 docs and search for "geonode-client" and follow those > steps to deploy it ... it contains that image and the other static media > required by geonode. > http://docs.geonode.org/1.0/deploy/ubuntu.html > Jeff >
Sweet! Just a note that 1.1 will be release very shortly and it includes a bunch of new stuff including bug fixes and new functionality. Stay tuned to this list and be sure to upgrade when its announced. Jeff On 2011-05-23 at 12:31:57, Shuguang Hao wrote: > Great! Now everything is good. > > Thanks a lot! > > On Sun, May 22, 2011 at 8:56 PM, Jeffrey Johnson <jjohnson@opengeo.org> wrote: > > Looks like my mistake again for pointing you at the documentation for the > > 1.0.1 release (which is actually unreleased). The way that the > > geonode-client is setup has changed significantly between 1.0 and 1.0.1 ... > > so go back to the 1.0 docs and search for "geonode-client" and follow those > > steps to deploy it ... it contains that image and the other static media > > required by geonode. > > http://docs.geonode.org/1.0/deploy/ubuntu.html > > Jeff >
That's nice. Thanks! Shuguang On Sun, May 22, 2011 at 9:34 PM, Jeffrey Johnson <jjohnson@opengeo.org> wrote: > Sweet! Just a note that 1.1 will be release very shortly and it includes a > bunch of new stuff including bug fixes and new functionality. Stay tuned to > this list and be sure to upgrade when its announced. > Jeff > > On 2011-05-23 at 12:31:57, Shuguang Hao wrote: > > Great! Now everything is good. > > Thanks a lot! > > On Sun, May 22, 2011 at 8:56 PM, Jeffrey Johnson <jjohnson@opengeo.org> > wrote: > > Looks like my mistake again for pointing you at the documentation for the > 1.0.1 release (which is actually unreleased). The way that the > geonode-client is setup has changed significantly between 1.0 and 1.0.1 ... > so go back to the 1.0 docs and search for "geonode-client" and follow those > steps to deploy it ... it contains that image and the other static media > required by geonode. > http://docs.geonode.org/1.0/deploy/ubuntu.html > Jeff > >
i already had this problem but i dont remember how i solved this problem. but i think that django not is authenticating. look configuration archives of geonode. 2011/5/21 Shuguang Hao <safeprocess@gmail.com> > Hi, > > I'm trying to deploy GeoNode on a freshly installed Ubuntu. I > downloaded GeoNode-1.0.tar.gz from the release site and then followed > the section "Deploying on Ubuntu 10.04" in the documentation. > GeoNetwork seems working properly at > <http://localhost:8080/geonetwork>, but I get the following error when > I try to launch GeoServer > <http://localhost:8080/geoserver-geonode-dev/>. Any idea how to solve > the problem? Thanks a lot! > > HTTP Status 500 - > > type Exception report > > message > > description The server encountered an internal error () that prevented > it from fulfilling this request. > > exception > > javax.servlet.ServletException: Error connecting to GeoNode > authentication server: Connection refused > > org.geonode.security.GeoNodeAnonymousProcessingFilter.doFilter(GeoNodeAnonymousProcessingFilter.java:87) > > org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275) > > org.acegisecurity.ui.AbstractProcessingFilter.doFilter(AbstractProcessingFilter.java:271) > > org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275) > > org.acegisecurity.ui.basicauth.BasicProcessingFilter.doFilter(BasicProcessingFilter.java:174) > > org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275) > > org.geonode.security.GeoNodeCookieProcessingFilter.doFilter(GeoNodeCookieProcessingFilter.java:107) > > org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275) > > org.acegisecurity.ui.logout.LogoutFilter.doFilter(LogoutFilter.java:110) > > org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275) > > org.acegisecurity.context.HttpSessionContextIntegrationFilter.doFilter(HttpSessionContextIntegrationFilter.java:249) > > org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275) > > org.acegisecurity.util.FilterChainProxy.doFilter(FilterChainProxy.java:149) > > org.acegisecurity.util.FilterToBeanProxy.doFilter(FilterToBeanProxy.java:98) > org.geoserver.filters.LoggingFilter.doFilter(LoggingFilter.java:73) > > org.geoserver.filters.ReverseProxyFilter.doFilter(ReverseProxyFilter.java:183) > org.geoserver.filters.GZIPFilter.doFilter(GZIPFilter.java:41) > > root cause > > java.net.ConnectException: Connection refused > java.net.PlainSocketImpl.socketConnect(Native Method) > > java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:327) > > java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:193) > > java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:180) > java.net.SocksSocketImpl.connect(SocksSocketImpl.java:384) > java.net.Socket.connect(Socket.java:546) > sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) > > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > java.lang.reflect.Method.invoke(Method.java:616) > > org.apache.commons.httpclient.protocol.ReflectionSocketFactory.createSocket(ReflectionSocketFactory.java:140) > > org.apache.commons.httpclient.protocol.DefaultProtocolSocketFactory.createSocket(DefaultProtocolSocketFactory.java:125) > > org.apache.commons.httpclient.HttpConnection.open(HttpConnection.java:707) > > org.apache.commons.httpclient.MultiThreadedHttpConnectionManager$HttpConnectionAdapter.open(MultiThreadedHttpConnectionManager.java:1361) > > org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:387) > > org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:171) > > org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:397) > > org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:323) > org.geonode.security.HTTPClient.sendGET(HTTPClient.java:70) > > org.geonode.security.DefaultSecurityClient.authenticate(DefaultSecurityClient.java:108) > > org.geonode.security.DefaultSecurityClient.authenticateAnonymous(DefaultSecurityClient.java:97) > > org.geonode.security.GeoNodeAnonymousProcessingFilter.doFilter(GeoNodeAnonymousProcessingFilter.java:75) > > org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275) > > org.acegisecurity.ui.AbstractProcessingFilter.doFilter(AbstractProcessingFilter.java:271) > > org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275) > > org.acegisecurity.ui.basicauth.BasicProcessingFilter.doFilter(BasicProcessingFilter.java:174) > > org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275) > > org.geonode.security.GeoNodeCookieProcessingFilter.doFilter(GeoNodeCookieProcessingFilter.java:107) > > org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275) > > org.acegisecurity.ui.logout.LogoutFilter.doFilter(LogoutFilter.java:110) > > org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275) > > org.acegisecurity.context.HttpSessionContextIntegrationFilter.doFilter(HttpSessionContextIntegrationFilter.java:249) > > org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275) > > org.acegisecurity.util.FilterChainProxy.doFilter(FilterChainProxy.java:149) > > org.acegisecurity.util.FilterToBeanProxy.doFilter(FilterToBeanProxy.java:98) > org.geoserver.filters.LoggingFilter.doFilter(LoggingFilter.java:73) > > org.geoserver.filters.ReverseProxyFilter.doFilter(ReverseProxyFilter.java:183) > org.geoserver.filters.GZIPFilter.doFilter(GZIPFilter.java:41) > > note The full stack trace of the root cause is available in the Apache > Tomcat/6.0.28 logs. > Apache Tomcat/6.0.28 > -- "É tempo de caminhar sem medo de se perder." Jhonatas Martins dos Santos