on ‎2017 Apr 25 1:14 PM
Hi, I am following "Installing SAP HANA Smart Data Streaming". While running install_sds.sh I am getting "database 'HXE' is unavailable SQLSTATE: HY000".
Database ist up and running. Connection in HANA studio works fine.
I suspect it has something to do with tenant. When doing /usr/sap/HXE/HDB90/exe/hdbsql it works with option -n hxehost:39013 or 39041 (ports according to note 2316463).
It is not clear to me how this can be achieved in the parameters of the install_sds.sh
Thanks Klaus
Request clarification before answering.
Can you login to SYSTEMDB and run:
ALTER SYSTEM START DATABASE HXE
then try "install_sds.sh" again?You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
This solves the first issue. Thanks a lot!
However now I am stuck during the installation process (VMWare 12 GB on an Windows 16GB host). It now hangs about an hour at this step (see screenshot below). System monitoring in HANA studio is not possible (timeout when trying to connect to server) I have to leave now and let this running. I will keep you informed.

Can you check/post the log files /var/tmp/sdsinst.log and /var/tmp/hdblcm.log?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
So far there is no /var/tmp/sdsinst.log.
I posted /var/tmp/sdsinst.log and a logfile in a subfolder hdb_HXE_hdblcm_update_...
var-tmp-hdb-hxe-hdblcm-update-hdblcm.txt
Thanks Klaus
Hi all,
just to inform how this story went on.
The answer of Tai Le solved the issue and then installation started. After installing some packages it seemed to hang at step "Installing Streaming Server".
After 2 hours the output of the installer script resumed.
Again it took a while in step "Startimg Streaming Server". Now everything seems to be o.k. At least I could do "8.4 Configure the Streaming Studio Plugin" without any problems.
HDB info shows hdbstremingserver.
Best regards, Klaus

You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Andrzej,
still working. It is now about an hour at step "Add HXE database streaming --> Initialize streaming service".
> Usually when done there is a location of installer trace file printed out.
Correct. However I can't access this file at the moment (FileZilla is getting timeout). Or should I stop the system and upload the logfile?
Thanks
Klaus
I am confused as well exactly what step allowed SDS install to proceed. If tenant database HXE was already running then the SQL to start it doesn't do anything. My guess is that your VM is so slow that tenant database wasn't fully started yet when you tried running SDS installer for the first time. Then the 2nd time it was ready. I haven't seen that before thou.
Hi all,
Thanks for your answers.
> hdbsql -i 90 -d HXE -u SYSTEM -p <password>
Does not work. Same errormessage as from the installer.
However this works: hdbsql -i 90 -n hxehost:39013 -u SYSTEM -p <password>. This connects to SYSTEMDB.
hdbsql -i 90 -n hxehost:39041 -u SYSTEM -p <password>. This connects to Tenant DB.
Screenshot of installer below. And yes: this is repeatable. Thanks Klaus

You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Tai,
I created this (following this: https://github.com/saphanaacademy/Live5/blob/master/create%20tenant%20database.sql )
Currently situation is as follows:
hdbsql -i 90 -n hxehost:39041 -u SYSTEM -p <password> connects to Tenant DB I created (works now and worked before)
hdbsql -i 90 -d MYTENANT -u SYSTEM -p <password> connects to Tenant DB I created (did not work before).
hdbsql -i 90 -d HXE -u SYSTEM -p <password> connects to HXE tenant that came with installation (did not work before).
hdbsql -i 90 -n hxehost:39013 -u SYSTEM -p <password> does not work any more (worked before and connected to HXE tenant)
Anyway: Connection from HANA studio works fine to both (tenant HXE and MYTENANT). Data Streaming works from Eclipse plugin. So I am all set for the moment 🙂
Best regards, Klaus
Also Klaus could you show console output from the install script so that we can see at what point it failed?
Thanks again.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Klaus,
Could you please attach installer trace output? Also, is this issue repeatable i.e. have you try running install again?
Regards,
Andrzej.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Can you login to the tenant database with "hdbsql -i <instance> -d <db>"?
Example:
hdbsql -i 90 -d HXE -u SYSTEM -p <password>
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 6 | |
| 6 | |
| 4 | |
| 4 | |
| 3 | |
| 3 | |
| 2 | |
| 2 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.