cancel
Showing results for 
Search instead for 
Did you mean: 

HANA XE Edition on Docker with Ubuntu Host - Installation Problems

TomHoepping
Participant
2,074

Hi SAP Community

I'm trying to install Hana XE on Apple Silicon / M1 Mac. After several unsuccessful attempts I ended up with the following approach/setup:

  • Mac OS with UTM
  • Ubuntu Server (20.04.4) VM on UTM in Emulation Mode (Should behave like x86 Architecture)
  • Docker with following Image SAP HANA Express Edition

During initial installation/run of the image, I always get the following error, which I can't explain. I've have the feeling, that this error has more to do with the Ubuntu installation.

What can I do, try to further investigate this error? Log files in xe mount folder say basically the same, like terminal output.

/hana/hooks/pre_start/310_init_ssfs: line 16:   592 Illegal instruction     (core dumped) hdbnsutil -createSecureStore<br>

I've tried several things:

  • resizing the vm's memory up to 15GB
  • resizing vm harddisk
  • fresh ubuntu installation, run docker with/wo root mode

Also what is not really clear to me from different tutorials/guides -> does the docker image need a specific user inside the host environment? Saw some questions/comments on sap community and GitHub which points in this direction.

Thx & Bests Tom

Accepted Solutions (1)

Accepted Solutions (1)

TomHoepping
Participant

With some time, I found the mistake by myself (hint was that the same error occurred on freshly installed sles micro edition).

Basically there where some mistakes in the utm vm configuration about the processor flags.

Attached is the right combination.

biswajit1989
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Tom,

Are you able to install Hana locally in M1 mac? I have also tried installing hana docker in ubuntu VM but got similar error as yours. So you installed hana docker in ubuntu VM or in SLE ?

Thanks.

Regards,

Biswajit

TomHoepping
Participant
0 Kudos

Hi biswajit1989

Yes, finally it worked with UTM/Ubuntu Server. Solution for me was, so set the processor flags in the way supposed by pawelwiejkut How to install ABAP 1909 on Mac M1 (Apple Silicon). Also choose an intel processor for simulation.

Before I had the same error on ubuntu as well as on sles.

Bests Tom

biswajit1989
Product and Topic Expert
Product and Topic Expert
0 Kudos

Thank you very much tom.hpping3 . I am able to setup hana docker in M1 Mac.

biswajit1989
Product and Topic Expert
Product and Topic Expert
0 Kudos

tom.hpping3

Now I am facing another issue. Mac is not able to connect to ubuntu server with VPN enabled .Hence not able to work in hana.

Are you using VPN in Mac? Have you came across such issue?. I tried changing network setup in UTM but it's not working.

Thanks.

TomHoepping
Participant
0 Kudos

Hi biswajit1989

Strange. I'm using a virtual network card in my utm with port forward. This works pretty good.

But during my research, I came across some blog post from other sap employees which had the same problem with their vpn. Did you tried to deactivate vpn?

biswajit1989
Product and Topic Expert
Product and Topic Expert
0 Kudos

Thanks tom.hpping3 for the information. I will try port forwarding option.

I am using Bridge network mode in UTM. I am able to connect to ubuntu with VPN enable by adding the ip of ubuntu server to ip tables of Mac.

command : sudo route add -host ubuntuserveripaddress gatewayipaddress

Answers (1)

Answers (1)

former_member798
Employee
Employee
0 Kudos

tomhoep I get the below error:

I have a 16 GB M1 mac when I use x86_64 archicture it gives me the b elow error . But If I use ARM64 archicture instead I get it working perfectly.Please let me know how to fix it.

ERROR: ->qemu-x86_64-softmmu: combined size of system firmware exceeds 8388608 bytes
hanaexpress edition docker image is not getting started in ARM64. Please let me know how to fix this issue,container gets exitted when I start it the log says 

ERROR while starting docker:

exec format error

Please let me know how to fix this issue.

TomHoepping
Participant
0 Kudos

amitkr936 Hi Amit

I'm a bit confused. So with x86 it is not working but with ARM64?
Anyway, my approach was to use utm and emulate an x86 architecture with processor-flags like in above screenshot. Inside utm I had an ubuntu linux running with docker. What is your general setup? Bests Tom

former_member798
Employee
Employee
0 Kudos

tom.hpping3

x86 architecture is giving me Error:

Failed unmounting /cdrom

I have applied all the flags and did all the configurations in my System