cancel
Showing results for 
Search instead for 
Did you mean: 

SAP HANA 1.0 installation error

Former Member
0 Kudos

Hello,

I am trying to install the SAP HANA Platform Ed. 1.0 SPS05 by following the installation guide from SAP. After performing all the necessary configurations, I have started the installer using the command ./setup.sh /tmp/hanainst /tmp/setuphana.slmodel. After entering and confirming the master password, I am getting the below error:

Starting HANA Installer

DVD location:      /HANA_MEDIA

Installer DATA:    /HANA_MEDIA/DATA_UNITS/HANA_IM_LINUX__X86_64/com.sap.lm.hana.inst-1.4.3-linux64.tar.gz

Working directory: /tmp/hanainst

Model file:        /tmp/setuphana.slmodel

Log file:          /tmp/hanainst/log/setup.glf

User sapadm is member of group sapsys

Updating/installing SAP host agent...

executing: rpm -Uvh /HANA_MEDIA/DATA_UNITS/SAP_HOST_AGENT_LINUX_X64/saphostagent.rpm

Preparing...                ########################################### [100%]

          package SAPHostAgent-720.142-0.x86_64 is already installed

saphostexec running (pid = 12167)

sapstartsrv running (pid = 12170)

10:04:45 28.06.2013     LOG: Using PerfDir (DIR_PERF) = /usr/sap/tmp

saposcol running (pid = 12202)

/usr/sap/hostctrl/exe/saphostctrl: /lib64/libuuid.so.1: no version information available (required by /usr/sap/hostctrl/exe/saphostctrl)

SAPOSCOL successfully initialized. (4 < 2048)

Adapting cRef.xml (/tmp/hanainst)

Done successfully.

Starting Installer in directory: /tmp/hanainst

    --> ./setuphana -c /tmp/hanainst/cRef.xml -f /tmp/setuphana.slmodel -a execute

Error:Error when trying to access SAP Host Agent

Execution failed. You can find the log file under /tmp/hanainst/log/setup.glf

Installer failed.

I have tried upgrading the SAP Host Agent and it says, No Upgrade required. Please let me know what has to be done to get rid of this.

Thanks,

Balajii

Accepted Solutions (1)

Accepted Solutions (1)

nicholas_chang
Active Contributor
0 Kudos

Hi,

Is saphostagent pre-installed in your hana box?

You can uninstall the saphostagent by using

rpm -qa | grep -i saphost ; if result return, remove the saphostagent with:

rpm -e saphost*

After that, remove /usr/sap/hostctrl

Rerun ./setup.sh as root.

Hope it helps,

Former Member
0 Kudos

Hi Nicholas,

Thanks for the reply.

I have removed saphostagent and the /usr/sap/hostctrl using the below cmds, 

rpm -qa | grep -i saphost

rm -r /usr/sap/hostctrl

but when I run the ./setup.sh, I get

bash: ./setup.sh: No such file or directory

Can you please let me know what am I missing? I am quite new to linux

Thanks,

Balajii

Former Member
0 Kudos

ides:~/Desktop # rpm -qa | grep -i saphost

SAPHostAgent-720.142-0

ides:~/Desktop # rpm -e saphost*

error: package saphost* is not installed

ides:~/Desktop # rm -r /usr/sap/hostctrl

ides:~/Desktop # ./setup.sh

bash: ./setup.sh: No such file or directory

ides:~/Desktop # ./setup.sh

bash: ./setup.sh: No such file or directory

ides:~/Desktop #

This is what I have done.

Thanks,

Balajii

Former Member
0 Kudos

I have fixed the issue with the SAP Host Agent. But this time, I am struck with the new issue:

'There is no hostname <hanadb> bound to computersystem <localhost>

Either check your computersystem or your model'

The below are the entries that I have in the /etc/hosts file:

127.0.0.1     localhost (this was changed to nil after adding the ip using the Hostnames serive from YaST. But I have changed to localhost)

fe00::0     nil

ff00::0     nil

ff02::1     nil

ff02::2     nil

ff02::3     nil

<my ip>     <fqdn>     hanadb

This is how, my hostnames look like:

Here, the localhost name for 127.0.0.1 is not visible. Please help me what's happening here. Am I doing something wrong?

Thanks,

Balajii

nicholas_chang
Active Contributor
0 Kudos

Hi,

You can just commented out the localhost in /etc/hosts

#127.0.0.1     localhost

retry and see how it goes.


Also, please use fqdn for the hostname entry specified in your template.

AtulKumarJain
Active Contributor
0 Kudos

Hi Balaji,

Please check an dverify your input while giving to HANA installer.

THese issue is related to worng or incorrect input(i.e. spelling mistake while input)

Best Regards,

Atul

Former Member
0 Kudos

I have commented the localhost in both hosts and hosts.YaST2save files.

I have also modified the FQDN(hanadb.ides.com) in the template setuphana.slmodel. But still I'm getting the same error, but with the FQDN now. Please help me:

'There is no hostname <hanadb.ides.com> bound to computersystem <localhost>

Either check your computersystem or your model'

Thanks,

Balajii

Former Member
0 Kudos

Hi Atul,

Thanks for your reply.

Can you please let me know to which input you are referring to?

Thanks,

Balajii

Former Member
0 Kudos

Hi Nicholas,

Do I have to assign my Ip address to the loopback adapter like we do in Windows? How can I set the loopback adapter in suse linux and assign my ip to that?

Thanks,

Balajii

AtulKumarJain
Active Contributor
0 Kudos

Hi ,

I was talking about the input like installation location, datafile path log file path etc.

Please correct the /etc/hosts file entry.

if you are not sure ,please paste the content here.

Former Member
0 Kudos

Hi Atul,

Please find the attached hana setup template and let me know if there's anything wrong.

Thanks,

Balajii

Former Member
0 Kudos

,

Hello Ravi and Lars,

Can you please help me with this?

Thanks,

Balajii

AtulKumarJain
Active Contributor
0 Kudos

Hi Sai,

Please check the SAP Note No. 611361 and verify your hostname according to note.

Please ensure your given input present at file system and accessable

like "/log"/ , /data"/ , /sapmnt" , hanadb.ides.com"

BR

Atul

Former Member
0 Kudos

Hi Atul,

I have checked the note and nothing seems to be wrong with the hostname. Do you think, I have to change that?

Also, the folders log, data, sapmnt are created.

Thanks,

Balajii

AtulKumarJain
Active Contributor
0 Kudos

Hi Sai,

Please change the hostname and start the fresh installation.

BR

Atul

Former Member
0 Kudos

The issue was fixed after assigning the my IP to the loopback adapter.

Regards,

Balajii

lbreddemann
Active Contributor
0 Kudos

sorry - didn't make it earlier to this. Glad the community already helped you!

This forum thingy here actually works !

- Lars

Former Member
0 Kudos

Hello all, I am  just installing  SAP HANA Platform Ed. 1.0 SPS06, and I got same Error:

Error:Error when trying to access SAP Host Agent

I simply installed SAP Host Agent manually - now SAP HANA installation proceed

without problems 🙂

Good Luck

Martin

Answers (0)