[GeoNode-devel] Geonode Installation :-Paver start error:

Jeffrey Johnson ortelius at gmail.com
Fri Jun 26 07:17:14 PDT 2015


Forwarding to the new dev list, Not sure if we can get the old one
totally removed now?

Barun,

Can you check if you have the GeoServer that you installed from
packages running. Check http://localhost:8080/geoserver. You should
also have the geonode python running in apache on http://localhost/
... if so then you need only use paver start_django to stop and start
the python in development mode on port 8000 and reuse the package
installed geoserver. You can use python manage.py updatelayers to add
the layers installed with geoserver to your local development
database.

Grab me on slack if you need help with these issues.

Jeff

On Fri, Jun 26, 2015 at 3:06 AM,  <paudel.barun4 at gmail.com> wrote:
> Hi everyone,
>
> I have freshly installed Ubuntu 14.04 LTS. I have tried to install Geonode
> and i have followed this doc for installation.
> http://geonode.readthedocs.org/en/latest/tutorials/devel/install_devmode/index.html#install-devmode
>
>
> After installing Virtual Wrapper and cloning geonode from
> https://github.com/geoNode/geonode.git.
>
> I have followed following Procedures.
>
>
> 1.barun at barun-H81M-S2PV:~$ source /home/barun/.venvs/geonode/bin/activate
>
>
> 2.(geonode)barun at barun-H81M-S2PV:/$  sudo  pip install -e geonode
>
>
> 3 (geonode)barun at barun-H81M-S2PV:/$ cd geonode
>
>
> 4.(geonode)barun at barun-H81M-S2PV:/geonode$  sudo paver setup
> _____________________________________________________________________________________________
> (Message at the bottom):
> GeoNode development environment successfully set up.If you have not set up
> an administrative account, please do so now. Use "paver start" to start up
> the server.
>
> But at this stage i get an error:
>
>
> 5. (geonode)barun at barun-H81M-S2PV:/geonode$ paver start
>
> ---> pavement.start
> ---> pavement.start_geoserver
> cd /geonode/geoserver/data
> java -version
> java version "1.7.0_79"
> OpenJDK Runtime Environment (IcedTea 2.5.5) (7u79-2.5.5-0ubuntu0.14.04.2)
> OpenJDK Server VM (build 24.79-b02, mixed mode)
> java -Xmx512m -XX:MaxPermSize=256m
> -DGEOSERVER_DATA_DIR=/geonode/geoserver/data
> -Dorg.eclipse.jetty.server.webapp.parentLoaderPriority=true -jar
> /geonode/downloaded/jetty-runner-8.1.8.v20121106.jar --log
> /geonode/geoserver/jetty.log /geonode/scripts/misc/jetty-runner.xml >
> /dev/null &
> cd /geonode
> Starting GeoServer on http://localhost:8080/geoserver/
> 2015-06-26 12:52:08.998:INFO:omjr.Runner:Runner
> 2015-06-26 12:52:08.999:WARN:omjr.Runner:No tx manager found
> 2015-06-26 12:52:09.081:INFO:oejs.Server:jetty-8.y.z-SNAPSHOT
> Null identity service, trying login service: null
> Finding identity service: null
> 2015-06-26 12:52:09.408:INFO:oejsh.ContextHandler:started
> o.e.j.w.WebAppContext{/geoserver,file:/geonode/geoserver/geoserver/},../geoserver
> 2015-06-26 12:52:09.410:INFO:oejsh.ContextHandler:started
> o.e.j.w.WebAppContext{/geoserver,file:/geonode/geoserver/geoserver/},../geoserver
> 2015-06-26 12:52:09.853:INFO:oejsh.ContextHandler:started
> o.e.j.w.WebAppContext{/geoserver,file:/geonode/geoserver/geoserver/},../geoserver
> log4j:WARN File option not set for appender [geoserverlogfile].
> log4j:WARN Are you using FileAppender instead of ConsoleAppender?
> log4j:ERROR setFile(null,true) call failed.
> java.io.FileNotFoundException:
> /geonode/geoserver/geoserver/data/logs/geoserver.log (Permission denied)
>         at java.io.FileOutputStream.open(Native Method)
>         at java.io.FileOutputStream.<init>(FileOutputStream.java:221)
>         at java.io.FileOutputStream.<init>(FileOutputStream.java:142)
>         at org.apache.log4j.FileAppender.setFile(FileAppender.java:289)
>         at
> org.apache.log4j.RollingFileAppender.setFile(RollingFileAppender.java:167)
>         at
> org.apache.log4j.FileAppender.activateOptions(FileAppender.java:163)
>         at
> org.apache.log4j.config.PropertySetter.activate(PropertySetter.java:256)
>         at
> org.apache.log4j.config.PropertySetter.setProperties(PropertySetter.java:13
> at
> org.apache.log4j.config.PropertySetter.setProperties(PropertySetter.java:96)
>         at
> org.apache.log4j.PropertyConfigurator.parseAppender(PropertyConfigurator.java:654)
>         at
> org.apache.log4j.PropertyConfigurator.parseCategory(PropertyConfigurator.java:612)
>         at
> org.apache.log4j.PropertyConfigurator.configureRootCategory(PropertyConfigurator.java:509)
>         at
> org.apache.log4j.PropertyConfigurator.doConfigure(PropertyConfigurator.java:415)
>         at
> org.apache.log4j.PropertyConfigurator.configure(PropertyConfigurator.java:349)
>         at
> org.geoserver.logging.LoggingUtils.configureGeoServerLogging(LoggingUtils.java:86)
>         at
> org.geoserver.logging.LoggingUtils.initLogging(LoggingUtils.java:181)
>         at
> org.geoserver.logging.LoggingStartupContextListener.contextInitialized(LoggingStartupContextListener.java:73)
>         at
> org.eclipse.jetty.server.handler.ContextHandler.callContextInitialized(ContextHandler.java:771)
>         at
> org.eclipse.jetty.servlet.ServletContextHandler.callContextInitialized(ServletContextHandler.java:424)
>         at
> org.eclipse.jetty.server.handler.ContextHandler.startContext(ContextHandler.java:763)
>         at
> org.eclipse.jetty.servlet.ServletContextHandler.startContext(ServletContextHandler.java:249)
>         at
> org.eclipse.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1250)
>         at
> org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:706)
>         at
> org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:492)
>         at
> org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
>         at
> org.eclipse.jetty.server.handler.HandlerCollection.doStart(HandlerCollection.java:229)
>         at
> org.eclipse.jetty.server.handler.ContextHandlerCollection.doStart(ContextHandlerCollection.java:172)
>
>
>
>
>
> ______________________________________________________________________________________________
> (edited)
>
> To unsubscribe from this group and stop receiving emails from it, send an
> email to geonode-dev+unsubscribe at opengeo.org.


More information about the geonode-devel mailing list