Objective
This article aims to describe the steps to follow when the V9 NMT engines return source as target i.e results non translated.
Steps to follow
From the server terminal:
Check the number of services under docker:
docker service ls
The results should look in general:
If the number of replicas under the trm_translator proxy or trm id_of_the_tr is 0 out of x i.e 0/1 or 0/2 then do the following:
systemctl stop systran-translation-resource-monitor.service
docker network rm trm_proxy_network
docker swarm leave
docker network rm docker_gwbridge
systemctl stop docker
sleep 5
systemctl start docker
systemctl start systran-translation-resource-monitor.service
If the attempt of leaving docker swarm prompts an error then use the following:
docker swarm leave --force
and then repeat the rest
Now the services should be established, to check that
docker service ls
You should have the node listed under the replicas.