Skip to Content

SAP HANA Express 2.0: Permission Denied

Hi,

I'm trying to install SAP HANA Express 2.0 on Suse 12 SP1, but keep getting the same 'Permission Denied' error. What have i missed?

I have followed the installation guide; download, extract (hxe.tgz and hxexsa.tgz) and started setup_hxe.sh.

I have also tried to change owner and group on the file/files before starting the installation with no luck. The error is still coming :-(

I used the same Suse installation for SAP HANA Express 1.0 with success.

Enter HANA, express edition installer root directory:
    Hint: <extracted_path>/HANA_EXPRESS_20
HANA, express edition installer root directory [/root/Documents/HANA_EXPRESS_20]: 
Enter component to install:
   server - HANA server + Application Function Library
   all    - HANA server, Application Function Library, Extended Services + apps (XSA)
Component [all]: 
Enter local host name [server.hostname.local]: 
Enter SAP HANA system ID [HXE]: 
Enter HANA instance number [90]: 
Enter master password: 
Confirm "master" password: 
##############################################################################
# Summary before execution                                                   #
##############################################################################
HANA, express edition installer : /root/Documents/HANA_EXPRESS_20
  Component(s) to install : HANA server, Application Function Library, and Extended Services + apps (XSA)
  Host name               : server.hostname.local
  HANA system ID          : HXE
  HANA instance number    : 90
  Master password         : ********
Proceed with installation? (Y/N) : y
Installing HDB server...
SAP HANA Lifecycle Management - SAP HANA Express Edition 2.00.000.00.1479874437
*******************************************************************************
Start reading from input channel...
... Done.
Summary before execution:
=========================
SAP HANA Express Edition System Installation
   Installation Parameters
      Remote Execution: ssh
      Use single master password for all users, created during installation: Yes
      Installation Path: /hana/shared
      Local Host Name: server.hostname.local
      SAP HANA System ID: HXE
      Instance Number: 90
      Local Host Worker Group: default
      Database Mode: multiple_containers
      Database Isolation: low
      System Usage: development
      Location of Data Volumes: /hana/shared/data/HXE
      Location of Log Volumes: /hana/shared/log/HXE
      Directory containing custom configurations: /root/Documents/HANA_EXPRESS_20/DATA_UNITS/HDB_SERVER_LINUX_X86_64/configurations/custom
      Certificate Host Names: server.hostname.local -> server.hostname.local
      System Administrator Home Directory: /usr/sap/HXE/home
      System Administrator Login Shell: /bin/bash
      System Administrator User ID: 1000
      ID of User Group (sapsys): 79
      Restart system after machine reboot?: Yes
      Inter Service Communication Mode: ssl
   Software Components
      SAP HANA Database
         Install version 2.00.000.00.1479874437
         Location: /root/Documents/HANA_EXPRESS_20/DATA_UNITS/HDB_SERVER_LINUX_X86_64/server
      SAP HANA AFL (incl.PAL,BFL,OFL,HIE)
         Install version 2.00.000.000.1479904225
         Location: /root/Documents/HANA_EXPRESS_20/DATA_UNITS/HDB_AFL_LINUX_X86_64/packages
      SAP HANA XS Advanced Runtime
         Do not install
Installing components...
Installing SAP HANA Database...
  Preparing package 'Saphostagent Setup'...
  Preparing package 'Python Support'...
  Preparing package 'Python Runtime'...
  Preparing package 'Product Manifest'...
  Preparing package 'Binaries'...
  Preparing package 'Krb5 Runtime'...
  Preparing package 'Installer'...
  Preparing package 'Ini Files'...
  Preparing package 'Documentation'...
  Preparing package 'Delivery Units'...
  Preparing package 'Offline Cockpit'...
  Preparing package 'DAT Languages (EN, DE)'...
  Preparing package 'DAT Configfiles (EN, DE)'...
  Creating System...
  Extracting software...
  Installing package 'Saphostagent Setup'...
  Installing package 'Python Support'...
  Installing package 'Python Runtime'...
  Installing package 'Product Manifest'...
  Installing package 'Binaries'...
  Installing package 'Krb5 Runtime'...
  Installing package 'Installer'...
  Installing package 'Ini Files'...
  Installing package 'Documentation'...
  Installing package 'Delivery Units'...
  Installing package 'Offline Cockpit'...
  Installing package 'DAT Languages (EN, DE)'...
  Installing package 'DAT Configfiles (EN, DE)'...
  Creating instance...
  Starting SAP HANA Database system...
  Starting 5 processes on host 'server.hostname.local' (worker):
      Starting on 'server': hdbcompileserver, hdbdaemon, hdbnameserver, hdbpreprocessor, hdbwebdispatcher
  Starting 6 processes on host 'server.hostname.local' (worker):
      Starting on 'server': hdbcompileserver, hdbdaemon, hdbindexserver, hdbnameserver, hdbpreprocessor, hdbwebdispatcher
      Starting on 'server': hdbcompileserver, hdbdaemon, hdbindexserver, hdbpreprocessor, hdbwebdispatcher
      Starting on 'server': hdbdaemon, hdbindexserver, hdbpreprocessor, hdbwebdispatcher
      Starting on 'server': hdbdaemon, hdbindexserver, hdbwebdispatcher
      Starting on 'server': hdbdaemon, hdbwebdispatcher
    All server processes started on host 'server.hostname.local' (worker).
Installing Resident hdblcm...
Installing SAP HANA AFL (incl.PAL,BFL,OFL,HIE)...
Installation of SAP HANA Express Edition System failed.
  Installation of SAP HANA AFL (incl.PAL,BFL,OFL,HIE) failed
    Cannot execute program /root/Documents/HANA_EXPRESS_20/DATA_UNITS/HDB_AFL_LINUX_X86_64/hdbinst: /root/Documents/HANA_EXPRESS_20/DATA_UNITS/HDB_AFL_LINUX_X86_64/hdbinst: Permission denied
Add comment
10|10000 characters needed characters exceeded

  • I too get the same error ...

    When I go to the directory and run ./hdbinst it runs .. and apparently AFL is installed.

    Another error I noticed is that XSA is not installed ...

    Please help

  • Hi Varun,

    I have also tried to install AFL manually after the installer failed, but i am not sure that all is included.

    Maybe we just need to install all the missing parts one by one :-)

  • Former Member

    What I noticed (and I am no SUSE/Linux expert so it might be obvious..) is that the install fails like you described if I the extracted installation folder is in root's home dir. Like Documents or Downloads.

    When I moved it to /tmp the install went fine (until it failed on deploying the hana cockpit, but that seems to be another issue). I dunno why that is, I would expect the installation itself to actually happen in whatever Linux has for a Program Files equivalent.

    Best regards

    Ola

  • Get RSS Feed

7 Answers

  • Best Answer
    Dec 14, 2016 at 03:34 PM

    Hi,

    What account do you to install?

    Installing the SAP server requires root permissions.

    It could also be an issue on file permissions.

    If running the installer as root fails, could you try

    # chmod -R 777 /root/Documents/HANA_EXPRESS_20

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Feb 01, 2017 at 07:52 PM
    Add comment
    10|10000 characters needed characters exceeded

  • Dec 18, 2016 at 07:30 PM

    Hi Denys,

    I got it working with a combination of changing permissions and install location (installed from a not HOME directory).

    Not sure what did it, but i got it installed :-)

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Dec 20, 2016 at 10:12 PM

    I assume you tried

    % cd <directory where files are extracted>

    % sudo ./setup_hxe.sh

    sudo is important.

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Jan 20, 2017 at 06:56 PM

    Hello Henrik:

    When you say above that "I got it working with a combination of changing permissions and install location (installed from a not HOME directory)." did that only include the database server and not XSA? Or were you able to get XSA installed once and now it is failing?

    The reason I ask is because when I saw the symptoms you reported before, I addressed the problem by changing the permissions of my home directory (where I had extracted the HANA Express binaries) to 755. Denys Van Kempen's suggestion of 777 will, of course, accomplish the same thing. You will also need to take Kannan's advice and run setup_hxe.sh using sudo after making this change.

    If that still doesn't solve the problem, then I will pass the problem on to some product installer colleagues for further suggestions. The error in the log does not give enough information for me to make any further recommendations: "Output line 409: ##ERROR## step :"Product Installer" reported: Installing the Product Installer application failed: Execution of command 'deploy /hana/shared/HXE/xs/installation-scripts/installation/../../installdata/apps/product-installer/product-installer.mtar' failed."

    Add comment
    10|10000 characters needed characters exceeded

    • Hi Carl,

      It was when i tried to install both DB and XSA. When i install only DB i have no problems. I have tried several times following the advise i have given or found. Setting the permission to 777 and using sudo has done some of the job :-)

      I have also tried using dblcmgui. It all end up with a error during the

      Regards,

      Henrik

  • avatar image
    Former Member
    Jan 24, 2017 at 04:40 PM

    Hello Henrik:

    I have reached out to my colleagues on the product-installer team to get their input.

    We'll get back to you.

    Carl

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Jan 25, 2017 at 05:25 PM

    Hello Henrik:

    Here's the suggestion from the deploy service and product installer team:

    "From the thread, it looks like the deploy operation of the audit log ui failed for some reason. It would be best to see the deploy logs to get an idea why it has failed. You can download them with:

    "xs download-mta-op-logs"

    You can get a list of all mta operations with:

    "xs mta-ops"

    Can you take those steps and share the results here please?

    Thanks,

    Carl

    Add comment
    10|10000 characters needed characters exceeded

    • Hi Carl,

      If it helps I could do a new installation and give the deploy service and product installer team remote access to the system. Alternative I could also just setup a Suse system with the SAP HANA Express 2.0 files and they could do the installation.

      Drop me a direct message and I will provide the connection info.

      Best regards,

      Henrik