on 07-31-2013 3:52 PM
We are trying to install SAP HANA DB SP06 on the SAP HANA Appliance . When we run the setup from the installation master we get below message
Updating/installing SAP host agent on host: 'hananode01'...
Performing validation...
Installing HDB server...
Copying logs to /usr/sap/HD1/setup...
Could not install HDB server
The installation of SAP HANA system has failed.
Log file is located at: /tmp/HANAINST/log/setup.glf
Please find the attached setup.log file.
one my major concerns is mentioned in the below lines in the setup log
2013/07/31 17:36:56 [DEBUG] [com.sap.lm.services.shell.util.ForwardingBuffer] stderr: Installation failed|
2013/07/31 17:36:56 [DEBUG] [com.sap.lm.services.shell.util.ForwardingBuffer] stderr: error installing|
2013/07/31 17:36:56 [DEBUG] [com.sap.lm.services.shell.util.ForwardingBuffer] stderr: Cannot create Instance|
2013/07/31 17:36:56 [DEBUG] [com.sap.lm.services.shell.util.ForwardingBuffer] stderr: Cannot create instance|
2013/07/31 17:36:56 [DEBUG] [com.sap.lm.services.shell.util.ForwardingBuffer] stderr: Cannot create SecureStore|
2013/07/31 17:36:56 [DEBUG] [com.sap.lm.services.shell.util.ForwardingBuffer] stderr: Starting external program /usr/sap/HD1/HDB00/exe/hdbnsutil|
2013/07/31 17:36:56 [DEBUG] [com.sap.lm.services.shell.util.ForwardingBuffer] stderr: Command line is: /usr/sap/HD1/HDB00/exe/hdbnsutil -createSecureStore|
2013/07/31 17:36:56 [DEBUG] [com.sap.lm.services.shell.util.ForwardingBuffer] stderr: Cannot execute program /usr/sap/HD1/HDB00/exe/hdbnsutil: /usr/sap/HD1/HDB00/exe/hdbnsutil: Permission denied|
2013/07/31 17:36:56 [DEBUG] [com.sap.lm.services.shell.util.ForwardingBuffer] stderr: hdbnsutil call failed|
We had to perform the re-installation of the SAP HANA Appliance have to bring up the system and make it available for a client .
Thanks regards
Shaik Arshad
Hay Shaik;
Were you able to fix your issue. I am facing the same issue.
Best Regards
~Amal Aloun
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
it is defintely permission issue.
Thanks
Priya
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
In the attached log i can see it is a permission issue.
2013/07/31 17:36:56 [INFO] [com.sap.lm.hana.installation.utils.ShellProcessUtil] Installation failed
error installing
Cannot create Instance
Cannot create instance
Cannot create SecureStore
Starting external program /usr/sap/HD1/HDB00/exe/hdbnsutil
Command line is: /usr/sap/HD1/HDB00/exe/hdbnsutil -createSecureStore
Cannot execute program /usr/sap/HD1/HDB00/exe/hdbnsutil: /usr/sap/HD1/HDB00/exe/hdbnsutil: Permission denied
hdbnsutil call failed
Check who is the owner of exe directory and set it to SIDadm.
Thanks
RV
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi ,
SAP responded to the OSS message and recommended the Appliance Vendor to restore the SAP HANA Appliance as it had somehow become unstable.
Under standard conditions the appliance should not behave this was. I was using the latest DVD downloaded from SMP as recommended.
As of now the Vendor is going to restore the Appliance.
Regards
Shaik Arshad
Hi Shaik,
According to your posted error information, it has no authority to execute program, whether you are using root account to install sap hana? if no, you can use root account to install.
Besides, if you do not want to use root, then you need to grant related authority to installer account and change access authority for access folder, such as chmod 777.
Regards,
Jerry.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Shashi and Nicholas,
The permissions for the hdbnsutil and hdbparam are specified by the installation master as /usr/sap/HD1/HDB00/exe/ fodler is created during the installation.
And as i am running the installation using root user it should have full permissions.
i also notice that when I go to the /usr/sap/HD1/HDB00/exe/ and run hdbparam or hdbnsutil
./hdbnsutil -createSecureStore
./hdbnsutil: error while loading shared libraries: libhdbns.so: cannot open shared object file: No such file or directory
./hdbparam --install
./hdbparam: error while loading shared libraries: libhdbbasement.so: cannot open shared object file: No such file or directory
I am unable to understand why it is asking for these files and above all how do i get them to overcome the issue.
Kindly let em know of any lead with regards to this issue.
Regards
Shaik Arshad
Hi Shashi,
please find below the output of ls -lrt |grep -i hdb
i have also attached the files for setup.glf and hdbinst.log in txt form
i have tried ./hdbnsutil -createSecureStore with <SID>adm
hananode01:/usr/sap/HD1/HDB00/exe # ls -lrt |grep -i hdb
-rwxr-xr-x 1 hd1adm sapsys 5790045 Jun 27 21:09 sapwebdisp_hdb
-r-xr-xr-x 1 hd1adm sapsys 17248 Jun 27 21:09 libhdbversion.so
-r-xr-xr-x 1 hd1adm sapsys 7345122 Jun 27 21:10 libhdblttbase.so
-r-xr-xr-x 1 hd1adm sapsys 2987456 Jun 27 21:10 libhdbconfig.so
-r-xr-xr-x 1 hd1adm sapsys 42621141 Jun 27 21:10 libhdbbasis.so
-r-xr-xr-x 1 hd1adm sapsys 136738792 Jun 27 21:11 libhdbbasement.so
-r-xr-xr-x 1 hd1adm sapsys 2600645 Jun 27 21:16 libhdbtransactionmanager.so
-r-xr-xr-x 1 hd1adm sapsys 3116367 Jun 27 21:16 libhdblicensing.so
-r-xr-xr-x 1 hd1adm sapsys 48893942 Jun 27 21:16 libhdbdataaccess.so
-r-xr-xr-x 1 hd1adm sapsys 4576420 Jun 27 21:16 libhdbrscommon.so
-r-xr-xr-x 1 hd1adm sapsys 22770087 Jun 27 21:16 libhdbcsbase.so
-r-xr-xr-x 1 hd1adm sapsys 8185932 Jun 27 21:16 libhdbauthsrv.so
-r-xr-xr-x 1 hd1adm sapsys 1295188 Jun 27 21:16 libhdbcrypto.so
-r-xr-xr-x 1 hd1adm sapsys 2763209 Jun 27 21:16 libhdbljitroot.so
-r-xr-xr-x 1 hd1adm sapsys 546672 Jun 27 21:16 libhdbprotocol.so
-r-xr-xr-x 1 hd1adm sapsys 4889406 Jun 27 21:16 libhdbljitllangci.so
-r-xr-xr-x 1 hd1adm sapsys 656214 Jun 27 21:16 libhdbantlr32.so
-r-xr-xr-x 1 hd1adm sapsys 16274368 Jun 27 21:17 libhdbexpression.so
-r-xr-xr-x 1 hd1adm sapsys 1657462 Jun 27 21:17 libhdblvclockmanager.so
-r-xr-xr-x 1 hd1adm sapsys 2711922 Jun 27 21:17 libhdbadmissioncontrol.so
-r-xr-xr-x 1 hd1adm sapsys 27132787 Jun 27 21:17 libhdboms.so
-r-xr-xr-x 1 hd1adm sapsys 1645805 Jun 27 21:17 libhdbpackman.so
-r-xr-xr-x 1 hd1adm sapsys 13574578 Jun 27 21:17 libhdblivecache.so
-r-xr-xr-x 1 hd1adm sapsys 30779900 Jun 27 21:17 libhdbunifiedtable.so
-r-xr-xr-x 1 hd1adm sapsys 16144046 Jun 27 21:17 libhdbpersistence.so
-r-xr-xr-x 1 hd1adm sapsys 12941054 Jun 27 21:17 libhdbcstypes.so
-r-xr-xr-x 1 hd1adm sapsys 80470308 Jun 27 21:18 libhdbbackup.so
-r-xr-xr-x 1 hd1adm sapsys 1069766 Jun 27 21:21 libhdbljitprof.so
-r-xr-xr-x 1 hd1adm sapsys 1628116269 Jun 27 21:22 libhdbrskernel.so
-r-xr-xr-x 1 hd1adm sapsys 391449050 Jun 27 21:23 libhdbljitbase.so
-r-xr-xr-x 1 hd1adm sapsys 361211127 Jun 27 21:23 libhdbcscommon.so
-r-xr-xr-x 1 hd1adm sapsys 921828 Jun 27 21:23 libhdbljittypes0.so
-r-xr-xr-x 1 hd1adm sapsys 3671884 Jun 27 21:23 libhdbtemptabapi.so
-r-xr-xr-x 1 hd1adm sapsys 1882320 Jun 27 21:23 libhdbcsconfig.so
-r-xr-xr-x 1 hd1adm sapsys 10732008 Jun 27 21:23 libhdbsasso.so
-r-xr-xr-x 1 hd1adm sapsys 52164969 Jun 27 21:25 libhdbljittypes1.so
-r-xr-xr-x 1 hd1adm sapsys 19394161 Jun 27 21:25 libhdbevaluator.so
-r-xr-xr-x 1 hd1adm sapsys 66838304 Jun 27 21:25 libhdbcsmd.so
-r-xr-xr-x 1 hd1adm sapsys 13683775 Jun 27 21:26 libhdbcscache.so
-r-xr-xr-x 1 hd1adm sapsys 10690060 Jun 27 21:26 libhdbrshm.so
-r-xr-xr-x 1 hd1adm sapsys 2959008 Jun 27 21:28 libhdbcsext.so
-r-xr-xr-x 1 hd1adm sapsys 25547758 Jun 27 21:28 libhdbbfl.so
-r-xr-xr-x 1 hd1adm sapsys 875791 Jun 27 21:28 libhdbimsl.so
-r-xr-xr-x 1 hd1adm sapsys 13068534 Jun 27 21:28 libhdbexecutor.so
-r-xr-xr-x 1 hd1adm sapsys 58227607 Jun 27 21:29 libhdbpal.so
-r-xr-xr-x 1 hd1adm sapsys 7109994 Jun 27 21:31 libhdbtransaction.so
-r-xr-xr-x 1 hd1adm sapsys 267497814 Jun 27 21:32 libhdbrepo.so
-r-xr-xr-x 1 hd1adm sapsys 20758893 Jun 27 21:32 libhdbdistmetadata.so
-r-xr-xr-x 1 hd1adm sapsys 1788611 Jun 27 21:33 libhdblogger.so
-r-xr-xr-x 1 hd1adm sapsys 3112938 Jun 27 21:33 libhdblex.so
-r-xr-xr-x 1 hd1adm sapsys 4815525 Jun 27 21:34 libhdbljitlib.so
-r-xr-xr-x 1 hd1adm sapsys 19267552 Jun 27 21:34 libhdbrsr.so
-r-xr-xr-x 1 hd1adm sapsys 5407849 Jun 27 21:35 libhdbpackmansqldriver.so
-r-xr-xr-x 1 hd1adm sapsys 2880645 Jun 27 21:35 libhdbicppt.so
-r-xr-xr-x 1 hd1adm sapsys 25587964 Jun 27 21:36 libhdbsqldbcsrv.so
-r-xr-xr-x 1 hd1adm sapsys 1135026 Jun 27 21:37 hdbsrvutil
-r-xr-xr-x 1 hd1adm sapsys 1592911 Jun 27 21:37 hdbparam
-r-xr-xr-x 1 hd1adm sapsys 886388 Jun 27 21:37 hdbpersmount
-r-xr-xr-x 1 hd1adm sapsys 3812138 Jun 27 21:37 hdblogdiag
-r-xr-xr-x 1 hd1adm sapsys 2619377 Jun 27 21:37 hdbpersdiag
-r-xr-xr-x 1 hd1adm sapsys 15206959 Jun 27 21:38 libhdblegacy.so
-r-xr-xr-x 1 hd1adm sapsys 115312 Jun 27 21:38 hdbcons
-r-xr-xr-x 1 hd1adm sapsys 3310069 Jun 27 21:38 hdbdaemon
-r-xr-xr-x 1 hd1adm sapsys 2446221 Jun 27 21:38 hdbbackupdiag
-r-xr-xr-x 1 hd1adm sapsys 1529721399 Jun 27 21:43 libhdbcs.so
-r-xr-xr-x 1 hd1adm sapsys 31699955 Jun 27 21:43 libhdbcsstore.so
-r-xr-xr-x 1 hd1adm sapsys 1033367825 Jun 27 21:44 libhdbcsapi.so
-r-xr-xr-x 1 hd1adm sapsys 18786653 Jun 27 21:44 libhdbqueue.so
-r-xr-xr-x 1 hd1adm sapsys 43389971 Jun 27 21:44 libhdbns.so
-r-xr-xr-x 1 hd1adm sapsys 7672995 Jun 27 21:44 libhdbljittypes2.so
-r-xr-xr-x 1 hd1adm sapsys 11792489 Jun 27 21:44 libhdbgraphapi.so
-r-xr-xr-x 1 hd1adm sapsys 26900320 Jun 27 21:44 libhdbxsapi.so
-r-xr-xr-x 1 hd1adm sapsys 30369082 Jun 27 21:44 libhdbwipe.so
-r-xr-xr-x 1 hd1adm sapsys 89979376 Jun 27 21:44 libhdbpythonobjects.so
-r-xr-xr-x 1 hd1adm sapsys 2983794 Jun 27 21:44 libhdbljitboot.so
-r-xr-xr-x 1 hd1adm sapsys 50113701 Jun 27 21:44 libhdbcscq.so
-r-xr-xr-x 1 hd1adm sapsys 147679163 Jun 27 21:44 libhdbpe.so
-r-xr-xr-x 1 hd1adm sapsys 10110325 Jun 27 21:44 libhdbcsextpy.so
-r-xr-xr-x 1 hd1adm sapsys 19148713 Jun 27 21:44 hdbpreprocessor
-r-xr-xr-x 1 hd1adm sapsys 13535103 Jun 27 21:44 hdbnsutil
-r-xr-xr-x 1 hd1adm sapsys 114961420 Jun 27 21:44 libhdbcswrapper.so
-r-xr-xr-x 1 hd1adm sapsys 100827532 Jun 27 21:44 libhdbjsjm.so
-r-xr-xr-x 1 hd1adm sapsys 22348884 Jun 27 21:44 hdbstatisticsserver
-r-xr-xr-x 1 hd1adm sapsys 21338467 Jun 27 21:44 hdbscriptserver
-r-xr-xr-x 1 hd1adm sapsys 17177032 Jun 27 21:44 hdbnameserver
-r-xr-xr-x 1 hd1adm sapsys 334930168 Jun 27 21:44 libhdbmdx.so
-r-xr-xr-x 1 hd1adm sapsys 21353643 Jun 27 21:44 hdbxsengine
-r-xr-xr-x 1 hd1adm sapsys 21391733 Jun 27 21:44 hdbindexserver
-r-xr-xr-x 1 hd1adm sapsys 30244837 Jun 27 21:44 pyhdbcli.so
-r-xr-xr-x 1 hd1adm sapsys 9146755 Jun 27 21:44 hdbcompileserver
-r-xr-xr-x 1 hd1adm sapsys 3665989 Jun 27 21:44 hdbllangc
-r-xr-xr-x 1 hd1adm sapsys 3912113 Jun 27 21:46 libhdberp.so
-r-xr-xr-x 1 hd1adm sapsys 3697561 Jun 27 21:46 hdbrss
-r-xr-xr-x 1 hd1adm sapsys 50601320 Jun 27 21:46 libhdbcsdso.so
-r-xr-xr-x 1 hd1adm sapsys 18203514 Jun 27 21:47 hdbeuspack
-r-xr-xr-x 1 hd1adm sapsys 58982089 Jun 27 21:47 libodbcHDB.so
-r-xr-xr-x 1 hd1adm sapsys 60334321 Jun 27 21:47 hdbsql
-r-xr-xr-x 1 hd1adm sapsys 55630447 Jun 27 21:47 libSQLDBCHDB.so
-r-xr-xr-x 1 hd1adm sapsys 59974990 Jun 27 21:47 hdbuserstore
-r-xr-xr-x 1 hd1adm sapsys 59752803 Jun 27 21:47 hdbsqldbc_cons
-r-xr-xr-x 1 hd1adm sapsys 2506014 Jun 27 21:48 libhdblcappssql.so
lrwxrwxrwx 1 hd1adm sapsys 41 Aug 1 11:52 lexicon -> ../../../global/hdb/custom/config/lexicon
Log:
installing initial parameter file
11:53:44.501 - INFO: Starting external program /usr/sap/HD1/HDB00/exe/hdbparam
11:53:44.501 - INFO: Command line is: /usr/sap/HD1/HDB00/exe/hdbparam --install
11:53:44.501 - ERR : Cannot execute program /usr/sap/HD1/HDB00/exe/hdbparam: /usr/sap/HD1/HDB00/exe/hdbparam: Permission denied
11:53:44.501 - ERR : hdbparam call failed
11:53:44.501 - WRN : Cannot create initial parameter file
11:53:44.501 - INFO: Starting external program /usr/sap/HD1/HDB00/exe/hdbparam
11:53:44.501 - INFO: Command line is: /usr/sap/HD1/HDB00/exe/hdbparam --install
11:53:44.501 - ERR : Cannot execute program /usr/sap/HD1/HDB00/exe/hdbparam: /usr/sap/HD1/HDB00/exe/hdbparam: Permission denied
11:53:44.501 - ERR : hdbparam call failed
11:53:44.502 - INFO: Creating SecureStore
11:53:44.502 - INFO: Starting external program /usr/sap/HD1/HDB00/exe/hdbnsutil
11:53:44.502 - INFO: Command line is: /usr/sap/HD1/HDB00/exe/hdbnsutil -createSecureStore
11:53:44.502 - ERR : Cannot execute program /usr/sap/HD1/HDB00/exe/hdbnsutil: /usr/sap/HD1/HDB00/exe/hdbnsutil: Permission denied
11:53:44.502 - ERR : hdbnsutil call failed
11:53:44.503 - ERR : Cannot create SecureStore
11:53:44.503 - ERR : Cannot create instance
11:53:44.503 - INFO: ---------------------------------------------------------
11:53:44.503 - INFO: END: Create System start: 11:52:07.664 duration: 00:01:36.839
11:53:44.503 - INFO: ---------------------------------------------------------
11:53:44.503 - ERR : Cannot create Instance
11:53:44.503 - ERR : error installing
11:53:44.503 - ERR : Installation failed
11:53:44.530 - INFO: Summary of critical errors
11:53:44.503 - ERR : Installation failed
11:53:44.503 - ERR : error installing
11:53:44.503 - ERR : Cannot create Instance
11:53:44.503 - ERR : Cannot create instance
11:53:44.503 - ERR : Cannot create SecureStore
11:53:44.502 - INFO: Starting external program /usr/sap/HD1/HDB00/exe/hdbnsutil
11:53:44.502 - INFO: Command line is: /usr/sap/HD1/HDB00/exe/hdbnsutil -createSecureStore
11:53:44.502 - ERR : Cannot execute program /usr/sap/HD1/HDB00/exe/hdbnsutil: /usr/sap/HD1/HDB00/exe/hdbnsutil: Permission denied
11:53:44.502 - ERR : hdbnsutil call failed
just see it is still complaining about permission.Now let's set the permission
chown -R hd1adm:sapsys /usr/sap/HD1
chmod -R 750 /usr/sap/HD1
we can try giving chmod -R 777 /usr/sap/HD1 also if we did not succeed.
chown -R hd1adm:sapsys /sapmnt
chmod -R 750 /sapmnt
let's try this now.
Thanks,
Shahsi
Hi Shashi,
My only concern was that the user <sid>adm and the file structure is created by the unified installer and when i uninstall HDB , <SID>adm and HD1 folder structure is removed .
So when do i need to give this permissions? as the installation had failed i would need to perform the uninstallation which will remove the file structure and the user <sid>adm.
I tried with the above options and had the same error
./hdbnsutil -createSecureStore
./hdbnsutil: error while loading shared libraries: libhdbns.so: cannot open shared object file: No such file or directory
./hdbparam --install
./hdbparam: error while loading shared libraries: libhdbbasement.so: cannot open shared object file: No such file or directory
My understanding is that the the library path is not pointing to the /usr/sap/<SID>/hdb<instance_nr>/exe
the above directory holds library files lib*.so
this should have been taken care of by the Unified installer.
any idea about the libraries?
Thanks
regards
Shaik Arshad
Hi,
Error log say that:
/usr/sap/HD1/HDB00/exe/hdbnsutil: Permission denied
So give needed permission to hdbnsutil or give full permission to it.
cd /usr/sap/HD1/HDB00/exe/
chmod 777 hdbnsutil
Thanks,
Shashi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Do you provide the template file and enter the correct hostname, /hana/shared and etc as per the installation guide?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Nicholas,
I have provided all the required entries in setuphana.slmodel template file
/tmp/MASTER/51046696/DATA_UNITS/HANA_IM_LINUX__X86_64 # ./setup.sh /tmp/HANAINST/ /tmp/setuphana.slmodel
The template file is as below.
<DeclarativeModuleSerialization>
<ManagedObject class="com.sap.lm.hana.hana.HANAPlatformProduct" id="0">
<Child class="com.sap.lm.hana.hana.HANAPlatformSystem" id="4" name="hanaSystem">
<StringParameter name="dataPath" value="/sapmnt/data"/>
<StringParameter name="logPath" value="/sapmnt/log"/>
<StringParameter name="sapmntPath" value="/sapmnt"/>
<StringParameter name="instanceNumber" value="00"/>
<StringParameter name="sid" value="HD1"/>
<StringParameter name="hdbHost" value="hananode01"/>
<StringParameter name="timezone" value="UTC"/>
Do let me know if anything else is to be done.
Thanks
regards
Shaik Arshad
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.