Hello, Libor,
Sorry you'e having problems trying to run Enterprise Search.
If you're using some kind of minimal CentOS environment, there may be an issue with the fact that nowadays Java tries to be smart about picking the right locale and, when locales are missing on the underlying OS, it falls back to some defaults that do not work with Enterprise Search. We have seen this in our Docker containers for example. Here is a Github issue discussing that behavior: Default locale is set to en_US.UTF-8 but it's missing · Issue #71 · CentOS/sig-cloud-instance-images · GitHub and the Redhat bug for the underlying problem: 1677927 – Unable to invoke localedef to UTF-8: cannot read character map directory `/usr/share/i18n/charmaps'.
Anyways, what you can try to fix is is to install (or reinstall) the english locale. Depending on the CentOS version:
For 7.x:
yum -y reinstall glibc-common
localedef -i en_US -f UTF-8 en_US.UTF-8
For 8.x:
yum -y install glibc-langpack-en
I hope this helps.