[Live-demo] [OSGeo] #1851: rasdaman installer fails due to permission error

OSGeo trac_osgeo at osgeo.org
Sun Jan 22 11:02:04 PST 2017


#1851: rasdaman installer fails due to permission error
---------------------+---------------------------
 Reporter:  kalxas   |      Owner:  live-demo@…
     Type:  defect   |     Status:  new
 Priority:  blocker  |  Milestone:  OSGeoLive10.5
Component:  LiveDVD  |   Keywords:  rasdaman
---------------------+---------------------------
 rasdaman installer fails with the following error:

 {{{
 ===============================================================
 Starting "install_rasdaman.sh" ...
 ===============================================================
 --2017-01-22 17:53:51--  http://download.rasdaman.org/installer/install.sh
 Resolving download.rasdaman.org (download.rasdaman.org)... 212.201.49.173
 Connecting to download.rasdaman.org
 (download.rasdaman.org)|212.201.49.173|:80... connected.
 HTTP request sent, awaiting response... 200 OK
 Length: 9382 (9.2K) [text/x-sh]
 Saving to: 'install.sh'

      0K .........                                             100%
 45.5M=0s

 2017-01-22 17:53:51 (45.5 MB/s) - 'install.sh' saved [9382/9382]

 Checking if installer needs to update...
 Installer is at latest version.

 Strategy building is handled by the General Strategy Builder.
 Review the installation settings:
 
 Installation path: /opt/rasdaman/
 Version: master
 Update: False
 User: user
 Debug: False
 Communication protocol: rasnet
 Database type: sqlite
   Database data directory: /opt/rasdaman/data/
 Rasdaman binary:
 http://download.rasdaman.org/packages/binary/rasdaman.tar.gz
 Petascope enabled: True
   Petascope database url: jdbc:postgresql://localhost:5432/petascopedb
   Petascope database user: user
   Petascope server type: tomcat
   Tomcat home: /var/lib/tomcat8
 Secore enabled: True
 Run systemtest: False
 Rasdaman demo data: False
 Petascope demo data: False
 
 Validating system...
 Cleaning up any old rasdaman files...
 Old rasdaman files cleaned up successfully.
 System was validated.
 Installing third party dependencies on Ubuntu 16.04...
 Installing packages ['make', 'libtool', 'gawk', 'autoconf', 'bison',
 'flex', 'git', 'g++', 'unzip', 'libboost-all-dev', 'libtiff-dev',
 'libgdal-dev', 'zlib1g-dev', 'libffi-dev', 'libedit-dev', 'libecpg-dev',
 'libsqlite3-dev', 'libgrib-api-dev', 'libgrib2c-dev', 'curl', 'libnetcdf-
 cxx-legacy-dev', 'openjdk-8-jdk', 'maven', 'ant', 'postgresql',
 'postgresql-contrib', 'sqlite3', 'zlib1g', 'gdal-bin', 'python-dev',
 'debianutils', 'python-dateutil', 'python-lxml', 'python-grib', 'python-
 pip', 'python-gdal', 'netcdf-bin', 'libecpg6', 'libboost-all-dev',
 'libedit-dev', 'libnetcdf-c++4', 'python-netcdf4', 'tomcat8']... 
 Packages installed successfully.
 Checking user user....
 User user checked successfully.
 Installing pip packages ['glob2']... 
 Pip packages installed successfully.
 Creating directory structure...
 An error has occured while executing this command: mkdir -p
 /opt/rasdaman//third_party/.Check the log at /tmp/rasdaman.install.log for
 more details.
 Preview of the error:
  Return code: 1
  Stderr: mkdir: cannot create directory '/opt/rasdaman//third_party/':
 Permission denied

  Stdout:
 ERROR: The installer returned an error code. The installation might not be
 valid.
 rasdaman: unrecognized service
  * Stopping Tomcat servlet engine tomcat8
    ...done.
 Rasdaman command log:
 ===============================================
 cat: /tmp/rasdaman_command_log: No such file or directory
 ===============================================
 }}}

 Another problem seems to be that the rasdaman log is not created anymore.

--
Ticket URL: <https://trac.osgeo.org/osgeo/ticket/1851>
OSGeo <http://www.osgeo.org/>
OSGeo committee and general foundation issue tracker.


More information about the Osgeolive mailing list