cancel
Showing results for 
Search instead for 
Did you mean: 

How to restart HANA install?

Former Member
0 Kudos

Hello

I am installing hana and ran into an error.  I was able to correct the error manually and now I want to restart the installation.  I don't see any documentation on how to do that.  Here is the error:

[20120424154353] [  47% completed] Working on:     'hdbstudio_update' ...  --> STARTED
[20120424154353] [  48% completed] Working on:     'hdbstudio_update' ...  --> DONE (249 ms)
[20120424154353] [  49% completed] Working on:     'HDB Studio Repository' ...  --> STARTED
[20120424154353] [  50% completed] Working on:      'HDB_SOFTWARE_STUDIO' ...  --> STARTED
[20120424154355] [  50% completed] Working on:      'HDB_SOFTWARE_STUDIO' ...  --> DONE (1034 ms)
[20120424154355] [  51% completed] Working on:     'HDB Studio Repository' ...  --> DONE (1036 ms)
[20120424154355] [  52% completed] Working on:     'SAP HANA DB hana' ...  --> STARTED
[20120424154355] [  53% completed] Working on:      'HDB_SOFTWARE_SERVER' ...  --> STARTED
[20120424154907] [  53% completed] Working on:      'HDB_SOFTWARE_SERVER' ...  --> DONE (312736 ms)
[20120424154907] [  54% completed] Working on:     'SAP HANA DB hana' ...  --> DONE (312738 ms)
[20120424154907] [  55% completed] Working on:     'HDB Client' ...  --> STARTED
[20120424154907] [  56% completed] Working on:      'HDB_SOFTWARE_CLIENT' ...  --> STARTED
[20120424154914] [  56% completed] Working on:      'HDB_SOFTWARE_CLIENT' ...  --> DONE (6671 ms)
[20120424154914] [  57% completed] Working on:      'hdbclient' ...  --> STARTED
[20120424154914] [  58% completed] Working on:       'hdbclient.lst' ...  --> STARTED
[20120424154914] [  59% completed] Working on:        'libSQLDBCHDB.so' ...  --> STARTED
[20120424154914] [  59% completed] Working on:        'libSQLDBCHDB.so' ...  --> DONE (26 ms)
[20120424154914] [  60% completed] Working on:       'hdbclient.lst' ...  --> DONE (256 ms)
[20120424154914] [  61% completed] Working on:      'HDB Client' ...  --> DONE (483 ms)
[20120424154914] [  61% completed] Working on:      'Sum4Hana Installer' ...  --> STARTED
[20120424154914] [  62% completed] Working on:       'HAD' ...  --> STARTED
[20120424154915] [  63% completed] Working on:        'SYS' ...  --> STARTED
[20120424154915] [  64% completed] Working on:        'SYS' ...  --> DONE (163 ms)
[20120424154915] [  64% completed] Working on:       'HAD' ...  --> DONE (321 ms)
[20120424154915] [  65% completed] Working on:       'SUM' ...  --> STARTED
[20120424154915] [  66% completed] Working on:        'SUM4HANA' ...  --> RUNNING...|
Error when fixing issue The content reference SUM4HANA is not deployed
Return Code:1                                                                                                               ERROR

Could not finish execution.
Finished with status ERROR. Message is: Could not finish execution.
Installer failed.

Here is how I run the installation:

  • cd  /home/peggy/Download/51042600/DATA_UNITS/HANA_IM_LINUX__X86_64
  • ./setup.sh   /tmp/hanainst/INSTALL    /tmp/setuphana

Thanks,

Tansu

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi Aksu,

You cannot begin from where you left in HANA case...

As you are using Unified Installer for installation, please use the uninstall.sh for running the uninstallation now:

./uninstall.sh <WORKING_DIRECTORY> <MODEL_FILE>

Once the uninstallation completes run the installer again, but please do a cleanup of you 'INSTALL' folder else you might face some other installation error..

Regards, Rahul

Former Member
0 Kudos

We have done this twice now.  (Just did it again, in fact).

We still get the same error even though I’ve changed the permissions of SAPCAR to 777.

Under:
/home/peggy/Download/51042600/DATA_UNITS/HANA_IM_LINUX__X86_64

  -rwxrwxrwx 1 root  users  4264120 Apr 23 16:59 SAPCAR

Also Under: /tmp/installer

  -rwxr-xr-x 1 root root 4264120 Apr 24 15:14 SAPCAR

Everyone has permission to execute SAPCAR but still this error:

  2012 04 27
12:45:29#0-400#ERROR#com.sap.lm.services.shell.util.ForwardingBuffer#main#/home/peggy/Download/51042600/DATA_UNITS/HANA_IM_LINUX__X86_64/SAPCAR:
Permission denied.|

Thanks!

rajarshi_muhuri
Active Participant
0 Kudos

Automated install using the script sometimes is buggy and fails . but the manual installation never fails , and is also very simple .

http://wiki.sdn.sap.com/wiki/display/inmemory/SAP+HANA+Installation

Peggy: I had a similar problem sometime back , I believe that even though I had given 777 permission to the file , but the user did not have write access to the folder . 

anyway to make it simple i do

chmod -R +x *

so that everything in the folder and folders/files within gets the execute permission. you can also add write permissions to the above .

Former Member
0 Kudos

That was it exactly!  Thank you!!!!

Once I changed my directory to chmod -R +x  and reinstalled, it worked fine.

Thanks so much!

Peggy

sverker_carlborg
Discoverer
0 Kudos

Hi Peggy,

We have the same problem. Could you please explain what "my directory" means.

We have tried to set 777 on all but the problem is still there.

Best regards

Sverker Carlborg

former_member186273
Participant
0 Kudos

I believe "my directory" refer by Peggy is HANA directory

see screenshot

basically you need make sure all file and directories are executable.

see my post, it's the same idea

Thanks

Ethan

former_member186273
Participant
0 Kudos

Strange thing is that, follow the link http://wiki.sdn.sap.com/wiki/display/inmemory/SAP+HANA+Installation I'm only able to install hana successfully via hdbsetup instead of hdbinst.

If I run hdbinst, it will give me error message like "hdbindexserver is not running".

Thanks

Ethan

sverker_carlborg
Discoverer
0 Kudos

Hi,

We found the solution. Full permissions must be given to all users, all the way from the top directory (/) and down to (and including) the "Installation Media Folder".

When we moved our "Installation Media Folder" from our root users home directory, to the top, all worked fine and the installation finished successfully.

Best regards

Sverker Carlborg

Former Member
0 Kudos

I am trying to install SP05 but the helpful link below applies to HANA SP03 only.

http://wiki.sdn.sap.com/wiki/display/inmemory/SAP+HANA+Installation

Here are the differences, which I would like to share with others:-

(1) The following step in the above webpage uses the command sarcar against a .sar file to extract its contents into a directory SAP_HANA_DATABASE:-

> sarcar -xvf IMDB_SERVER100_21-xxxxxxx.sar

However, there isn't any command sarcar but there is a command SAPCAR in the downloaded, uncompressed directory HANA_IM_LINUX__X86_64.

(2) Furthermore, the only .sar file that I could find is the one in SUMHANA_LINUX_X86_64, which, when uncompressed using SAPCAR, only extracted 1441 files into the current directory i.e. SUMHANA_LINUX_X86_64 without he SAP_HANA_DATABASE directory - amongst these extracted files, the required HANA command line installer hdbinst is missing.

(3) I can see the HANA command line installer hdbinst in the downloaded, uncompressed directory HDB_SERVER_LINUX_X86_64.  I guess the install directory SAP_HANA_DATABASE does not exist in SP05.

(4) After setting all permissions for all users recursively for the directory  HDB_SERVER_LINUX_X86_64, I proceeded with the command line installation:-

> sudo ./hdbinst --ignore=check_platform

The option "--ignore=check_platform" works in earlier HANA installation but it has no effect in SP05 command line installer:-

"

SAP HANA Database installation kit detected.

ERR: Installation failed

ERR:   Checking system requirements failed

ERR:     Performing HANA platform check script failed

ERR:       Performing python script failed

INFO:         Starting external program /usr/bin/python

INFO:           Command line is: /usr/bin/python /HANA/rho/SAP_downloads/SAP_HANA_1.5_SPS05/HDB_SERVER_LINUX_X86_64/server/HanaHwCheck.py

...

"

I have modified HanaHwCheck.py to return 0 immediately at the main section of the python code to finally allow the command line installer to complete its installation.

Former Member
0 Kudos

Hi Raymon

Might I explain in detail how to solve this error.

I have the same error but does not modify the file as I HanaHwCheck.py for the installation to work properly.

thanks for your help.

Former Member
0 Kudos

Hi Ana Maria,

I don't understand your comment.  You completed HANA installation without modifying HanaHwCheck.py script file, is that it? 

Thanks.

former_member182277
Contributor
0 Kudos

Hello Tansu,

Two ways two restart HANA.

1. In Studio, right click on the added system and select the restart option.

2. you can execute the following option in linux:

./HDB stop

./HDB start

Hope it is helpful.

Regards,Neha

Former Member
0 Kudos

Neha,

I had asked how I could start the HANA install from where it left not the HANA machine

Thanks

Tansu

former_member182277
Contributor
0 Kudos

Sorry, I thought you asked how to restart the HANA Machine.

I am not able to answer the same because its done by Basis people in our company.

But you can try to install the same from starting point then might be it will install correctly.

Regrd,

Neha