Hi All,
I have problems starting a new installation of Geoserver-2.0.1-bin
under Linux. It does not allow anything to be accessed through the
Web: browser writes network timeout. I have changed Jetty HTTP port,
and altered the geoserver data dir location, which contains the
pre-installed contents intact. GEOSERVER_HOME is not set, but I start
it like this:
geoserver@anonymised.com:/usr/local/geoserver-2.0.1$ bin/startup.sh &
GEOSERVER_HOME environment variable not found, using current
directory. If not set then running this script from other
directories will not work in the future.
[1] 26222
GEOSERVER DATA DIR is /var/lib/geoserver-2.0.1
geoserver@anonymised.com:/usr/local/geoserver-2.0.1$ 1 [main] INFO
org.mortbay.log - Logging to org.slf4j.impl.SimpleLogger@anonymised.com via
org.mortbay.log.Slf4jLog
873 [main] WARN org.mortbay.log - Deprecated configuration used for
/usr/local/geoserver-2.0.1/webapps
979 [main] INFO org.mortbay.log - jetty-6.1.8
Mar 8, 2010 5:09:30 PM
it.geosolutions.imageio.gdalframework.GDALUtilities loadGDAL
WARNING: Native library load failed.java.lang.UnsatisfiedLinkError: no
gdaljni in java.library.path
log4j:WARN File option not set for appender [geoserverlogfile].
log4j:WARN Are you using FileAppender instead of ConsoleAppender?
8799 [main] INFO /geoserver - Initializing Spring root WebApplicationContext
08 Mar 17:09:35 ERROR [geoserver.global] -
----------------------------------
- GEOSERVER_DATA_DIR: /var/lib/geoserver-2.0.1
----------------------------------
08 Mar 17:09:35 INFO [org.geoserver] - Loaded style 'grass'
08 Mar 17:09:35 INFO [org.geoserver] - Loaded style 'giant_polygon'
08 Mar 17:09:35 INFO [org.geoserver] - Loaded style 'polygon'
....
08 Mar 17:09:50 INFO [layer.TileLayerDispatcher] - Adding: tiger-ny
08 Mar 17:09:50 INFO [layer.TileLayerDispatcher] - Adding: tasmania
08 Mar 17:09:50 INFO [layer.TileLayerDispatcher] - Adding: spearfish
08 Mar 17:09:50 ERROR [config.XMLConfiguration] - Configuration file
cannot be read or does not exist!
08 Mar 17:09:50 INFO [config.XMLConfiguration] - Found configuration
file in /usr/local/geoserver-2.0.1/webapps/geoserver/../resources
08 Mar 17:09:50 INFO [layer.TileLayerDispatcher] - Adding layers from
/usr/local/geoserver-2.0.1/webapps/geoserver/../resources
08 Mar 17:09:50 ERROR [layer.TileLayerDispatcher] - Configuration
/usr/local/geoserver-2.0.1/webapps/geoserver/../resources contained no
layers.
08 Mar 17:09:50 INFO [config.XMLConfiguration] - Found configuration
file in /usr/local/geoserver-2.0.1/webapps/geoserver/../resources
08 Mar 17:09:50 ERROR [layer.TileLayerDispatcher] - Error reading
service information from
/usr/local/geoserver-2.0.1/webapps/geoserver/../resources: Error
parsing file /usr/local/geoserver-2.0.1/webapps/geoserver/../resources/geowebcache.xml
08 Mar 17:09:50 INFO [layer.TileLayerDispatcher] - ConfigurationLoader completed
I don't understand these last errors.
What can be the problem?
thank you in advance, best regards: Balázs Bámer
Those are not really errors, they just mean you don't have a geowebcache.xml file, but it's optional anyway. In 2.0.2 they will be less alarming.
Use
sudo netstat -nptl
to check what port Jetty is actually listening on.
-Arne
Balázs Bámer wrote:
Hi All,
I have problems starting a new installation of Geoserver-2.0.1-bin
under Linux. It does not allow anything to be accessed through the
Web: browser writes network timeout. I have changed Jetty HTTP port,
and altered the geoserver data dir location, which contains the
pre-installed contents intact. GEOSERVER_HOME is not set, but I start
it like this:
geoserver@anonymised.com:/usr/local/geoserver-2.0.1$ bin/startup.sh &
GEOSERVER_HOME environment variable not found, using current
directory. If not set then running this script from other
directories will not work in the future.
[1] 26222
GEOSERVER DATA DIR is /var/lib/geoserver-2.0.1
geoserver@anonymised.com:/usr/local/geoserver-2.0.1$ 1 [main] INFO
org.mortbay.log - Logging to org.slf4j.impl.SimpleLogger@anonymised.com via
org.mortbay.log.Slf4jLog
873 [main] WARN org.mortbay.log - Deprecated configuration used for
/usr/local/geoserver-2.0.1/webapps
979 [main] INFO org.mortbay.log - jetty-6.1.8
Mar 8, 2010 5:09:30 PM
it.geosolutions.imageio.gdalframework.GDALUtilities loadGDAL
WARNING: Native library load failed.java.lang.UnsatisfiedLinkError: no
gdaljni in java.library.path
log4j:WARN File option not set for appender [geoserverlogfile].
log4j:WARN Are you using FileAppender instead of ConsoleAppender?
8799 [main] INFO /geoserver - Initializing Spring root WebApplicationContext
08 Mar 17:09:35 ERROR [geoserver.global] -
----------------------------------
- GEOSERVER_DATA_DIR: /var/lib/geoserver-2.0.1
----------------------------------
08 Mar 17:09:35 INFO [org.geoserver] - Loaded style 'grass'
08 Mar 17:09:35 INFO [org.geoserver] - Loaded style 'giant_polygon'
08 Mar 17:09:35 INFO [org.geoserver] - Loaded style 'polygon'
....
08 Mar 17:09:50 INFO [layer.TileLayerDispatcher] - Adding: tiger-ny
08 Mar 17:09:50 INFO [layer.TileLayerDispatcher] - Adding: tasmania
08 Mar 17:09:50 INFO [layer.TileLayerDispatcher] - Adding: spearfish
08 Mar 17:09:50 ERROR [config.XMLConfiguration] - Configuration file
cannot be read or does not exist!
08 Mar 17:09:50 INFO [config.XMLConfiguration] - Found configuration
file in /usr/local/geoserver-2.0.1/webapps/geoserver/../resources
08 Mar 17:09:50 INFO [layer.TileLayerDispatcher] - Adding layers from
/usr/local/geoserver-2.0.1/webapps/geoserver/../resources
08 Mar 17:09:50 ERROR [layer.TileLayerDispatcher] - Configuration
/usr/local/geoserver-2.0.1/webapps/geoserver/../resources contained no
layers.
08 Mar 17:09:50 INFO [config.XMLConfiguration] - Found configuration
file in /usr/local/geoserver-2.0.1/webapps/geoserver/../resources
08 Mar 17:09:50 ERROR [layer.TileLayerDispatcher] - Error reading
service information from
/usr/local/geoserver-2.0.1/webapps/geoserver/../resources: Error
parsing file /usr/local/geoserver-2.0.1/webapps/geoserver/../resources/geowebcache.xml
08 Mar 17:09:50 INFO [layer.TileLayerDispatcher] - ConfigurationLoader completed
I don't understand these last errors.
What can be the problem?
thank you in advance, best regards: Balázs Bámer