Opened 7 years ago

Closed 7 years ago

#1851 closed defect (fixed)

rasdaman installer fails due to permission error

Reported by: kalxas Owned by: live-demo@…
Priority: critical Milestone: OSGeoLive10.5
Component: OSGeoLive Keywords: rasdaman
Cc: live-demo@…

Description

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]

[0mChecking if installer needs to update...[0m
[0mInstaller is at latest version.[0m

[0mStrategy building is handled by the General Strategy Builder.[0m
[1mReview the installation settings:[0m
[0m
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
[0m
[1mValidating system...[0m
[0mCleaning up any old rasdaman files...[0m
[0mOld rasdaman files cleaned up successfully.[0m
[1mSystem was validated.[0m
[1mInstalling third party dependencies on Ubuntu 16.04...[0m
[0mInstalling 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']... [0m
[0mPackages installed successfully.[0m
[0mChecking user user....[0m
[0mUser user checked successfully.[0m
[0mInstalling pip packages ['glob2']... [0m
[0mPip packages installed successfully.[0m
[0mCreating directory structure...[0m
[31mAn 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:[0m
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.

Change history (5)

comment:1 by kalxas, 7 years ago

Some good news, the installer is now fixed and does not fail to install rasdaman. Unfortunately the launcher fails to bring up tomcat8 though. Getting closer.

comment:3 by kalxas, 7 years ago

Priority: blockercritical

comment:5 by kalxas, 7 years ago

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.