cancel
Showing results for 
Search instead for 
Did you mean: 

Error When Configuring HTTP Access to HANA Multitenant Database Containers

THorton
Explorer
0 Kudos

Hello Everyone,

I have converted an existing single container SAP HANA database into a Multitenant database.  I am trying to configure HTTP Access to Multitenant Database Containers per the following documentation (which is the same is in the HANA Administration Guide):

http://help.sap.com/saphelp_hanaplatform/helpdata/en/af/24ce38929b4f1fa934a28147fc7641/content.htm

Before making any configuration changes, the XS engine page (http://<XSServerHost>:80<instance_no>) loads successfully with the default configuration of parameter wdisp/system_0:

SID=$(SAPSYSTEMNAME), EXTSRV=http://localhost:3$(SAPSYSTEM)08, SRCURL=/

However, when I change the value of this parameter to the value detailed in the documentation, I receive a "503 Service not available:"

SID=$(SAPSYSTEMNAME), EXTSRV=http://localhost:3$(SAPSYSTEM)08, SRCVHOST=<FQDN of host>

*Note that I used "08" in EXTSRV instead of "14," per the documentation because the system was converted from single-container mode to multiple-container mode.  However, I have tried "14" as well, but it does not work, either.

I increased the trace level of the Web Dispatcher and found the errors detailed below in the trace file.

I have not found any documentation detailing what these errors mean.  Any assistance would be appreciated.  Thanks in advance!

Best Regards,

Tommye Horton

[Thr 139978579265280] eppSetTraceLevel: changing trace level to 3
[Thr 139978628482816] NiSelISelectInt: 0 handles selected (0 buffered)
[Thr 139978628482816] WATCHDOG TRACE BEGIN
[Thr 139978628482816] IcmCheckForBlockedThreads: check for blocked SSL-threads
[Thr 139978628482816] IcmWatchDogThread: check ni handles (timeout=5000)
[Thr 139978628482816] WATCHDOG TRACE END
[Thr 139978628482816] SiSelEPSelect: start select (timeout=5000)
[Thr 139978813048576] Wed Apr 29 19:47:41 2015
[Thr 139978813048576]     [0] revt=1 ptr=0x7f4f5eb79078 (sock 30;evt=3)
[Thr 139978813048576] SiSelEPNext: sock 30 selected (pos=3; revt=r--)
[Thr 139978813048576] NiSelIListInsert: add hdl 25 [3] to sel-list (0) of set0
[Thr 139978813048576] NiSelISelectInt: 1 handles selected (0 buffered)
[Thr 139978813048576] MAIN TRACE BEGIN
[Thr 139978813048576] IcmAcceptClient: Connection request from Client received
[Thr 139978813048576] NiIPeekListen: peek successful for hdl 25
[Thr 139978813048576] NiIAccept: hdl 25 accepted connection
[Thr 139978813048576] NiICreateHandle: hdl 768 state NI_INITIAL_CON
[Thr 139978813048576] NiIInitSocket: set default settings for hdl 768/sock 138 (I4; ST)
[Thr 139978813048576] NiIBlockMode: set blockmode for hdl 768 FALSE
[Thr 139978813048576] NiIAccept: state of hdl 768 NI_ACCEPTED
[Thr 139978813048576] NiPGetHostByAddr: addrname of <IP Address 1> is '<hostname 1>'
[Thr 139978813048576] NiHLGetHostName: got address <IP Address 1> from operating system
[Thr 139978813048576] NiIGetHostName: addr <IP Address 1> = hostname '<hostname 1>'
[Thr 139978813048576] NiIAccept: hdl 25 accepted hdl 768 from <hostname 1>:<port for hostname 1>
[Thr 139978813048576] NiIAccept: hdl 768 took local address <IP Address 2>:<port for hostname 2>
[Thr 139978813048576] IcmConnCheckStoredClientConn: check for client conn timeout
[Thr 139978813048576] IcmConnCheckStoredClientConn: next client timeout check in 10 sec
[Thr 139978813048576] IcmConnAllocContext: context 6 allocated
[Thr 139978813048576] MAIN TRACE REQ: 1/126/1
[Thr 139978813048576] IcmServIncrRefCount: <hostname 2>:<port for hostname 2> - new serv_ref_count: 1
[Thr 139978813048576] IcmCreateRequest: Append request 93621
[Thr 139978813048576] IcmQueueAppend: queuelen:     1
[Thr 139978813048576] IcmConnIntegrateServer: accepted connection from <IP Address 1> on service <port for hostname 2>
[Thr 139978813048576] MAIN TRACE END
[Thr 139978587494144] IcmWorkerThread: worker 8 got the semaphore
[Thr 139978587494144] REQ TRACE BEGIN: 1/126/1
[Thr 139978587494144] REQUEST:
    Type: ACCEPT_CONNECTION    Index = 93621
[Thr 139978587494144] CONNECTION (id=1/126):
    used: 1, type: default, role: Server(1), stateful: 0
    NI_HDL: 768, protocol: HTTP(1)
    local host:  <IP Address 2>:<port for hostname 2> ()
    remote host: <IP Address 1>:<port for hostname 1> ()
    status: NOP
    connect time: 29.04.2015 19:47:41
    MPI request:        <0>      MPI response:        <0>     MPI next: <0>
    request_buf_size:   0        response_buf_size:   0
    request_buf_used:   0        response_buf_used:   0
    request_buf_offset: 0        response_buf_offset: 0

[Thr 139978813048576] SiSelEPSelect: start select (timeout=-1)
[Thr 139978587494144] MPI:13 create pipe 0x7f4f506d6888 1
[Thr 139978587494144] MPI<fa>d#1 Open( ANONYMOUS 13 1 ) -> 13
[Thr 139978587494144] MPI<fa>d#2 Open( ANONYMOUS 13 0 ) -> 13
[Thr 139978587494144] Wed Apr 29 19:47:41 2015
[Thr 139978587494144] MPI:6 create pipe 0x7f4f506d5c10 1
[Thr 139978587494144] MPI<fb>6#1 Open( ANONYMOUS 6 0 ) -> 6
[Thr 139978587494144] MPI<fb>6#2 Open( ANONYMOUS 6 1 ) -> 6
[Thr 139978587494144] IcmPlCheckRetVal: Next status: READ_REQUEST(1)
[Thr 139978587494144] IcmReadFromConn(id=1/126): request new MPI (0/0)
[Thr 139978587494144] IcmLowOnBlocks: mpi buffer space free (cur/limit/unreserved): 0/1522/1903)
[Thr 139978587494144] MPI<fa>d#3 GetOutbuf 0 1dd6f8 65536 (0) -> 0x7f4f508b2718 44564480 MPI_OK
[Thr 139978587494144] NiIRead: hdl 768 received data (rcd=688,pac=1,RAW_IO)
[Thr 139978587494144] NiIRead: hdl 768 recv would block (errno=EAGAIN)
[Thr 139978587494144] NiIRead: raw read for hdl 768 timed out (0ms)
[Thr 139978587494144] IcmReadFromConn(id=1/126): read 688 bytes, 1 readops (timeout 0)
[Thr 139978587494144] Address   Offset  IcmReadFromConn received
[Thr 139978587494144] ------------------------------------------------------------------------
[Thr 139978587494144] 0x7f4f508b2760  000000  47455420 2f204854 54502f31 2e310d0a |GET / HTTP/1.1..|
[Thr 139978587494144] 0x7f4f508b2770  000016  41636365 70743a20 6170706c 69636174 |Accept: applicat|
[Thr 139978587494144] 0x7f4f508b2780  000032  696f6e2f 782d6d73 2d617070 6c696361 |ion/x-ms-applica|
[Thr 139978587494144] 0x7f4f508b2790  000048  74696f6e 2c20696d 6167652f 6a706567 |tion, image/jpeg|
[Thr 139978587494144] 0x7f4f508b27a0  000064  2c206170 706c6963 6174696f 6e2f7861 |, application/xa|
[Thr 139978587494144] 0x7f4f508b27b0  000080  6d6c2b78 6d6c2c20 696d6167 652f6769 |ml+xml, image/gi|
[Thr 139978587494144] 0x7f4f508b27c0  000096  662c2069 6d616765 2f706a70 65672c20 |f, image/pjpeg, |
[Thr 139978587494144] 0x7f4f508b27d0  000112  6170706c 69636174 696f6e2f 782d6d73 |application/x-ms|
[Thr 139978587494144] 0x7f4f508b27e0  000128  2d786261 702c2061 70706c69 63617469 |-xbap, applicati|
[Thr 139978587494144] 0x7f4f508b27f0  000144  6f6e2f76 6e642e6d 732d6578 63656c2c |on/vnd.ms-excel,|
[Thr 139978587494144] 0x7f4f508b2800  000160  20617070 6c696361 74696f6e 2f766e64 | application/vnd|
[Thr 139978587494144] 0x7f4f508b2810  000176  2e6d732d 706f7765 72706f69 6e742c20 |.ms-powerpoint, |
[Thr 139978587494144] 0x7f4f508b2820  000192  6170706c 69636174 696f6e2f 6d73776f |application/mswo|
[Thr 139978587494144] 0x7f4f508b2830  000208  72642c20 2a2f2a0d 0a416363 6570742d |rd, */*..Accept-|
[Thr 139978587494144] 0x7f4f508b2840  000224  4c616e67 75616765 3a20656e 2d55530d |Language: en-US.|
[Thr 139978587494144] 0x7f4f508b2850  000240  0a557365 722d4167 656e743a 204d6f7a |.User-Agent: Moz|
[Thr 139978587494144] 0x7f4f508b2860  000256  696c6c61 2f342e30 2028636f 6d706174 |illa/4.0 (compat|
[Thr 139978587494144] 0x7f4f508b2870  000272  69626c65 3b204d53 49452037 2e303b20 |ible; MSIE 7.0; |
[Thr 139978587494144] 0x7f4f508b2880  000288  57696e64 6f777320 4e542036 2e313b20 |Windows NT 6.1; |
[Thr 139978587494144] 0x7f4f508b2890  000304  574f5736 343b2054 72696465 6e742f35 |WOW64; Trident/5|
[Thr 139978587494144] 0x7f4f508b28a0  000320  2e303b20 534c4343 323b202e 4e455420 |.0; SLCC2; .NET |
[Thr 139978587494144] 0x7f4f508b28b0  000336  434c5220 322e302e 35303732 373b202e |CLR 2.0.50727; .|
[Thr 139978587494144] 0x7f4f508b28c0  000352  4e455420 434c5220 332e352e 33303732 |NET CLR 3.5.3072|
[Thr 139978587494144] 0x7f4f508b28d0  000368  393b202e 4e455420 434c5220 332e302e |9; .NET CLR 3.0.|
[Thr 139978587494144] 0x7f4f508b28e0  000384  33303732 393b204d 65646961 2043656e |30729; Media Cen|
[Thr 139978587494144] 0x7f4f508b28f0  000400  74657220 50432036 2e303b20 2e4e4554 |ter PC 6.0; .NET|
[Thr 139978587494144] 0x7f4f508b2900  000416  342e3043 3b202e4e 4554342e 30453b20 |4.0C; .NET4.0E; |
[Thr 139978587494144] 0x7f4f508b2910  000432  496e666f 50617468 2e333b20 4d532d52 |InfoPath.3; MS-R|
[Thr 139978587494144] 0x7f4f508b2920  000448  5443204c 4d203829 0d0a4163 63657074 |TC LM 8)..Accept|
[Thr 139978587494144] 0x7f4f508b2930  000464  2d456e63 6f64696e 673a2067 7a69702c |-Encoding: gzip,|
[Thr 139978587494144] 0x7f4f508b2940  000480  20646566 6c617465 0d0a486f 73743a20 | deflate..Host: |
[Thr 139978587494144] 0x7f4f508b2950  000496  68616e61 6462656e 703a3830 30300d0a |<hostname 2>:<port for hostname 2>..|
[Thr 139978587494144] 0x7f4f508b2960  000512  436f6e6e 65637469 6f6e3a20 4b656570 |Connection: Keep|
[Thr 139978587494144] 0x7f4f508b2970  000528  2d416c69 76650d0a 436f6f6b 69653a20 |-Alive..Cookie: |
[Thr 139978587494144] 0x7f4f508b2980  000544  6864626c 636d7765 625f7265 636f6e65 |hdblcmweb_recone|
[Thr 139978587494144] 0x7f4f508b2990  000560  6374696f 6e5f7631 3d7b7d3b 20787349 |ction_v1={}; xsI|
[Thr 139978587494144] 0x7f4f508b29a0  000576  64xxxxxx xxxxxxxx xxxxxxxx xxxxxxxx |d...............|
[Thr 139978587494144] 0x7f4f508b29b0  000592  xxxxxxxx xxxxxxxx xxxxxxxx xxxxxxxx |................|
[Thr 139978587494144] 0x7f4f508b29c0  000608  xxxxxxxx xxxxxxxx xxxxxxxx xxxxxxxx |................|
[Thr 139978587494144] 0x7f4f508b29d0  000624  xxxxxxxx xxxxxxxx xxxxxxxx xxxxxxxx |................|
[Thr 139978587494144] 0x7f4f508b29e0  000640  xxxxxx20 73617078 736c623d 41363146 |... sapxslb=A61F|
[Thr 139978587494144] 0x7f4f508b29f0  000656  41383333 43304333 34343442 42334638 |A833C0C3444BB3F8|
[Thr 139978587494144] 0x7f4f508b2a00  000672  41464146 43303732 32313144 0d0a0d0a |AFAFC072211D....|
[Thr 139978587494144] ------------------------------------------------------------------------
[Thr 139978587494144] HttpPlugInHandleNetData(rqid=1/126/1): role: Server(1), status: 1
[Thr 139978587494144]   content-length: 0/0, buf_len: 688, buf_offset: 0, buf_status: 0
[Thr 139978587494144] ICT: IctIHttpOpenMessage: 0x7f4f49e34000 typ=1
[Thr 139978587494144] HttpParseRequestHeader: no content length set
[Thr 139978587494144] HttpParseRequestHeader: Version: 1001
[Thr 139978587494144] HttpParseRequestHeader: Keep-Alive: 1
[Thr 139978587494144] HTTP request (raw) [1/126/1]:
[Thr 139978587494144]   GET / HTTP/1.1
[Thr 139978587494144]   accept: application/x-ms-application, image/jpeg, application/xaml+xml, image/gif, image/pjpeg, application/x-ms-xbap, application/vnd.ms-excel, application/vnd.ms-powerpoint, application/msword, */*
[Thr 139978587494144]   accept-language: en-US
[Thr 139978587494144]   user-agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.1; WOW64; Trident/5.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; .NET4.0C; .NET4.0E; InfoPath.3; MS-RTC LM 😎
[Thr 139978587494144]   accept-encoding: gzip, deflate
[Thr 139978587494144]   host: <hostname 2>:<port for hostname 2>
[Thr 139978587494144]   connection: Keep-Alive
[Thr 139978587494144]   cookie: hdblcmweb_reconection_v1={}; xsId95E0470BCDDD58948740EE0F147C5413=XXX; sapxslb=A61FA833C0C3444BB3F8AFAFC072211D;
[Thr 139978587494144] Connection Info: role=Server, local=<hostname 2>:<port for hostname 2>, peer=<IP Address 1>, protocol=HTTP
[Thr 139978587494144] IcrMatchStaticVhosts: system ENP does not match to host header: <hostname 2>:<port for hostname 2>
[Thr 139978587494144] IcrFindTargetSystem: No system found for

[Thr 139978587494144] HttpSrvHdlRequest: method: 1; path: /
[Thr 139978587494144] Handler 0: HttpAuthHandler matches url: /
[Thr 139978587494144] Handler 1: HttpModHandler matches url: /
[Thr 139978587494144] Handler 3: HttpWebDispHandler matches url: /
[Thr 139978587494144] HttpSubHandlerMatch: add reference to table 0x7f4f5e8ec180, now 2 references, 1 tables used
[Thr 139978587494144] HttpSubHandlerCall: Call Handler: HttpAuthHandler (0x7f4f5bdc9f80/0x7f4f5e8ec180), task=TASK_REQUEST(1), header_len=688
[Thr 139978587494144] >> start >> CsiGetInstance(0x7f4f5b826200)
[Thr 139978587494144] << end   << CsiGetInstance(0x7f4f5b826200) returned inst=0x7f4fca2e0e60
[Thr 139978587494144] >> start >> CsiExecute(0x7f4fca2e0e60,0x7f4f4dfb6b40,1,1,0x7f4f4dfb8c40,0x7f4f4dfb8c6c,0)
[Thr 139978587494144] >> VsaScan(0x7f4f5b797500,0x7f4f5b8785c0,0x7f4f5bddc930,0x7f4f5b84d480,NULL) >>
[Thr 139978587494144] << VsaScan(0x7f4f5b797500,0x7f4f5b8785c0,0x7f4f5bddc930,0x7f4f5b84d480,NULL) = 0 <<
[Thr 139978587494144] Wed Apr 29 19:47:41 2015
[Thr 139978587494144] << end   << CsiExecute(CSI_RC==VSI_OK)
[Thr 139978587494144] << end   << CsiFreeInstance(CSI_RC==VSI_OK)
[Thr 139978587494144] HttpSubHandlerItDeactivate: handler 0: HttpAuthHandler
[Thr 139978587494144] HttpSubHandlerCall: Call Handler: HttpModHandler (0x7f4f5bdc9f00/0x7f4f5e8ec180), task=TASK_REQUEST(1), header_len=688
[Thr 139978587494144] HttpModGetDefRules: determined the defactions: COMPAT_HANDLING  (144)
[Thr 139978587494144] HttpModHandler: webdisp: add x-forwarded-for: <hostname 2>
[Thr 139978587494144] HttpModHandler: add clientprotocol: http
[Thr 139978587494144] IcrMatchStaticVhosts: system ENP does not match to host header: <hostname 2>:<port for hostname 2>
[Thr 139978587494144] IcrFindTargetSystem: No system found for
[Thr 139978587494144] IcrMatchStaticVhosts: system ENP does not match to host header: <hostname 2>:<port for hostname 2>
[Thr 139978587494144] IcrFindTargetSystem: No system found for
[Thr 139978587494144] IcrMatchStaticVhosts: system ENP does not match to host header: <hostname 2>:<port for hostname 2>
[Thr 139978587494144] IcrFindTargetSystem: No system found for
[Thr 139978587494144] IcrMatchStaticVhosts: system ENP does not match to host header: <hostname 2>:<port for hostname 2>
[Thr 139978587494144] IcrFindTargetSystem: No system found for
[Thr 139978587494144] addrinfo of '<hostname 1>':
[Thr 139978587494144] 0: <IP Address 2>:0 '<hostname 2>' RAW (2-2-3-0-16)
[Thr 139978587494144] NiHLGetNodeAddr: got hostname '<hostname 1>' from operating system
[Thr 139978587494144] NiIGetNodeAddr: hostname '<hostname 2>' = addr <IP Address 2>

[Thr 139978587494144] HttpModHandler: x-sap-webdisp-ap header added: http=<port for hostname 2>,https=4300
[Thr 139978587494144] HttpModHandler: perform the actions: COMPAT_HANDLING  (144)
[Thr 139978587494144] MPI<fa>d#4 GetOutbuf -1 1cd6c0 65536 (0) -> 0x7f4f508a26e0 44564480 MPI_OK
[Thr 139978587494144] HttpModHandler: serialize new http header
[Thr 139978587494144] ICT: IctHttpCloseMessage( 0x7f4f49e34000 ) -> u=0 rc=0
[Thr 139978587494144] ICT: IctIHttpOpenMessage: 0x7f4f4a6ac000 typ=1
[Thr 139978587494144] Address   Offset  request header rewritten (1 block):

Accepted Solutions (1)

Accepted Solutions (1)

AtulKumarJain
Active Contributor
0 Kudos

Hi TH,

It could be your answer please check the below thread fro similier issue.

BR

AKJ

THorton
Explorer
0 Kudos

Hi AKJ,

Thank you for taking the time to look at this and for responding so quickly.  This issue is resolved.  The problem ended up being the way the aliases were configured in DNS.

Best Regards,

Tommye

Answers (1)

Answers (1)

dvankempen
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi,

For those interested, there is a video on this topic in the SAP HANA Academy:

SAP HANA Academy - SAP HANA Administration: Configure Tenant HTTP Server [SPS 09] - YouTube

Regards,

Denys