cancel
Showing results for 
Search instead for 
Did you mean: 

Installing SAP HANA XS - hdbinst: Permission denied

Former Member
0 Kudos

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!

Accepted Solutions (1)

Accepted Solutions (1)

shankarsgs
Contributor

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

Former Member
0 Kudos

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

Answers (3)

Answers (3)

yakcinar
Active Contributor

Hello Felix,

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

Adn rerun the hdbinst.

Regards,

Yuksel AKCINAR

0 Kudos

perfect, it helps me! respect

jmuiruri
Product and Topic Expert
Product and Topic Expert
0 Kudos

works like magic, no need to create a new user

christykin
Explorer
0 Kudos

I think this is the correct answer. No need to create new user or go to great lengths

gary_zhong
Employee
Employee

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.

jsteinkuehler
Explorer

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.

sgichuru
Explorer
0 Kudos

Deleted the already extracted installation file and did a fresh extraction of .SAR installation file, this resolved resolved the issue.

SAPCAR.EXE -vxf <filename>.SAR -manifest SIGNATURE.SMF

Regards

Sadiq Gichuru