Start TangoTest Error
|
|
---|---|
Hey, I followed windows installtaion steps, i set my system variables. I have tango user with tango password on my MariaDB MySql db Here is output of my commands: create-db.bat - worked start-db.bat "main(): arrived main(): export DataBase as named servant (name=database) Ready to accept request" —– i think it is correct as well. The next step of the instruction is to start TangoTest, but when i do that: .\start-tangotest.bat test "Can't build connection to TANGO database server, exiting" Anyone can help me with that? If not system variables what could that be? |
|
|
---|---|
Hi, here are some things to check: (1) Check the TANGO_HOST variable by typing "set". It should point to the host where the database is running. Maybe you need to open a new windows shell to get the right setting. (2) Try starting the jive program. What is your network setup? Andy |
|
|
---|---|
Hey, thanks for replying. Jive works, astor as well. I checked TANGO_HOST, is is correct: mypcname:port. I send an attachment showing astor and jive. About that variable - maybe it is set correclty as system variable , but port number is set wrong somwhere in MySQL database. How can i check it? Greetings |
|
|
---|---|
Hi, What do you mean by "maybe it is set correctly as system variable"? When you type at the command prompt (in cmd.exe), you should see the value of the TANGO_HOST environment variable among all the other environment variables. It looks like TangoTest has a problem connecting to the Tango Database server CORBA object. As far as I know, to do that, it simply tries to connect to the host and port defined in the TANGO HOST environment variable. It will not go to MySQL database to do this job. It looks like your Database server is running since you can use jive. In jive, can you try to select the database server device, then right-click and "Test device"… In the Test Device Panel, try to execute the command DbGetCSDbServerList. You should see your TANGO_HOST host and port as an answer. Is this what you get? Kind regards, Reynald
Rosenberg's Law: Software is easy to make, except when you want it to do something new.
Corollary: The only software that's worth making is software that does something new. |
|
|
---|---|
Reynald, I meant that TANGO_HOST is set correctly ( set shows mypcname:port ) but maybe mysql db (I am using MariaDB) was not set properly somewhere during installation.But reading your entire post it seems that it's not the case. My output of DbGetCSDbServerList command:
My TANGO_HOST = DESKTOP-FIOK7GU:20000 I also have tried to start the example DS from: http://www.taurus-scada.org/en/latest/devel/examples.html and I have encountered the exact same errrr ( attachment ) |
|
|
---|---|
Hi, Do you have one or multiple network interfaces ? If not, can you try with your id address instead of your pc name for the Tango_Host variable ? karollo93 |
|
|
---|---|
IT WORKED!! Changing TANGO_HOST to MY_IP_ADDRESS:PORT solved the problem. I have been pulling my hair out for almost 2 days, so I really appreciate your help guys. :) Greetings |