cancel
Showing results for 
Search instead for 
Did you mean: 

HXE Server + Apps on Docker not able to start container

Phillip_P
Product and Topic Expert
Product and Topic Expert
0 Kudos
3,111

Hi,

Trying to get HXE server + apps working on docker as per the following

https://www.sap.com/uk/developer/tutorials/hxe-ua-install-using-docker-xsa.html

The container doesnt start, the following error:

FAIL: process hdbxsexecagent HDB XS Execution Agent not running

The first possible error I notice is:

nameserver hxehost:39001 not responding

Anyone managed to get this container working on Docker? the Server only version works but not the Server + Apps version.

View Entire Topic
lcasavola
Explorer

Hi guys,I worked out the issue,

I removed the container and restarted it with the added option "--dont-exit-on-error".

In this way I have had time to inspect the system and looked around the step process and finally discovered that the stager command ( actually a java program) wrote other log informations under /hana/shared/HXE/xs/controller_data/controller/tracing/log

In the file controller_0.log I found the useful indications ( a java exception):

[2018-06-26 20:44:39:467]-[Controller.Admin]-[error]-[controller]-[startup]: Could not startup the controller components: /hana/shared/HXE/xs/app_working/stager

java.nio.file.DirectoryNotEmptyException: /hana/shared/HXE/xs/app_working/stager

at sun.nio.fs.UnixCopyFile.move(UnixCopyFile.java:500)

at sun.nio.fs.UnixFileSystemProvider.move(UnixFileSystemProvider.java:262)

at java.nio.file.Files.move(Files.java:1395)

at com.sap.xs2rt.server.impl.fileaccess.FileAccessBasic.move(FileAccessBasic.java:238)

at com.sap.xs2rt.controller.impl.staging.StagerImpl.reliablyMove(StagerImpl.java:1841)

at com.sap.xs2rt.controller.impl.staging.StagerImpl.<init>(StagerImpl.java:542)

at com.sap.xs2rt.controller.staging.StagerFactory.createSynchronized(StagerFactory.java:59)

at com.sap.xs2rt.controller.impl.ControllerImpl.startUpInternal(ControllerImpl.java:1288)

at com.sap.xs2rt.controller.impl.ControllerImpl.startUp(ControllerImpl.java:789)

at com.sap.xs2rt.controller.impl.ControllerConsole.main(ControllerConsole.java:723)

Hence, the folder /hana/shared/HXE/xs/app_working/stager is not empty. Probably it has created in docker image and the setup process fails because he wants it empty.

In my case I solved the problem just removing such folder and restart all

I don't know exaclty how to restart hana express, in my case I used the command

sapcontrol RestartSystem ALL

Now by accessig the web page https://hxehost:39030/ I get the system is up and running.

Unfortunately I have now another problem, I cannot autenticate to the system, the password provided with the json file seems not to be imported and I don't know which other password to use:

hxeadm@hxehost:/usr/sap/HXE/HDB90/hxehost/trace> hdbsql -i 90 -u SYSTEM -d SYSTEMDB
Password:
* 10: authentication failed SQLSTATE: 28000

Is there a way to reset the password or just provide a default one ?

For example I found onhanaexpress docker 's entrypoint shell ( /run_hana ) a reference to HXEHana1 ( declare system_password=HXEHana1 )

but unfortunateli it doesn't work.

Please Help!

lcasavola
Explorer
0 Kudos

Hi again, I have un update,

acctually HXEHana1 works, after connecting the system asks to enter a new password.

Phillip_P
Product and Topic Expert
Product and Topic Expert
0 Kudos

Thanks for the update Luca, this worked for me too on Fedora Server 28.