Skip to Content

Hana Express Addition 2 SPS2 Installation on Personal Laptop

Hello All,

I have been trying to install Hana Express Edition 2 SPS2 since some time but running into issues post installation.

I have followed all the videos on Hanaacademy and tried both server and server(+application) options on Vmware playstation 14. Installation goes fine. And I was able to use Webide, XS advanced and Hana DB using Eclipse Oxyzen. The issue comes after I restart my laptop. I normally do a HDB stop and then supending the virtual machine.

After restart, If I do a HDB start, and try to connect to DB using Eclipse. it gives me error saying "SAPcontrol request failed?

Is it something to do with my laptop configuration, can someone please help here?

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • Best Answer
    Mar 21 at 06:15 AM

    Hello Ajay,

    This sounds as if the sapstartsrv does not like to be suspended. Try to shutdown your SAP HANA, express edition instead:

    sudo shutdown -h now

    Or try to reboot after resuming it:

    sudo shutdown -r now

    Best regards

    Frank

    Add comment
    10|10000 characters needed characters exceeded

  • Mar 21 at 08:59 AM

    Hi Ajay,

    Frank is right.

    You are doing a great job by first shutting down the SAP HANA instance stop before suspending the VM. However, after suspending the instance, you need to just shutdown the OS as well. There is no benefit in just suspending the VM as the OS part of the boot is really quick.

    The sapcontrol architecture comes from the SAP Netweaver AS ABAP technology, which was designed and developed long before virtualization (at least in the current usage).

    If you are interested in how sapcontrol and sapinit work, I posted a blog on this topic not so long ago:

    https://blogs.sap.com/2017/10/06/sap-hana-under-the-hood-sapinit-and-sapstartsrv-by-the-sap-hana-academy/

    ==

    You could put the lines in a script in the hxeadm home directory, e.g.

    $ vi stopVM

    #!/bin/bash
    # Shutdown SAP HANA, express edition the proper way
    # run as hxeadm
    HDB stop
    sudo shutdown -h now

    $ chmod 755 stopVM

    Regards,

    Denys / SAP HANA Academy

    Subscribe to our YouTube Channel
    Join us on LinkedIn
    Follow us on Twitter
    Github code samples

    Facebook

    Add comment
    10|10000 characters needed characters exceeded

  • Mar 24 at 01:00 AM

    Thanks a ton, Frank & Denys. It worked with "Sudo shutdown -h now" and later a simple "HDB start" for my server only installation.

    Add comment
    10|10000 characters needed characters exceeded