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.