Skip to Content
avatar image
Former Member

Installing SAP HANA XS - hdbinst: Permission denied

Hi,

I am installing SAP HANA Express Edition on a Dell bare-metal with RHEL7. Now everything went smooth so far, until I wanted to install HANA Extended Services (XSA). I am following this guide: http://go.sap.com/developer/tutorials/hxe-ua-installing-binary.html

Now I am getting the following error trying to execute:

sudo ./hdblcm -s HXE -H <HOSTNAME> --action=update --components=xs --xs_components=all --configfile=configurations/auto_install.cfg --component_medium=<download_path>/HANA_10_DEE
...
Updating components...

Installing SAP HANA XS Advanced Runtime...

Update of SAP HANA components failed.

  Installation  of SAP HANA XS Advanced Runtime failed

    Cannot execute program /home/felix/hana/HANA_10_DEE/DATA_UNITS/XSA_RT_10_LINUX_X86_64/hdbinst: /home/felix/hana/HANA_10_DEE/DATA_UNITS/XSA_RT_10_LINUX_X86_64/hdbinst: Permission denied

Now I checked the permissions and they seem a bit freaky:

I think thats solely a permission problem, but what are the right permissions for these files? And what is that 3826001 user with the group audio?

Can one please assist here?

Thank you in advance!

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • Best Answer
    Nov 06, 2016 at 05:49 PM

    Hi Felix

    It is recommended to install SAP HANA using a service user (something like sapadm). Here is what you can try

    1. Create a service user

    2. Provide the installation path (eg: /usr/sap/<SID> where SID is the HANA System Identifier)

    3. Make the service user owner of the folder (using the chown command)

    4. Change the running user to the service user (using su command)

    5. Trigger the installation

    You should be able to install if the above is followed properly

    Regards

    Shankar

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hi,

      you are right. What worked was to create another user and install it with this user.

      Maybe the tutorials should outline this point? I cannot find anything in the documentation about this!?

      Felix

  • Nov 06, 2016 at 02:03 PM

    Hello Felix,

    Try chmod -R 775 /home/felix/hana/

    Adn rerun the hdbinst.

    Regards,

    Yuksel AKCINAR

    Add comment
    10|10000 characters needed characters exceeded

  • May 03 at 06:58 AM

    I also met the similar issue while installing HANA express, which the hdbinst has permission issue. But i found it seems we can't put the install packages in a HOME dir and install from it. Just move the install package to a /sapmnt/install_pkgs etc, then things work.

    Add comment
    10|10000 characters needed characters exceeded

    • This is what worked for me either. I have tried to install HDBCOCKPIT from /root/Downloads/HDBCOCKPIT and got error messages during the installation like:

      Installation of SAP HANA XS Advanced Runtime failed Cannot execute program /root/Downloads/HDBCOCKPIT/XSA_RT_20_LINUX_PPC64/hdbinst: /root/Downloads/HDBCOCKPIT/XSA_RT_20_LINUX_PPC64/hdbinst: Permission denied

      First I have changed the permission using chmod 777 -R, but the error still appeared.Then I have started the installation from another directory Downloads/HDBCOCKPIT and the installation was successful.