Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

 

Code Block
./configure --with-zlib=/data/goes16/GeoServer/NetCDF-libs --prefix=/data/goes16/GeoServer/NetCDF-libs --enable-threadsafe --with-pthread=/usr
      • g++ not found
      • SNAT installed g++ and the configure command succeeded
    • configure failed for netcdf-c-4.3.3.1
Code Block
configure: error: Can't find or link to the z library. Turn off netCDF-4 and      opendap with --disable-netcdf-4 --disable-dap, or see config.log for errors.
      • Need to have z library installed – This should have been found since it was installed into /data/goes16/GeoServer/NetCDF-libs
      • I had SNAT install z lib, however it failed because it couldn't find hdf5. I need to figure out why it isn't finding these libraries.
      • I reran the command by calling configure with the environment variables being set in the call instead of setting them in the terminal environment and it worked.
Code Block
CPPFLAGS=-I/data/goes16/GeoServer/NetCDF-libs/include LDFLAGS=-L/data/goes16/GeoServer/NetCDF-libs/lib ./configure --prefix=/data/goes16/GeoServer/NetCDF-libs
      • I did not run export when setting LDFLAGS originally and when I tried to set it with export, I had a typo so it wasn't set properly. User error.
    • Need Java installed to be able to start GeoServer – Java is in /usr/bin. Unsetting the JAVA_HOME variable solves this issue
    • I tried to start the server again but it failed with the following:
Code Block
bash-4.1$ ./startup.sh 
GEOSERVER DATA DIR is /data/goes16/GeoServer/Data
WARNING: Module not found [ssl]
2017-03-31 18:37:11.733:INFO::main: Logging initialized @179ms
2017-03-31 18:37:11.876:INFO:oejs.Server:main: jetty-9.2.13.v20150730
2017-03-31 18:37:11.890:INFO:oejdp.ScanningAppProvider:main: Deployment monitor [file:/data/goes16/GeoServer/geoserver-2.11.0/webapps/] at interval 1
2017-03-31 18:37:12.700:INFO:oejw.StandardDescriptorProcessor:main: NO JSP Support for /geoserver, did not find org.eclipse.jetty.jsp.JettyJspServlet
2017-03-31 18:37:12.705:WARN:oejw.WebAppContext:main: Failed startup of context o.e.j.w.WebAppContext@567a4593{/geoserver,file:/data/goes16/GeoServer/geoserver-2.11.0/webapps/geoserver/,STARTING}{/geoserver}
java.lang.reflect.InvocationTargetException
      • It appears that ssl and/or jetty is needed.

HERE MARKS WHERE AARON STARTED WORK


  • The Exception above was due to an incomplete GeoServer data directory.  This was resolved by copying $GEOSERVER_HOME/data_dir/* to $GEOSERVER_DATA_DIR/.  The previous contents were moved into $GEOSERVER_DATA_DIR/

    data-dir-20170403/.  More work will follow regarding configuring this default data dir to use our data, for now it is just running with default settings to ensure it is running as expected

  • Another Exception was thrown (WARN [serverStartup] - Nc4Iosp: NetCDF-4 C library not present (jna_path='/usr/local/lib/', libname='netcdf')... which related to not being able to find the netCDF API lib in LD_LIBRARY_PATH.  The LD_LIBRARY_PATH was updated to point to /data/goes16/GeoServer/NetCDF-libs/lib/.
  • GeoServer started up correctly but http://satops3.rap.ucar.edu:8080/geoserver/web/ is not reachable from external hosts.  Using the 'wget' command from satops3 it is clear that GeoServer is running and receiving requests, but contacting the host from other (external) hosts was not working.  Stephen said that the firewall rules need to be updated.  As a workaround ssh -L can be used to access and configure the GeoServer web UI