Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

install error #29

Open
aquilaimaging opened this issue Dec 13, 2016 · 2 comments
Open

install error #29

aquilaimaging opened this issue Dec 13, 2016 · 2 comments

Comments

@aquilaimaging
Copy link

aquilaimaging commented Dec 13, 2016

hello,
When installing geoshape I am getting an error at:

==> default: Error: Package: gdal-2.1.2-1.el6.x86_64 (geoshape)
==> default: Requires: libnetcdf.so.6()(64bit)
==> default: Error: Package: gdal-2.1.2-1.el6.x86_64 (geoshape)
==> default: Requires: netcdf
==> default: Error: Package: gdal-2.1.2-1.el6.x86_64 (geoshape)
==> default: Requires: libhdf5.so.6()(64bit)
==> default: Error: Package: gdal-2.1.2-1.el6.x86_64 (geoshape)
==> default: Requires: hdf5
==> default: Error: Package: gdal-2.1.2-1.el6.x86_64 (geoshape)
==> default: Requires: postgresql96-libs
==> default: You could try using --skip-broken to work around the problem
==> default: You could try running: rpm -Va --nofiles --nodigest
The SSH command responded with a non-zero exit status. Vagrant
assumes that this means the command failed. The output for this command
should be in the log above. Please read the output to determine what
went wrong.

The same problem occurred when I attempted to install using vagrant method as well as on the existing machine method.

For vagrant method I am on Ubuntu 14.04 with virtual box 5.1.10 and vagrant 1.9.1.

For existing machine method I used a new install of centos 7 running on virtual box 5.1.10.

side note:

I also tried to install on a osgeo live 9.5 vm which is lubuntu/ubuntu 14.04.

when installing on this lubuntu machine I attempted to follow the older install method.

I ran into an an error with a gem needing a newer version of ruby than what was being called out by the "install-geoshape.sh" script, which was using calling for ruby 2.0.0 to be used. I can't remember the gem but I remember it was asking for >= 2.1x , so I installed 2.3.3 and changed the script to call out for the newer version. this solved the ruby gem issue, but then I ran into a problem with the chef cookbook ver. it was requesting 12.0v minimum and my machine was running 11.0v. I gave up there :)

I have played around with the geonode / geoserver combo on osgeo live. Its really a powerful solution. I was so stoked when I found geoSHAPE, with the Arbiter app, maploom, geogig :0 this is really an amazing solution. I hope to have it up and running soon! :)

Thank you in advance for any assistance on this.

Justin

Here's the full verbose readout from the install attempt:

aquila@sys-4:~/Desktop/geoshape-vagrant$ vagrant up Bringing machine 'default' up with 'virtualbox' provider... ==> default: Importing base box 'bento/centos-6.7'... ==> default: Matching MAC address for NAT networking... ==> default: Checking if box 'bento/centos-6.7' is up to date... ==> default: Setting the name of the VM: geoshape-vagrant_default_1481583352043_13243 ==> default: Clearing any previously set network interfaces... ==> default: Preparing network interfaces based on configuration... default: Adapter 1: nat default: Adapter 2: hostonly ==> default: Forwarding ports... default: 22 (guest) => 2222 (host) (adapter 1) ==> default: Running 'pre-boot' VM customizations... ==> default: Booting VM... ==> default: Waiting for machine to boot. This may take a few minutes... default: SSH address: 127.0.0.1:2222 default: SSH username: vagrant default: SSH auth method: private key default: Warning: Remote connection disconnect. Retrying... default: default: Vagrant insecure key detected. Vagrant will automatically replace default: this with a newly generated keypair for better security. default: default: Inserting generated public key within guest... default: Removing insecure key from the guest if it's present... default: Key inserted! Disconnecting and reconnecting using new SSH key... ==> default: Machine booted and ready! ==> default: Checking for guest additions in VM... default: The guest additions on this VM do not match the installed version of default: VirtualBox! In most cases this is fine, but in rare cases it can default: prevent things such as shared folders from working properly. If you see default: shared folder errors, please make sure the guest additions within the default: virtual machine match the version of VirtualBox you have installed on default: your host and reload your VM. default: default: Guest Additions Version: 5.0.20 default: VirtualBox Version: 5.1 ==> default: Configuring and enabling network interfaces... ==> default: Mounting shared folders... default: /vagrant => /home/aquila/Desktop/geoshape-vagrant ==> default: Running provisioner: shell... default: Running: /tmp/vagrant-shell20161212-12146-1ncpkl6.sh ==> default: --2016-12-12 22:56:38-- https://yum.boundlessps.com/geoshape.repo ==> default: Resolving yum.boundlessps.com... ==> default: 54.230.86.204 ==> default: , ==> default: 54.230.86.145 ==> default: , ==> default: 54.230.86.168 ==> default: , ... ==> default: Connecting to yum.boundlessps.com|54.230.86.204|:443... ==> default: connected. ==> default: HTTP request sent, awaiting response... ==> default: 200 OK ==> default: Length: ==> default: 782 ==> default: [application/octet-stream] ==> default: Saving to: “geoshape.repo” ==> default: ==> default: 0K ==> default: ==> default: ==> default: ==> default: ==> default: ==> default: ==> default: ==> default: ==> default: ==> default: ==> default: ==> default: ==> default: ==> default: ==> default: ==> default: ==> default: ==> default: ==> default: ==> default: ==> default: ==> default: ==> default: ==> default: ==> default: ==> default: ==> default: ==> default: ==> default: ==> default: ==> default: ==> default: ==> default: 100% 190M=0s ==> default: ==> default: 2016-12-12 22:56:39 (190 MB/s) - “geoshape.repo” saved [782/782] ==> default: Loaded plugins: fastestmirror ==> default: Setting up Install Process ==> default: Determining fastest mirrors ==> default: * base: mirrors.evowise.com ==> default: * extras: centos.sonn.com ==> default: * updates: mirrors.cat.pdx.edu ==> default: Resolving Dependencies ==> default: --> Running transaction check ==> default: ---> Package elasticsearch.noarch 0:1.7.6-1 will be installed ==> default: ---> Package geoshape.x86_64 0:1.7.11-9.el6 will be installed ==> default: --> Processing Dependency: gdal >= 2.0.1 for package: geoshape-1.7.11-9.el6.x86_64 ==> default: --> Processing Dependency: erlang >= 18.1 for package: geoshape-1.7.11-9.el6.x86_64 ==> default: --> Processing Dependency: python27-virtualenv for package: geoshape-1.7.11-9.el6.x86_64 ==> default: --> Processing Dependency: python27 for package: geoshape-1.7.11-9.el6.x86_64 ==> default: --> Processing Dependency: proj for package: geoshape-1.7.11-9.el6.x86_64 ==> default: --> Processing Dependency: mod_xsendfile for package: geoshape-1.7.11-9.el6.x86_64 ==> default: --> Processing Dependency: mod_ssl for package: geoshape-1.7.11-9.el6.x86_64 ==> default: --> Processing Dependency: libxslt for package: geoshape-1.7.11-9.el6.x86_64 ==> default: --> Processing Dependency: libtiff for package: geoshape-1.7.11-9.el6.x86_64 ==> default: --> Processing Dependency: libjpeg-turbo for package: geoshape-1.7.11-9.el6.x86_64 ==> default: --> Processing Dependency: lcms2 for package: geoshape-1.7.11-9.el6.x86_64 ==> default: --> Processing Dependency: httpd for package: geoshape-1.7.11-9.el6.x86_64 ==> default: --> Processing Dependency: geos for package: geoshape-1.7.11-9.el6.x86_64 ==> default: --> Processing Dependency: freetype for package: geoshape-1.7.11-9.el6.x86_64 ==> default: ---> Package geoshape-geoserver.noarch 0:2.8-4 will be installed ==> default: --> Processing Dependency: tomcat8 for package: geoshape-geoserver-2.8-4.noarch ==> default: ---> Package postgis-postgresql95.x86_64 0:2.2.2-2.el6 will be installed ==> default: --> Processing Dependency: postgis = 2.2.2 for package: postgis-postgresql95-2.2.2-2.el6.x86_64 ==> default: --> Processing Dependency: json-c >= 0.11 for package: postgis-postgresql95-2.2.2-2.el6.x86_64 ==> default: --> Processing Dependency: postgresql95-server for package: postgis-postgresql95-2.2.2-2.el6.x86_64 ==> default: --> Processing Dependency: libjson-c.so.2()(64bit) for package: postgis-postgresql95-2.2.2-2.el6.x86_64 ==> default: ---> Package rabbitmq-server.noarch 0:3.6.1-1 will be installed ==> default: --> Running transaction check ==> default: ---> Package erlang.x86_64 0:18.2.1-1.el6 will be installed ==> default: ---> Package freetype.x86_64 0:2.3.11-17.el6 will be installed ==> default: ---> Package gdal.x86_64 0:2.1.2-1.el6 will be installed ==> default: --> Processing Dependency: xerces-c for package: gdal-2.1.2-1.el6.x86_64 ==> default: --> Processing Dependency: swig for package: gdal-2.1.2-1.el6.x86_64 ==> default: --> Processing Dependency: proj-devel for package: gdal-2.1.2-1.el6.x86_64 ==> default: --> Processing Dependency: postgresql96-libs for package: gdal-2.1.2-1.el6.x86_64 ==> default: --> Processing Dependency: poppler for package: gdal-2.1.2-1.el6.x86_64 ==> default: --> Processing Dependency: openjpeg2 for package: gdal-2.1.2-1.el6.x86_64 ==> default: --> Processing Dependency: netcdf for package: gdal-2.1.2-1.el6.x86_64 ==> default: --> Processing Dependency: libpng12.so.0(PNG12_0)(64bit) for package: gdal-2.1.2-1.el6.x86_64 ==> default: --> Processing Dependency: libkml for package: gdal-2.1.2-1.el6.x86_64 ==> default: --> Processing Dependency: hdf5 for package: gdal-2.1.2-1.el6.x86_64 ==> default: --> Processing Dependency: libxerces-c-3.0.so()(64bit) for package: gdal-2.1.2-1.el6.x86_64 ==> default: --> Processing Dependency: liburiparser.so.1()(64bit) for package: gdal-2.1.2-1.el6.x86_64 ==> default: --> Processing Dependency: libtbb.so.2()(64bit) for package: gdal-2.1.2-1.el6.x86_64 ==> default: --> Processing Dependency: libpq.so.5()(64bit) for package: gdal-2.1.2-1.el6.x86_64 ==> default: --> Processing Dependency: libpoppler.so.5()(64bit) for package: gdal-2.1.2-1.el6.x86_64 ==> default: --> Processing Dependency: libpng12.so.0()(64bit) for package: gdal-2.1.2-1.el6.x86_64 ==> default: --> Processing Dependency: libopenjp2.so.7()(64bit) for package: gdal-2.1.2-1.el6.x86_64 ==> default: --> Processing Dependency: libnetcdf.so.6()(64bit) for package: gdal-2.1.2-1.el6.x86_64 ==> default: --> Processing Dependency: libminizip.so.0()(64bit) for package: gdal-2.1.2-1.el6.x86_64 ==> default: --> Processing Dependency: libkmlengine.so.0()(64bit) for package: gdal-2.1.2-1.el6.x86_64 ==> default: --> Processing Dependency: libkmldom.so.0()(64bit) for package: gdal-2.1.2-1.el6.x86_64 ==> default: --> Processing Dependency: libkmlconvenience.so.0()(64bit) for package: gdal-2.1.2-1.el6.x86_64 ==> default: --> Processing Dependency: libkmlbase.so.0()(64bit) for package: gdal-2.1.2-1.el6.x86_64 ==> default: --> Processing Dependency: libhdf5.so.6()(64bit) for package: gdal-2.1.2-1.el6.x86_64 ==> default: ---> Package geos.x86_64 0:3.5.0-1.rhel6 will be installed ==> default: ---> Package httpd.x86_64 0:2.2.15-55.el6.centos.2 will be installed ==> default: --> Processing Dependency: httpd-tools = 2.2.15-55.el6.centos.2 for package: httpd-2.2.15-55.el6.centos.2.x86_64 ==> default: --> Processing Dependency: apr-util-ldap for package: httpd-2.2.15-55.el6.centos.2.x86_64 ==> default: --> Processing Dependency: /etc/mime.types for package: httpd-2.2.15-55.el6.centos.2.x86_64 ==> default: --> Processing Dependency: libaprutil-1.so.0()(64bit) for package: httpd-2.2.15-55.el6.centos.2.x86_64 ==> default: --> Processing Dependency: libapr-1.so.0()(64bit) for package: httpd-2.2.15-55.el6.centos.2.x86_64 ==> default: ---> Package json-c.x86_64 0:0.11-12.el6 will be installed ==> default: ---> Package lcms2.x86_64 0:2.7-1.el6 will be installed ==> default: ---> Package libjpeg-turbo.x86_64 0:1.2.1-3.el6_5 will be installed ==> default: ---> Package libtiff.x86_64 0:3.9.4-18.el6_8 will be installed ==> default: ---> Package libxslt.x86_64 0:1.1.26-2.el6_3.1 will be installed ==> default: ---> Package mod_ssl.x86_64 1:2.2.15-55.el6.centos.2 will be installed ==> default: ---> Package mod_xsendfile.x86_64 0:0.12-3.el6 will be installed ==> default: ---> Package postgis.x86_64 0:2.2.2-2.el6 will be installed ==> default: --> Processing Dependency: postgresql95-libs for package: postgis-2.2.2-2.el6.x86_64 ==> default: --> Processing Dependency: perl for package: postgis-2.2.2-2.el6.x86_64 ==> default: --> Processing Dependency: gettext for package: postgis-2.2.2-2.el6.x86_64 ==> default: ---> Package postgresql95-server.x86_64 0:9.5.5-1PGDG.rhel6 will be installed ==> default: --> Processing Dependency: postgresql95(x86-64) = 9.5.5-1PGDG.rhel6 for package: postgresql95-server-9.5.5-1PGDG.rhel6.x86_64 ==> default: --> Processing Dependency: postgresql95 = 9.5.5-1PGDG.rhel6 for package: postgresql95-server-9.5.5-1PGDG.rhel6.x86_64 ==> default: ---> Package proj.x86_64 0:4.8.0-2.rhel6 will be installed ==> default: ---> Package python27.x86_64 0:2.7.11-1.el6 will be installed ==> default: ---> Package python27-virtualenv.noarch 0:15.0.1-1.el6 will be installed ==> default: --> Processing Dependency: python27-setuptools for package: python27-virtualenv-15.0.1-1.el6.noarch ==> default: ---> Package tomcat8.x86_64 0:8.5.4-1 will be installed ==> default: --> Processing Dependency: java for package: tomcat8-8.5.4-1.x86_64 ==> default: --> Running transaction check ==> default: ---> Package apr.x86_64 0:1.3.9-5.el6_2 will be installed ==> default: ---> Package apr-util.x86_64 0:1.3.9-3.el6_0.1 will be installed ==> default: ---> Package apr-util-ldap.x86_64 0:1.3.9-3.el6_0.1 will be installed ==> default: ---> Package gdal.x86_64 0:2.1.2-1.el6 will be installed ==> default: --> Processing Dependency: postgresql96-libs for package: gdal-2.1.2-1.el6.x86_64 ==> default: --> Processing Dependency: netcdf for package: gdal-2.1.2-1.el6.x86_64 ==> default: --> Processing Dependency: hdf5 for package: gdal-2.1.2-1.el6.x86_64 ==> default: --> Processing Dependency: libnetcdf.so.6()(64bit) for package: gdal-2.1.2-1.el6.x86_64 ==> default: --> Processing Dependency: libhdf5.so.6()(64bit) for package: gdal-2.1.2-1.el6.x86_64 ==> default: ---> Package gettext.x86_64 0:0.17-18.el6 will be installed ==> default: --> Processing Dependency: cvs for package: gettext-0.17-18.el6.x86_64 ==> default: ---> Package httpd-tools.x86_64 0:2.2.15-55.el6.centos.2 will be installed ==> default: ---> Package java-1.8.0-openjdk.x86_64 1:1.8.0.111-0.b15.el6_8 will be installed ==> default: --> Processing Dependency: java-1.8.0-openjdk-headless = 1:1.8.0.111-0.b15.el6_8 for package: 1:java-1.8.0-openjdk-1.8.0.111-0.b15.el6_8.x86_64 ==> default: --> Processing Dependency: xorg-x11-fonts-Type1 for package: 1:java-1.8.0-openjdk-1.8.0.111-0.b15.el6_8.x86_64 ==> default: --> Processing Dependency: libjvm.so(SUNWprivate_1.1)(64bit) for package: 1:java-1.8.0-openjdk-1.8.0.111-0.b15.el6_8.x86_64 ==> default: --> Processing Dependency: libjli.so(SUNWprivate_1.1)(64bit) for package: 1:java-1.8.0-openjdk-1.8.0.111-0.b15.el6_8.x86_64 ==> default: --> Processing Dependency: libjava.so(SUNWprivate_1.1)(64bit) for package: 1:java-1.8.0-openjdk-1.8.0.111-0.b15.el6_8.x86_64 ==> default: --> Processing Dependency: libasound.so.2(ALSA_0.9.0rc4)(64bit) for package: 1:java-1.8.0-openjdk-1.8.0.111-0.b15.el6_8.x86_64 ==> default: --> Processing Dependency: libasound.so.2(ALSA_0.9)(64bit) for package: 1:java-1.8.0-openjdk-1.8.0.111-0.b15.el6_8.x86_64 ==> default: --> Processing Dependency: fontconfig for package: 1:java-1.8.0-openjdk-1.8.0.111-0.b15.el6_8.x86_64 ==> default: --> Processing Dependency: libjvm.so()(64bit) for package: 1:java-1.8.0-openjdk-1.8.0.111-0.b15.el6_8.x86_64 ==> default: --> Processing Dependency: libjli.so()(64bit) for package: 1:java-1.8.0-openjdk-1.8.0.111-0.b15.el6_8.x86_64 ==> default: --> Processing Dependency: libjava.so()(64bit) for package: 1:java-1.8.0-openjdk-1.8.0.111-0.b15.el6_8.x86_64 ==> default: --> Processing Dependency: libgif.so.4()(64bit) for package: 1:java-1.8.0-openjdk-1.8.0.111-0.b15.el6_8.x86_64 ==> default: --> Processing Dependency: libawt.so()(64bit) for package: 1:java-1.8.0-openjdk-1.8.0.111-0.b15.el6_8.x86_64 ==> default: --> Processing Dependency: libasound.so.2()(64bit) for package: 1:java-1.8.0-openjdk-1.8.0.111-0.b15.el6_8.x86_64 ==> default: --> Processing Dependency: libXtst.so.6()(64bit) for package: 1:java-1.8.0-openjdk-1.8.0.111-0.b15.el6_8.x86_64 ==> default: --> Processing Dependency: libXrender.so.1()(64bit) for package: 1:java-1.8.0-openjdk-1.8.0.111-0.b15.el6_8.x86_64 ==> default: --> Processing Dependency: libXi.so.6()(64bit) for package: 1:java-1.8.0-openjdk-1.8.0.111-0.b15.el6_8.x86_64 ==> default: --> Processing Dependency: libXext.so.6()(64bit) for package: 1:java-1.8.0-openjdk-1.8.0.111-0.b15.el6_8.x86_64 ==> default: --> Processing Dependency: libX11.so.6()(64bit) for package: 1:java-1.8.0-openjdk-1.8.0.111-0.b15.el6_8.x86_64 ==> default: ---> Package libkml.x86_64 0:1.2.0-1.el6 will be installed ==> default: --> Processing Dependency: minizip for package: libkml-1.2.0-1.el6.x86_64 ==> default: ---> Package libpng.x86_64 2:1.2.49-2.el6_7 will be installed ==> default: ---> Package mailcap.noarch 0:2.1.31-2.el6 will be installed ==> default: ---> Package openjpeg2.x86_64 0:2.1.0-2.el6 will be installed ==> default: ---> Package perl.x86_64 4:5.10.1-141.el6_7.1 will be installed ==> default: --> Processing Dependency: perl-libs = 4:5.10.1-141.el6_7.1 for package: 4:perl-5.10.1-141.el6_7.1.x86_64 ==> default: --> Processing Dependency: perl-libs for package: 4:perl-5.10.1-141.el6_7.1.x86_64 ==> default: --> Processing Dependency: perl(version) for package: 4:perl-5.10.1-141.el6_7.1.x86_64 ==> default: --> Processing Dependency: perl(Pod::Simple) for package: 4:perl-5.10.1-141.el6_7.1.x86_64 ==> default: --> Processing Dependency: perl(Module::Pluggable) for package: 4:perl-5.10.1-141.el6_7.1.x86_64 ==> default: --> Processing Dependency: libperl.so()(64bit) for package: 4:perl-5.10.1-141.el6_7.1.x86_64 ==> default: ---> Package poppler.x86_64 0:0.12.4-10.el6 will be installed ==> default: --> Processing Dependency: poppler-data >= 0.4.0 for package: poppler-0.12.4-10.el6.x86_64 ==> default: --> Processing Dependency: libopenjpeg.so.2()(64bit) for package: poppler-0.12.4-10.el6.x86_64 ==> default: --> Processing Dependency: liblcms.so.1()(64bit) for package: poppler-0.12.4-10.el6.x86_64 ==> default: ---> Package postgresql-libs.x86_64 0:8.4.20-6.el6 will be installed ==> default: ---> Package postgresql95.x86_64 0:9.5.5-1PGDG.rhel6 will be installed ==> default: ---> Package postgresql95-libs.x86_64 0:9.5.5-1PGDG.rhel6 will be installed ==> default: ---> Package proj-devel.x86_64 0:4.8.0-2.rhel6 will be installed ==> default: ---> Package python27-setuptools.noarch 0:20.9.0-1.el6 will be installed ==> default: ---> Package swig.x86_64 0:1.3.40-6.el6 will be installed ==> default: ---> Package tbb.x86_64 0:2.2-3.20090809.el6 will be installed ==> default: ---> Package xerces-c.x86_64 0:3.0.1-20.el6 will be installed ==> default: --> Running transaction check ==> default: ---> Package alsa-lib.x86_64 0:1.1.0-4.el6 will be installed ==> default: ---> Package cvs.x86_64 0:1.11.23-16.el6 will be installed ==> default: ---> Package fontconfig.x86_64 0:2.8.0-5.el6 will be installed ==> default: ---> Package gdal.x86_64 0:2.1.2-1.el6 will be installed ==> default: --> Processing Dependency: postgresql96-libs for package: gdal-2.1.2-1.el6.x86_64 ==> default: --> Processing Dependency: netcdf for package: gdal-2.1.2-1.el6.x86_64 ==> default: --> Processing Dependency: hdf5 for package: gdal-2.1.2-1.el6.x86_64 ==> default: --> Processing Dependency: libnetcdf.so.6()(64bit) for package: gdal-2.1.2-1.el6.x86_64 ==> default: --> Processing Dependency: libhdf5.so.6()(64bit) for package: gdal-2.1.2-1.el6.x86_64 ==> default: ---> Package giflib.x86_64 0:4.1.6-3.1.el6 will be installed ==> default: --> Processing Dependency: libSM.so.6()(64bit) for package: giflib-4.1.6-3.1.el6.x86_64 ==> default: --> Processing Dependency: libICE.so.6()(64bit) for package: giflib-4.1.6-3.1.el6.x86_64 ==> default: ---> Package java-1.8.0-openjdk-headless.x86_64 1:1.8.0.111-0.b15.el6_8 will be installed ==> default: --> Processing Dependency: tzdata-java >= 2014f-1 for package: 1:java-1.8.0-openjdk-headless-1.8.0.111-0.b15.el6_8.x86_64 ==> default: --> Processing Dependency: nss >= 3.21.0 for package: 1:java-1.8.0-openjdk-headless-1.8.0.111-0.b15.el6_8.x86_64 ==> default: --> Processing Dependency: jpackage-utils for package: 1:java-1.8.0-openjdk-headless-1.8.0.111-0.b15.el6_8.x86_64 ==> default: ---> Package lcms-libs.x86_64 0:1.19-1.el6 will be installed ==> default: ---> Package libX11.x86_64 0:1.6.3-2.el6 will be installed ==> default: --> Processing Dependency: libX11-common = 1.6.3-2.el6 for package: libX11-1.6.3-2.el6.x86_64 ==> default: --> Processing Dependency: libxcb.so.1()(64bit) for package: libX11-1.6.3-2.el6.x86_64 ==> default: ---> Package libXext.x86_64 0:1.3.3-1.el6 will be installed ==> default: ---> Package libXi.x86_64 0:1.7.4-1.el6 will be installed ==> default: ---> Package libXrender.x86_64 0:0.9.8-2.1.el6_8.1 will be installed ==> default: ---> Package libXtst.x86_64 0:1.2.2-2.1.el6 will be installed ==> default: ---> Package minizip.x86_64 0:1.2.3-29.el6 will be installed ==> default: ---> Package openjpeg-libs.x86_64 0:1.3-11.el6 will be installed ==> default: ---> Package perl-Module-Pluggable.x86_64 1:3.90-141.el6_7.1 will be installed ==> default: ---> Package perl-Pod-Simple.x86_64 1:3.13-141.el6_7.1 will be installed ==> default: --> Processing Dependency: perl(Pod::Escapes) >= 1.04 for package: 1:perl-Pod-Simple-3.13-141.el6_7.1.x86_64 ==> default: ---> Package perl-libs.x86_64 4:5.10.1-141.el6_7.1 will be installed ==> default: ---> Package perl-version.x86_64 3:0.77-141.el6_7.1 will be installed ==> default: ---> Package poppler-data.noarch 0:0.4.0-1.el6 will be installed ==> default: ---> Package xorg-x11-fonts-Type1.noarch 0:7.2-11.el6 will be installed ==> default: --> Processing Dependency: ttmkfdir for package: xorg-x11-fonts-Type1-7.2-11.el6.noarch ==> default: --> Processing Dependency: ttmkfdir for package: xorg-x11-fonts-Type1-7.2-11.el6.noarch ==> default: --> Processing Dependency: mkfontdir for package: xorg-x11-fonts-Type1-7.2-11.el6.noarch ==> default: --> Processing Dependency: mkfontdir for package: xorg-x11-fonts-Type1-7.2-11.el6.noarch ==> default: --> Running transaction check ==> default: ---> Package gdal.x86_64 0:2.1.2-1.el6 will be installed ==> default: --> Processing Dependency: postgresql96-libs for package: gdal-2.1.2-1.el6.x86_64 ==> default: --> Processing Dependency: netcdf for package: gdal-2.1.2-1.el6.x86_64 ==> default: --> Processing Dependency: hdf5 for package: gdal-2.1.2-1.el6.x86_64 ==> default: --> Processing Dependency: libnetcdf.so.6()(64bit) for package: gdal-2.1.2-1.el6.x86_64 ==> default: --> Processing Dependency: libhdf5.so.6()(64bit) for package: gdal-2.1.2-1.el6.x86_64 ==> default: ---> Package jpackage-utils.noarch 0:1.7.5-3.16.el6 will be installed ==> default: ---> Package libICE.x86_64 0:1.0.6-1.el6 will be installed ==> default: ---> Package libSM.x86_64 0:1.2.1-2.el6 will be installed ==> default: ---> Package libX11-common.noarch 0:1.6.3-2.el6 will be installed ==> default: ---> Package libxcb.x86_64 0:1.11-2.el6 will be installed ==> default: --> Processing Dependency: libXau.so.6()(64bit) for package: libxcb-1.11-2.el6.x86_64 ==> default: ---> Package nss.x86_64 0:3.18.0-5.3.el6_6 will be updated ==> default: --> Processing Dependency: nss = 3.18.0-5.3.el6_6 for package: nss-sysinit-3.18.0-5.3.el6_6.x86_64 ==> default: --> Processing Dependency: nss(x86-64) = 3.18.0-5.3.el6_6 for package: nss-tools-3.18.0-5.3.el6_6.x86_64 ==> default: ---> Package nss.x86_64 0:3.21.3-2.el6_8 will be an update ==> default: --> Processing Dependency: nss-util >= 3.21.0 for package: nss-3.21.3-2.el6_8.x86_64 ==> default: --> Processing Dependency: nspr >= 4.11.0 for package: nss-3.21.3-2.el6_8.x86_64 ==> default: --> Processing Dependency: libnssutil3.so(NSSUTIL_3.21)(64bit) for package: nss-3.21.3-2.el6_8.x86_64 ==> default: ---> Package perl-Pod-Escapes.x86_64 1:1.04-141.el6_7.1 will be installed ==> default: ---> Package ttmkfdir.x86_64 0:3.0.9-32.1.el6 will be installed ==> default: ---> Package tzdata-java.noarch 0:2016j-1.el6 will be installed ==> default: ---> Package xorg-x11-font-utils.x86_64 1:7.2-11.el6 will be installed ==> default: --> Processing Dependency: libfontenc.so.1()(64bit) for package: 1:xorg-x11-font-utils-7.2-11.el6.x86_64 ==> default: --> Processing Dependency: libXfont.so.1()(64bit) for package: 1:xorg-x11-font-utils-7.2-11.el6.x86_64 ==> default: --> Running transaction check ==> default: ---> Package gdal.x86_64 0:2.1.2-1.el6 will be installed ==> default: --> Processing Dependency: postgresql96-libs for package: gdal-2.1.2-1.el6.x86_64 ==> default: --> Processing Dependency: netcdf for package: gdal-2.1.2-1.el6.x86_64 ==> default: --> Processing Dependency: hdf5 for package: gdal-2.1.2-1.el6.x86_64 ==> default: --> Processing Dependency: libnetcdf.so.6()(64bit) for package: gdal-2.1.2-1.el6.x86_64 ==> default: --> Processing Dependency: libhdf5.so.6()(64bit) for package: gdal-2.1.2-1.el6.x86_64 ==> default: ---> Package libXau.x86_64 0:1.0.6-4.el6 will be installed ==> default: ---> Package libXfont.x86_64 0:1.5.1-2.el6 will be installed ==> default: ---> Package libfontenc.x86_64 0:1.1.2-3.el6 will be installed ==> default: ---> Package nspr.x86_64 0:4.10.8-1.el6_6 will be updated ==> default: ---> Package nspr.x86_64 0:4.11.0-1.el6 will be an update ==> default: ---> Package nss-sysinit.x86_64 0:3.18.0-5.3.el6_6 will be updated ==> default: ---> Package nss-sysinit.x86_64 0:3.21.3-2.el6_8 will be an update ==> default: ---> Package nss-tools.x86_64 0:3.18.0-5.3.el6_6 will be updated ==> default: ---> Package nss-tools.x86_64 0:3.21.3-2.el6_8 will be an update ==> default: ---> Package nss-util.x86_64 0:3.18.0-1.el6_6 will be updated ==> default: ---> Package nss-util.x86_64 0:3.21.3-1.el6_8 will be an update ==> default: --> Finished Dependency Resolution ==> default: Error: Package: gdal-2.1.2-1.el6.x86_64 (geoshape) ==> default: Requires: libnetcdf.so.6()(64bit) ==> default: Error: Package: gdal-2.1.2-1.el6.x86_64 (geoshape) ==> default: Requires: netcdf ==> default: Error: Package: gdal-2.1.2-1.el6.x86_64 (geoshape) ==> default: Requires: libhdf5.so.6()(64bit) ==> default: Error: Package: gdal-2.1.2-1.el6.x86_64 (geoshape) ==> default: Requires: hdf5 ==> default: Error: Package: gdal-2.1.2-1.el6.x86_64 (geoshape) ==> default: Requires: postgresql96-libs ==> default: You could try using --skip-broken to work around the problem ==> default: You could try running: rpm -Va --nofiles --nodigest The SSH command responded with a non-zero exit status. Vagrant assumes that this means the command failed. The output for this command should be in the log above. Please read the output to determine what went wrong. aquila@sys-4:~/Desktop/geoshape-vagrant$ vagrant -v Vagrant 1.9.1 aquila@sys-4:~/Desktop/geoshape-vagrant$

@aquilaimaging
Copy link
Author

Hello,
I made some progress on this but now find my self stuck again. please see below.

"Existing machine method" was used.

VM OS: CentOS 6.4

Host OS: Unbuntu 14.04

VirtualBox Version: 5.1.10

On a fresh install of centos 6.4 running as a vm, i did the following:

wget https://dl.fedoraproject.org/pub/epel/epel-release-latest-6.noarch.rpm

rpm -Uvh epel-release*rpm

yum install netcdf

*this cleared all the errors except the postgres error so I did:

yum install https://yum.postgresql.org/9.6/redhat/rhel-7-x86_64/pgdg-centos96-9.6-3.noarch.rpm

Then I downloaded the repo from boundless and began the install per the instructions.

The install completed without error. yew!

I then ran

geoshape-config init <my.ip.address>

I get an error here:

raise FailedRequestError("Tried to make a GET request to %s but got a %d status code: \n%s" % (rest_url, response.status, content))
geoserver.catalog.FailedRequestError: Tried to make a GET request to http://192.168.1.131/geoserver/rest/workspaces.xml but got a 503 status code:

<title>503 Service Temporarily Unavailable</title>

Service Temporarily Unavailable

The server is temporarily unable to service your request due to maintenance downtime or capacity problems. Please try again later.


Apache/2.2.15 (CentOS) Server at 192.168.1.131 Port 80

PROBLEM =

As you can see something happened with Geoserver.

In the readout from the initial install there is no sign of errors, and it states geoserver was successfully installed.

geoserver is not accessible at: <my.ip.address>/geoserver

I tried accessing geoshape through the admin drop down in geoshape and adding a layer just to be sure :)

So I am stuck here now. I tried looking around a bit in the configuration files mentioned in the instructions, but I did not fine anything that stood as being wrong.

I'm sure this is any easy one for someone out there :) please enlighten me

Thank you.

Heres the full readout form the geoshape-config init

[vtadrones@localhost ~]$ sudo geoshape-config start_all
[sudo] password for vtadrones:
Starting tomcat service
Starting tomcat8... [ OK ]
Starting rabbitmq-server service
Starting rabbitmq-server: SUCCESS
rabbitmq-server.
Starting elasticsearch service
Starting elasticsearch: [ OK ]
Starting geoshape service
Exception in thread "main" java.lang.UnsupportedClassVersionError: org/elasticsearch/bootstrap/Elasticsearch : Unsupported major.minor version 51.0
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:648)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:277)
at java.net.URLClassLoader.access$000(URLClassLoader.java:73)
at java.net.URLClassLoader$1.run(URLClassLoader.java:212)
at java.net.URLClassLoader$1.run(URLClassLoader.java:206)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:205)
at java.lang.ClassLoader.loadClass(ClassLoader.java:325)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:296)
at java.lang.ClassLoader.loadClass(ClassLoader.java:270)
at sun.launcher.LauncherHelper.checkAndLoadMain(LauncherHelper.java:406)
Starting supervisord:
geoshape:celery-worker1 STARTING
geoshape:celery-worker2 STARTING
geoshape:celery-worker3 STARTING
geoshape:celery-worker4 STARTING
geoshape:celery-worker5 STARTING
geoshape:uwsgi STARTING
Starting httpd service
Starting httpd: [ OK ]
[vtadrones@localhost ~]$ ^C
[vtadrones@localhost ~]$ sudo geoshape-config stop_all
Stopping tomcat service
Stopping tomcat8.
tomcat8 is not running. Exiting. [FAILED]
Stopping rabbitmq-server service
Stopping rabbitmq-server: rabbitmq-server.
Stopping elasticsearch service
Stopping geoshape service
Stopping supervisord: Shut down
Waiting for /var/run/supervisor.pid to be removed after child processes exit
Supervisord exited as expected in 3 seconds
Stopping httpd service
Stopping httpd: [ OK ]
[vtadrones@localhost ~]$ sudo geoshape-config init 192.168.1.131
geoshape db user already created
you may need to manually set the django setting in local_settings.py
geoshape database already created
geoshape_data database already created
Not enabling BingMaps base layer as a BING_API_KEY is not defined in local_settings.py file.

0 static files copied to '/var/lib/geonode/uwsgi/static', 920 unmodified.
Not enabling BingMaps base layer as a BING_API_KEY is not defined in local_settings.py file.
INFO geonode.people.management 2016-12-14 22:40:03,549 management 5009 139707779090176 Skipping creation of NoticeTypes for geonode.people.management.commands, since notification app was not found.
INFO geonode.base.management 2016-12-14 22:40:03,550 init 5009 139707779090176 Skipping creation of NoticeTypes for geonode.base.management.commands, since notification app was not found.
INFO geonode.layers.management 2016-12-14 22:40:03,551 init 5009 139707779090176 Skipping creation of NoticeTypes for geonode.layers.management.commands, since notification app was not found.
INFO geonode.maps.management 2016-12-14 22:40:03,552 init 5009 139707779090176 Skipping creation of NoticeTypes for geonode.maps.management.commands, since notification app was not found.
INFO geonode.documents.management 2016-12-14 22:40:03,553 init 5009 139707779090176 Skipping creation of NoticeTypes for geonode.documents.management.commands, since notification app was not found.
INFO geonode.geoserver.management 2016-12-14 22:40:03,555 init 5009 139707779090176 Skipping creation of NoticeTypes for geonode.layers.management.commands, since notification app was not found.
Creating tables ...
Installing custom SQL ...
Installing indexes ...
Installed 299 object(s) from 1 fixture(s)
iptables: Saving firewall rules to /etc/sysconfig/iptables:[ OK ]
Starting tomcat service
Starting tomcat8... [ OK ]
Starting rabbitmq-server service
Starting rabbitmq-server: SUCCESS
rabbitmq-server.
Starting elasticsearch service
Starting elasticsearch: [ OK ]
Starting geoshape service
Exception in thread "main" java.lang.UnsupportedClassVersionError: org/elasticsearch/bootstrap/Elasticsearch : Unsupported major.minor version 51.0
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:648)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:277)
at java.net.URLClassLoader.access$000(URLClassLoader.java:73)
at java.net.URLClassLoader$1.run(URLClassLoader.java:212)
at java.net.URLClassLoader$1.run(URLClassLoader.java:206)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:205)
at java.lang.ClassLoader.loadClass(ClassLoader.java:325)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:296)
at java.lang.ClassLoader.loadClass(ClassLoader.java:270)
at sun.launcher.LauncherHelper.checkAndLoadMain(LauncherHelper.java:406)
Starting supervisord:
geoshape:celery-worker1 STARTING
geoshape:celery-worker2 STARTING
geoshape:celery-worker3 STARTING
geoshape:celery-worker4 STARTING
geoshape:celery-worker5 STARTING
geoshape:uwsgi STARTING
Starting httpd service
Starting httpd: [ OK ]
Waiting 90 seconds for services to start up
Not enabling BingMaps base layer as a BING_API_KEY is not defined in local_settings.py file.
Installed 1 object(s) from 1 fixture(s)
Not enabling BingMaps base layer as a BING_API_KEY is not defined in local_settings.py file.
INFO geonode.geoserver.management 2016-12-14 22:42:10,793 init 6273 140297937274624 Skipping creation of NoticeTypes for geonode.layers.management.commands, since notification app was not found.
Traceback (most recent call last):
File "/var/lib/geonode/rogue_geonode/manage.py", line 11, in
execute_from_command_line(sys.argv)
File "/var/lib/geonode/lib/python2.7/site-packages/django/core/management/init.py", line 399, in execute_from_command_line
utility.execute()
File "/var/lib/geonode/lib/python2.7/site-packages/django/core/management/init.py", line 392, in execute
self.fetch_command(subcommand).run_from_argv(self.argv)
File "/var/lib/geonode/lib/python2.7/site-packages/django/core/management/base.py", line 242, in run_from_argv
self.execute(*args, **options.dict)
File "/var/lib/geonode/lib/python2.7/site-packages/django/core/management/base.py", line 285, in execute
output = self.handle(*args, **options)
File "/var/lib/geonode/lib/python2.7/site-packages/geonode/geoserver/management/commands/updatelayers.py", line 108, in handle
remove_deleted=remove_deleted)
File "/var/lib/geonode/lib/python2.7/site-packages/geonode/geoserver/helpers.py", line 395, in gs_slurp
resources = cat.get_resources()
File "/var/lib/geonode/lib/python2.7/site-packages/geoserver/catalog.py", line 723, in get_resources
for ws in self.get_workspaces():
File "/var/lib/geonode/lib/python2.7/site-packages/geoserver/catalog.py", line 861, in get_workspaces
description = self.get_xml("%s/workspaces.xml" % self.service_url)
File "/var/lib/geonode/lib/python2.7/site-packages/geoserver/catalog.py", line 216, in get_xml
raise FailedRequestError("Tried to make a GET request to %s but got a %d status code: \n%s" % (rest_url, response.status, content))
geoserver.catalog.FailedRequestError: Tried to make a GET request to http://192.168.1.131/geoserver/rest/workspaces.xml but got a 503 status code:

<title>503 Service Temporarily Unavailable</title>

Service Temporarily Unavailable

The server is temporarily unable to service your request due to maintenance downtime or capacity problems. Please try again later.


Apache/2.2.15 (CentOS) Server at 192.168.1.131 Port 80

Not enabling BingMaps base layer as a BING_API_KEY is not defined in local_settings.py file.
Removing all documents from your index because you said so.
Traceback (most recent call last):
File "/var/lib/geonode/rogue_geonode/manage.py", line 11, in
execute_from_command_line(sys.argv)
File "/var/lib/geonode/lib/python2.7/site-packages/django/core/management/init.py", line 399, in execute_from_command_line
utility.execute()
File "/var/lib/geonode/lib/python2.7/site-packages/django/core/management/init.py", line 392, in execute
self.fetch_command(subcommand).run_from_argv(self.argv)
File "/var/lib/geonode/lib/python2.7/site-packages/django/core/management/base.py", line 242, in run_from_argv
self.execute(*args, **options.dict)
File "/var/lib/geonode/lib/python2.7/site-packages/django/core/management/base.py", line 285, in execute
output = self.handle(*args, **options)
File "/var/lib/geonode/lib/python2.7/site-packages/haystack/management/commands/rebuild_index.py", line 15, in handle
call_command('clear_index', **options)
File "/var/lib/geonode/lib/python2.7/site-packages/django/core/management/init.py", line 159, in call_command
return klass.execute(*args, **defaults)
File "/var/lib/geonode/lib/python2.7/site-packages/django/core/management/base.py", line 285, in execute
output = self.handle(*args, **options)
File "/var/lib/geonode/lib/python2.7/site-packages/haystack/management/commands/clear_index.py", line 49, in handle
backend.clear()
File "/var/lib/geonode/lib/python2.7/site-packages/haystack/backends/elasticsearch_backend.py", line 220, in clear
self.conn.delete_index(self.index_name)
File "/var/lib/geonode/lib/python2.7/site-packages/pyelasticsearch/client.py", line 93, in decorate
return func(*args, query_params=query_params, **kwargs)
File "/var/lib/geonode/lib/python2.7/site-packages/pyelasticsearch/client.py", line 1054, in delete_index
query_params=query_params)
File "/var/lib/geonode/lib/python2.7/site-packages/pyelasticsearch/client.py", line 281, in send_request
raise exc.info
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f2f1a03f350>: Failed to establish a new connection: [Errno 111] Connection refused
Not enabling BingMaps base layer as a BING_API_KEY is not defined in local_settings.py file.
Changing password for user 'admin'
Password:
Password (again):
Password changed successfully for user 'admin'
[vtadrones@localhost ~]$

@vhva1976
Copy link

vhva1976 commented Mar 12, 2017

Hi, I had the same message error. I could solve this by adding repos and installing some components:

[root@localhost ~]# sudo yum install epel-release
[root@localhost ~]# yum --enablerepo=epel provides */libhdf5.so.6
[root@localhost ~]# rpm -Uvh https://download.postgresql.org/pub/repos/yum/9.6/redhat/rhel-6-x86_64/pgdg-centos96-9.6-3.noarch.rpm
[root@localhost ~]# yum install postgresql96-libs
[root@localhost ~]# yum -y install geoshape geoshape-geoserver elasticsearch postgis-postgresql95 rabbitmq-server-3.6.1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants