Jump to content

ESET Management Agent cannot be installed in the Linux Server [Centos7]


You2022
 Share

Recommended Posts

Dear Support,

We currently start to use ESET products in our Linux servers, I start to setup ESET management agent using agent live package provided from ESET Protect.

[10:53:02-root@ip-172-31-20-123:~/ESET]$ ./PROTECTAgentInstaller.sh 
ESET Management Agent live installer script. Copyright © 1992-2021 ESET, spol. s r.o. - All rights reserved.
 * Hostname: nameserver.com
 * Port: 2222
 * Installer: hxxp://repository.eset.com/v1/com/eset/apps/business/era/agent/v9/9.0.2141.0/agent_linux_x86_64.sh

Downloading ESET Management Agent installer...
./PROTECTAgentInstaller.sh: line 86: wget: command not found
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 43.0M  100 43.0M    0     0  31.1M      0  0:00:01  0:00:01 --:--:-- 31.1M
Checking integrity of installer script /tmp/tmp.3Z0UUXJDWK: OK

Running installer script /tmp/tmp.3Z0UUXJDWK

Initialized log file: /var/log/eset/RemoteAdministrator/EraAgentInstaller.log

ESET Management Agent Installer (version: 9.0.2141.0), Copyright © 1992-2021 ESET, spol. s r.o. - All rights reserved.

Creating directories...
Creating 'install' directory path: /opt/eset/RemoteAdministrator/Agent
Creating 'config' directory path: /etc/opt/eset/RemoteAdministrator/Agent
Creating 'data' directory path: /var/opt/eset/RemoteAdministrator/Agent
Creating 'Pki Cache' directory path: /var/opt/eset/RemoteAdministrator/Agent/pki.eset.com/
Creating 'logs' directory path: /var/log/eset/RemoteAdministrator/Agent
Creating 'libs' directory path: /opt/eset/RemoteAdministrator/Agent
Directories created
Cleaning database scripts from path: /opt/eset/RemoteAdministrator/Agent/setup/Database
The archive will be extracted to: /opt/eset/RemoteAdministrator/Agent
Extracting, please wait...
Checking OpenSSL ... done [OpenSSL 1.0.2k-fips 26 Jan 2017]
GUID loaded from config-file with value: c35f3f6f-951c-4856-a39e-afae9664a376
Installed version loaded from config-file is: 9.0.2141.0
Checking installed version ...
Status of current installation is: REPAIR
Reading previous configuration settings
Previous configuration read ('hostname': '', 'port': 2222)
New connection settings are 'hostname': 'servername.com', 'port': 2222
Checking server connection...
Connection checked successfully.
Loading correct GUID...
Loading of GUID was successful (new GUID = c35f3f6f-951c-4856-a39e-afae9664a376)
Checking peer certificate ... done
Creating config file: /etc/opt/eset/RemoteAdministrator/Agent/config.cfg ...
Creating 'modules' directory path: /var/opt/eset/RemoteAdministrator/Agent/Modules/
Moving ESET Modules from '/opt/eset/RemoteAdministrator/Agent/setup/Modules' to /var/opt/eset/RemoteAdministrator/Agent/Modules/... 
Reading database status...
Failed reading database.
1211: Error '2' occurred while reading database: Current locale settings are invalid
Cleaning up setup directories

My Linux Distribution is Centos7 

[10:53:08-root@ip-172-31-20-123:~/ESET]$ cat /etc/os-release 
NAME="CentOS Linux"
VERSION="7 (Core)"
ID="centos"
ID_LIKE="rhel fedora"
VERSION_ID="7"
PRETTY_NAME="CentOS Linux 7 (Core)"
ANSI_COLOR="0;31"
CPE_NAME="cpe:/o:centos:centos:7"
HOME_URL="https://www.centos.org/"
BUG_REPORT_URL="https://bugs.centos.org/"

CENTOS_MANTISBT_PROJECT="CentOS-7"
CENTOS_MANTISBT_PROJECT_VERSION="7"
REDHAT_SUPPORT_PRODUCT="centos"
REDHAT_SUPPORT_PRODUCT_VERSION="7"

 Connexon to the server is authorized form Firewall 

[11:35:27-root@ip-172-31-20-123:~/ESET]$ telnet servername.com 2222
Trying 62.67.56.175...
Connected to servername.com.
Escape character is '^]'.


Connection closed by foreign host.
[11:36:08-root@ip-172-31-20-123:~/ESET]$ telnet servername.com 2223
Trying 62.67.56.175...
Connected to servername.com.
Escape character is '^]'.


Connection closed by foreign host.
[11:36:24-root@ip-172-31-20-123:~/ESET]$ 

 

Can you please help on this issue ?

Failed reading database.
1211: Error '2' occurred while reading database: Current locale settings are invalid

 

Best Regards

Youness

Link to comment
Share on other sites

  • ESET Staff

Could you please provide output of "locale" command executed with user you are running installer? from provided logs it seems there is just a problem with fetching it from system/terminal configuration.

Link to comment
Share on other sites

Hi Martin,

Thanks for responding, I provide all the commands I press to run the script with the output in the previous post.

I attached the EraAgentInstaller.log file maybe can help to investigate the issue.

Best Regards

Youness

EraAgentInstaller.log

Link to comment
Share on other sites

Hi Marcos,

Yes sorry, my locale command output:

[00:15:42-root@ip-172-31-20-123:/home/centos]$ locale
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
LANG=C.UTF-8
LC_CTYPE="C.UTF-8"
LC_NUMERIC="C.UTF-8"
LC_TIME="C.UTF-8"
LC_COLLATE="C.UTF-8"
LC_MONETARY="C.UTF-8"
LC_MESSAGES="C.UTF-8"
LC_PAPER="C.UTF-8"
LC_NAME="C.UTF-8"
LC_ADDRESS="C.UTF-8"
LC_TELEPHONE="C.UTF-8"
LC_MEASUREMENT="C.UTF-8"
LC_IDENTIFICATION="C.UTF-8"
LC_ALL=
[00:15:45-root@ip-172-31-20-123:/home/centos]$ 

 

Link to comment
Share on other sites

  • ESET Staff

Could you please try to run installer from terminal, where LANG environment variable is set to en_US locale? I.e. to value like this:

LANG=en_US.UTF-8

Seems there might be a problem with "C" locale, even workaround for this was added long time ago...

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...