This error is most likely due to the fact that the communication with Elasticsearch server has been stopped.
curl -XGET http://[ES server address]:9200
docker-compose restart
in the folder where the configuration files of ChemLocator were installed)If documents are not found when searching check the following:
If indexing is not porgressing after some considerable time it could be possible that some ChemLocator processes have been closed by the host due to insufficient memory (this can be checked by cheking the host logs, e.g. output from command journalctl | grep "Out of memory"
: Out of memory: Kill process 19165 (dotnet) score 695 or sacrifice child).
If this is the case an additional check can be performed by running the following command on the Docker host server (replace chemlocator_chemlocator_1 with the one that is running on your server):
The expected output should contain a process with the following command: dotnet /app/ChemLocator.dll server -r 23
.
If this process is missing please restart ChemLocator containers:
After the container starts, the indexing process will resume and the documents that previously did not finish indexing will be indexed again.
When the following error occurs during "Substructure search”, you need to start jchem-psql service manually:
Open a command prompt and find the id of jpc-chemlocator container:
$ docker ps -a
Then enter into the container by issuing the following command:
$ docker exec -it d5876a3561a1 /bin/bash
Check if service is really not running:
$ service –status-all
As it looks service is indeed not running, so let’s start it with:
$ service jchem-psql start