Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

HANA server installation 401 unauthorization issue

Hi Expert

Today I want to install hana server on one of my server station, I downloaded the latest installation files from our production server and transfer the install files to Suse station. The folder structure like this:

Everything goes smoothly until the last step to start instance.

Does anyone know how to get rid of this error?

I've attached full installation log file.

OS Distribution : SUSE Linux Enterprise Server 11 SP1

HANA: Version is 1.00.37 Build 0368807-1410

It look like to me that the HANA system was created successfully, however, due the SAP authentication mechanism (for security sake). It requires client authentication for executing critical function like "Start" or "Stop". By default http basic authentication with OS <sid>adm user and password can be used, For local connections a so called "trusted connect" can be used via the "sapcontrol" command line tool

Starting instance using: /usr/sap/AI2/SYS/exe/hdb/sapcontrol -prot NI_HTTP -nr 00 -function StartWait 2700 2

Allow me explain a little bit further.

sapcontrol : command line

-prot option   is the protocol

                   NI_HTTP     HTTP  using SAP NI sockets (default, prefer Unix domain sockets)

-nr option, instance number

-function option, StartWait is the function name with two parameters timeout second and delay second

And more important, after reading some related documentations regarding to sapcontrol command, it using SOAP http authentication, why the heck it need SOAP? And again, which server host the wsdl that will validate my OS user and password? I'm lost here.

Well, if you execute the following command, it became to another case.

sapcontrol -nr 00 -function StopService -user <sid>adm Password

Output:

13.10.2012 03:15:55

StopService

FAIL: Invalid Credentials

I'm pretty sure about my OS name and password. It just refused work. Day past but the problem haven't get solved. Someone please help, I'm really appreciate.

Thanks

Ethan

hdbinst.log.zip (4171 B)
Tags:
Former Member
Former Member replied

The hana box was successfully installed via ./hdbsetup. It doesn't work via ./hdbinst -a server.

Thanks for your help.

--Ethan

0 View this answer in context

Helpful Answer

by
Not what you were looking for? View more on this topic or Ask a question