You can modify /etc/geonode/local_settings.py to increase the logging level (there is a comment in that file near the end explaining how to do it). However it is surprising that you would get a 500 error with nothing in the error.log file - are the other parts of the Django site functioning properly? Can you successfully view the home page at http://localhost/ ?
-- David Winslow OpenGeo - http://opengeo.org/ On Fri, Feb 17, 2012 at 5:04 AM, [email protected] <[email protected]> wrote: > Thanks David for your reply. > > > > The request that GeoServer is trying to make should be to > http://localhost/data/acls . If you try a manual request to that URL, > does the response contain valid JSON? > > No, just a "Internal Server Error" > > > You can also check the Apache error log for a python stack trace, that > would probably be useful in diagnosing the issueI > > I checked the Apache error.log (in /var/log/apache2) and there is only one > entry (no error): > - [Fri Feb...] [notice] Apache/2.2.14 (Ubuntu) mod_wsgi/2.8 Python/2.6.5 > configured -- resuming normal operations > > Is there any other error log that I can check? > > Thanks Thomas > > Il 16/02/2012 16.08, David Winslow ha scritto: > > The request that GeoServer is trying to make should be to > http://localhost/data/acls . If you try a manual request to that URL, > does the response contain valid JSON? > > You can also check the Apache error log for a python stack trace, that > would probably be useful in diagnosing the issue. > > -- > David Winslow > OpenGeo - http://opengeo.org/ > > On Wed, Feb 15, 2012 at 5:58 PM, [email protected] <[email protected]> wrote: > >> Thanks Joe but it doesn't work for me, I had already correct the web.xml. >> >> The error is different (in your case "404 Not Found", in my case "500 >> Internal Server Error") >> >> Not only if I try to connect to geoserver (v. http://localhost/geoserver) >> , also if I try to login to geonode. >> >> Thanks, Thomas >> >> >> Il 15/02/2012 15.58, Joe Larson ha scritto: >> >> Thomas, >> >> I wonder if you and I had a similar situation >> http://librelist.com/browser//geonode/2012/2/7/failed-get-request-workspaces-xml-catalog-py/ >> ? >> >> Try this, as Ariel helped me get over the issue: >> >> All those problems are caused by GeoServer not being properly >> configured. >> >> The way to debug is keep hitting: http://yourgeonode.com/geoserver >> until it gives you the UI. >> >> What I found to be missing after the upgrade were two things: >> >> #1. GEOSERVER_DATA_DIR set to /var/lib/geoserver/geonode-data in >> /var/lib/tomcat6/webapps/geoserver/WEB-INF/web.xml >> #2. GEONODE_BASE_URL set t o http://localhost/ or http://mygeonode.com/ >> in /var/lib/tomcat6/webapps/geoserver/WEB-INF/web.xml >> >> Without GeoServer properly configured, no other part of GeoNode will >> work correctly. >> >> Let me know if that helps, >> Ariel. >> >> >> Best, Joe. >> >> On Feb 15, 2012, at 12:43 AM, [email protected] wrote: >> >> I upgrade my ubuntu 10.04 installation of geonode to version 1.1 with >> the Installer for Ubuntu (thanks Ariel...) >> During the installation, the upgrade overwrite my modified web.xml file >> (in /etc/geonode/geoserver/) >> After a reboot I get this error when I try to load a map: >> "javax.servlet.ServletException: Error connecting to GeoNode >> authentication server: Connection refused" >> >> I searched in the list and fo und this: >> >> http://librelist.com/browser//geonode/2011/5/22/problem-in-deploying-geonode-on-ubuntu/ >> >> I modified web.xml file (as described here: >> >> http://readthedocs.org/docs/geonode/en/1.0/deploy/ubuntu.html#deploying-geoserver) >> >> but it doesn't work (same error message). >> >> If I try to connect to http://localhost:8080/geoserver or >> http://localhost/geoserver I get the same error. >> >> Any idea how to solve the problem? >> >> Thanks Thomas >> >> >> >
