cancel
Showing results for 
Search instead for 
Did you mean: 

How to check if HANA XS is working properly?

lukaszc
Participant
0 Kudos

Hi,

I wrote a simple "Hello World" application for HANA XS. But I cannot make it running.

How can I check if my HANA XS is working and if not why?

In the landscape view xsengine shows as green, in logs and traces there are no errors. When I go to the URL http://myserver:8000 or http://myserver:8000/status there is nothing displayed.

Thanks in advance for any tips.

Best regards

Lukasz Chomin

Accepted Solutions (1)

Accepted Solutions (1)

lukaszc
Participant
0 Kudos

I've upgraded my HANA to Rev.47 but no luck to access HANA XS yet.

Is there anything what can I check to find out why it's not working?

lukaszc
Participant
0 Kudos

The issue was caused by a firewall setting on SAP HANA appliance.

Once I added a rule for port 8000 everything works like a charm.

Dan_Wroblewski
Developer Advocate
Developer Advocate
0 Kudos

Great, Lukasz.

Was this a setting you made in your network or is this a rule you set within the SAP HANA studio?

lukaszc
Participant
0 Kudos

Hi Daniel,

I had to amend a firewall configuration on SAP HANA Fujitsu appliance (by using Yast tool).

former_member184871
Contributor
0 Kudos

Daniel Wroblewski,  & Lukasz Chomin

Today I am facing the same problem http://myserver:30115 or http://myserver:30115/status on web browser shows "The page cannot be displayed" and in HANA studio I am not able to see the green light.

I have tried several times by re-starting the HDB server from the cloud as well as through putty (using ./HDB stop and start), I have also tried the above mention solution i.e. use the port 8000, but nothing seems to be working .

Can you please help me with some solution??

I am using KT - HANA Cloud Instance.

Awaiting your response.

Regards

Kumar. 

lukaszc
Participant
0 Kudos

Hi Kumar,

Firstly you have to have green lights next to each SAP HANA service to be sure that your HANA server is properly running. Please check in SAP HANA Studio -> Administration -> Diagnosis Files for possible reasons why your service/services are not running.

If you are asking how to open SAP HANA XS home page I think you are opening it on a wrong port. By default it should be 8000. I have no idea what has been configured on 30115 in your instance. By default the SAP HANA database port is 30015.

You can also check if you have all required ports allowed in your firewall configuration.

Best regards

Lukasz Chomin

former_member184871
Contributor
0 Kudos

Lukasz Chomin

Thanks for your reply, I re-configured the firewall settings, and everything started working .

For KT - HANA instance you can refer http://scn.sap.com/docs/DOC-33268 for port configuration

Regards

Kumar.

Former Member
0 Kudos

Hi Lukasz,

I wrote a simple "Hello World" application for HANA XS. But I cannot make it running.

I am not able find out what details should I provide for this link to open the application in HTML or in server side javascript. ie. "http://<domain>:80<instance #>"

In the landscape view xsengine shows as green. But "sapstartsrv" is in yellow mode. I have connected to HANA DB from my local machine.

Is there anything what can I check to find out why it's not working?

Thanks in advance for any tips.

 

Avijit

Former Member
0 Kudos

I have figured out the issue and solved the problem. I had to install and import the SAPUI5 package for same. i can run both

http://<hana_server>:8000/sap/ui5/1/sdk/index.html and

http://<hana_server>:8000 on my local machine..

Avijit

Answers (2)

Answers (2)

Former Member
0 Kudos

For all the folks who are using SAP HANA free 30 days Sandbox access and running it on cloudshare environment should use the below:

1.) Instead of http://myserver:8000 it will be http://hanasvr-01:8000. In my case the hana host name in the invitation was hanasvr-01. You should replace hanasvr-01 with your host name.

Thanks,

KP

Former Member
0 Kudos

I am using Cloudshare and I am NOT able to get XS page to show up.

- Status for XS engine is green (running).

- I am using HANA SP06

- HANA Studio version 1.0.68

-Tried http://servername-00:8000 or http://servername:8000/ - both NOT working

Any help on Where is the configuration for looking at the ports (in Cloudshare environment)

Thanks

Prabhu

Former Member
0 Kudos

Hi,

is it ur instance is in AWS?

if yes then check in the

Network Security ---> Security Groups --> if the Port 8000 is existing or not, if not you should create an

Port of 8000

Add rule --> 8000 -->Apply changes

Then try with ip:8000

Hope this will be helpful for you.

Thanks,

Thara

Dan_Wroblewski
Developer Advocate
Developer Advocate
0 Kudos

Lukasz,

In the browser, it should say XS is up and running if you enter http://myserver:8000. Did the application get deployed properly?

Remember, the port is 80<instance number>. Also, I believe https is off by default, but if it is on then you need this.

Daniel

P.S.: Where did you learn how to build the HelloWorld application?

lukaszc
Participant
0 Kudos

Hi Daniel,

Unfortunately server doesn't return anything when I try to open http://myserver:8000.

My instance number is 00 and I tried both http and https without any results.

From the linux console when I'm checking open ports with a command netstat -ano | grep "8000" I get:

tcp        0      0 0.0.0.0:8000            0.0.0.0:*               LISTEN      off (0.00/0/0)

For me it seems that there is something wrong with xsengine but I have no idea how to troubleshoot it.

As my tutorial I follow the SAP HANA Developer Guide (http://help.sap.com/hana/hana_dev_en.pdf).

Lukasz

Former Member
0 Kudos

Hi Daniel,

Need your help I am using SAP Hana Studio sandbox environment hosted by cloudshare. I also tried to write the hello world application and http://myserver:8000/ and it failed. Can you share how to rectify for cloud share because I am not able to change firewall settings in cloudshare.

I checked for Green light and the HANA XS is working properly.

Thanks,

KP