The Tango DB server is essential for the Tango operation.
sudo /bin/systemctl restart tango-db
sudo /bin/systemctl stop tango-db
sudo /bin/systemctl status tango-db
When the service is active:
$ sudo /bin/systemctl status tango-db
* tango-db.service - Tango database service
Loaded: loaded (/etc/systemd/system/tango-db.service; enabled; vendor preset: enabled)
Active: active (running) since Tue 2020-05-12 15:51:06 CEST; 3min 49s ago
Main PID: 2172 (DataBaseds)
Tasks: 30 (limit: 4915)
CGroup: /system.slice/tango-db.service
`-2172 /usr/lib/tango/DataBaseds 2 -ORBendPoint giop:tcp::10000
...
When the service is NOT active:
$ sudo /bin/systemctl status tango-db
* tango-db.service - Tango database service
Loaded: loaded (/etc/systemd/system/tango-db.service; enabled; vendor preset: enabled)
Active: inactive (dead) since Tue 2020-05-12 15:55:57 CEST; 3s ago
Process: 2172 ExecStart=/usr/lib/tango/DataBaseds 2 -ORBendPoint giop:tcp::10000 (code=exited, status=0/SUCCESS)
Main PID: 2172 (code=exited, status=0/SUCCESS)
...
sudo /bin/systemctl start tango-db
if status tango-db shows this service to be inactive
if 'ps -aux | grep DataBase' does not show
'/usr/lib/tango/DataBaseds 2 -ORBendPoint giop:tcp::10000'