SOLVED: Installing Tango on Rocky Linux 8 or 9
|
|
---|---|
Hi, does anyone have tried to install Tango on a Red Hat compatible Linux distro like Rocky Linux? I'm trying the installation with the help of a custom Ansible playbook, but at the end in both Rocky 8 and 9, the starter daemon segfaults with the following error (on a Rocky Linux 8):
The databaseds seems to run correctly. Some details on libraries installed: - mariadb 10.3 (on Rocky 8), 10.5 (on Rocky 9) - omniORB 4.2.2 - zmq 4.3.4 - Tango 9.3.5 (on Rocky 8), 9.3.6 (on Rocky 9) Thank you! Best regards, Cristiano Urban. |
|
|
---|---|
Hi Cristiano, What version of the Starter Device Server are you using? Could this be related to the following issue which has been solved recently? –> https://gitlab.com/tango-controls/starter/-/issues/24 Could you try to compile the Starter from the Starter main branch and check whether the problem is still there on the Starter git repository main branch? Thanks for your feedback! 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 Ooops, I meant 9.3-backports branch, not the main branch, since you are using cpptango 9.3.x Sorry for the confusion.
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. |
|
|
---|---|
Hi Reynald, thank you for your answer, I've made some tests and I report some details here below. All the tests have been made on Rocky Linux 8 with the very same configuration of the initial post, except for the version of Tango: this time I used the v9.3.6. In the next period I think I will do more detailed tests also on Rocky Linux 9. The Starter version should be v7.6 according to the CHANGELOG in the cppserver folder. Anyway, I tried to compile and run the Starter separately, as you advised me:
So, in this case, it seems to run without crashing. —– I've also tried to apply the patch you linked me.
Then I've compiled Tango again, after having uninstalled the previous installation. Here below, the configure:
Unfortunately, this patch does not seem to solve the issue. I attached to this post my ansible scripts, if that helps in some way. Cristiano. |
|
|
---|---|
Hi, ok, I think I figured out what the problem was: environment variables of the systemd units were not read correctly from config files. I've attached here below a new version of my ansible scripts, just to make it available. I tested them only on Rocky 8 for now. I think we can mark this thread as SOLVED. Thank you! Cheers, Cristiano. |
|
|
---|---|
Hi! I only saw this thread now. I just wanted to mention that we maintain some Tango RPMs. See https://gitlab.com/tango-controls/RPM/tango-spec You can install them from Copr @tango-controls/tango or from MAX IV public repo. They are available for Rocky 8. We haven't built them for Rocky 9 yet. |