Tango 8.1.2 on Ubuntu 16.04 (configure tango-db)
|
|
---|---|
Noob question again. Thought it was trivial but don't find a specific answer. Having upgraded from ubuntu 14 to 16, I'm trying to set up a test tango server by the path of minimal effort. I got the stock distribution packages listed below. Now jive complains TangoApi_DATABASE_CONNECTION_FAILED, which would make sense because I never configured the database. In fact, as per the video on the readthedocs page (for ubuntu 14), I never get to the configuration dialog with dbconfig-common. What am I missing (possibly a simple CL command)? Thanks, Enrico
|
|
|
---|---|
Hi Enrico, I would try:
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. |
|
|
---|---|
Right, thanks Reynald, that brings up the configurator. However, creating the database and leaving all the default values (including empty passwords as recommended by the video), I end up with
and still no joy with jive. What am I missing next? I have been trying removing and reinstalling packages and this was not my first attempt, so if there is something dependent on the order of installation I may be getting it wrong. |
|
|
---|---|
Hi, It looks like you are running into a bug due to some incompatibilities between MySQL releases which was fixed in: https://github.com/tango-controls/TangoDatabase/commit/c5915b3a2c5133e6f4e3416a8d2f293fc64b97f2 This should be fixed in tango9. 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. |
|
|
---|---|
IIUC then to use 9 I have to compile it from source, or maybe to upgrade to ubuntu 17, I wanted to avoid that for now… Another variance with the video, which is for ubuntu 14: I cannot get libtango-java from 'deb http://ppa.launchpad.net/tango-controls/core/ubuntu precise main', that would lead to dependency problems with libzmq3. There is no xenial ppa, so I downloaded https://people.debian.org/~picca/libtango-java_8.1.2.c-1_all.deb |
|
|
---|---|
Hi, For me it works:
You can fetch more details at https://github.com/nexdatas/writer/blob/master/.travis/install.sh and https://github.com/nexdatas/writer/blob/master/.travis/ubuntu16.04/Dockerfile Best regards, Jan |
|
|
---|---|
Thanks, that brings me perhaps one step forward: (have tried variations removing/reinstalling in different order too). I am not familiar with Docker, are the files you pointed at supposed to help me in this too?
|
|
|
---|---|
Have you started from the scratch, i.e. after removing the old installation tango-db by :
(If it does not work correctly you may need also in mysql to execute: DROP DATABASE tango;) From the above errors you need also unset the empty db port in `/etc/dbconfig-common/tango-db.conf`, e.g.
and grant privileges to the tango user in mysql, e.g.
or/and add the $HOME/.my.cnf file with:
|
|
|
---|---|
janBingo! that, followed by just did it. Thanks for the help,Enrico |