I’m using Ubuntu 16.04.7 Virtual Machine on our network to host a tango database. I have installed everything according to the Ubuntu guidelines here:
Ubuntu installation guidelines
Everything installed successfully, but when I run the TangoTest I get the following results:
/usr/lib/tango/TangoTest test
Can't build connection to TANGO database server, exiting
The tango-db.service seems to startup fine:
sudo systemctl status tango-db
● tango-db.service - LSB: Start the tango control system database daemon
Loaded: loaded (/etc/init.d/tango-db; bad; vendor preset: enabled)
Active: active (exited) since Wed 2022-01-12 11:04:31 SAST; 1min 13s ago
Docs: man:systemd-sysv-generator(8)
Process: 4112 ExecStart=/etc/init.d/tango-db start (code=exited, status=0/SUCCESS)
Jan 12 11:04:22 precise64 systemd[1]: Starting LSB: Start the tango control system database daemon...
Jan 12 11:04:31 precise64 systemd[1]: Started LSB: Start the tango control system database daemon.
But when I run the DataBaseds manually, I get this:
/usr/lib/tango/DataBaseds 2 -ORBendPoint giop:tcp::10000
main(): arrived
/usr/lib/tango/DataBaseds: symbol lookup error: /usr/lib/x86_64-linux-gnu/libtango.so.8: undefined symbol: _ZN9log4tango6LoggerC1ERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEi
Also, I saw this logging error in the mysql.service:
sudo systemctl status mysql
● mysql.service - LSB: Start and stop the mysql database server daemon
Loaded: loaded (/etc/init.d/mysql; bad; vendor preset: enabled)
Active: active (running) since Thu 2022-01-13 14:17:48 SAST; 1h 44min ago
Docs: man:systemd-sysv-generator(8)
Process: 3647 ExecStart=/etc/init.d/mysql start (code=exited, status=0/SUCCESS)
CGroup: /system.slice/mysql.service
├─3749 /bin/bash /usr/bin/mysqld_safe
└─3900 /usr/sbin/mysqld --basedir=/usr --datadir=/var/lib/mysql --plugin-dir=/usr/lib/mysql/plugin --user=mysql --log-error=/var/log/mysql
Jan 13 14:18:46 precise64 systemd[1]: Starting LSB: Start and stop the mysql database server daemon...
Jan 13 14:18:48 precise64 mysql[3647]: * Starting MariaDB database server mysqld
Jan 13 14:18:48 precise64 /etc/init.d/mysql[3750]: 220113 14:18:48 mysqld_safe Can't log to error log and syslog at the same time. Remove all --log-
Jan 13 14:17:48 precise64 mysql[3647]: ...done.
Jan 13 14:17:48 precise64 systemd[1]: Started LSB: Start and stop the mysql database server daemon.
What am I missing?