Jump to content

Install ESCM7 Linux


Recommended Posts

Hi, I'm in the process of installing the ESCM7 console on an Ubuntu 18.04 LTS.

MySQL version 5.7.26

MySQL ODBC 5.3 Driver

the process of installing the eraserver ended well.

 

When I want to install the agent or access from the web console, it returns the wrong username or password error.

I followed the following instructions to reset the password:

https://support.eset.com/kb3760/#linux

export NEW_PASSWORD=<password>

/opt/eset/RemoteAdministrator/Server/setup/installer_backup.sh --skip-license --server-root-password='env:NEW_PASSWORD'

 

the process ends well, but the problem persists, I can not access the web or install the agent.

 


the services are up:

systemctl | grep "tomcat\|mysql\|era"
  eraserver-xvfb.service            loaded active running   ESET Security Management Center Xvfb service         
  eraserver.service                 loaded active running   ESET Security Management Center Server               
  mysql.service                     loaded active running   MySQL Community Server                               
  tomcat9.service                   loaded active running   Apache Tomcat 9 Web Application Server 

 

the change seems to apply in the database:

mysql> select user_login, disabled, password_change_timestamp from tbl_security_users where user_login = 'Administrator';
+---------------+----------+---------------------------+
| user_login    | disabled | password_change_timestamp |
+---------------+----------+---------------------------+
| Administrator |        0 | 2019-05-31 12:47:08       |
+---------------+----------+---------------------------+
1 row in set (0.00 sec)

 

Copy the log of de failed installation of EraAgent:

 

2019-05-31 09:36:29 Information: Installer: Found: OpenSSL 1.0.2n 7 Dec 2017
2019-05-31 09:36:29 Information: Installer: Checking installed version ...
2019-05-31 09:36:29 Information: CheckVersion: Action invoked with:  --ca-password ********** --cert-auth-content ********** --cert-auth-path "" --cert-auth-temp-path "" --cert-content ********** --cert-password ********** --cert-password-is-base64 ********** --cert-path "" --cert-temp-path "" --cert-to-check-password ********** --cert-to-check-path "" --computer-added-uuid "" --computer-group-choice DEFAULT --connection-chosen host --create-ca 0 --current-version 7.0.471.0 --db-connectors-dir /opt/eset/RemoteAdministrator/Agent/setup --db-path /var/opt/eset/RemoteAdministrator/Agent/data.db --db-scripts-dir /opt/eset/RemoteAdministrator/Agent/setup/Database --db-type SQLite --db-upgrade "" --enable-telemetry 0 --era-lib-dir /opt/eset/RemoteAdministrator/Agent/ --hostname "" --initial-static-group "" --installed "" --installed-version "" --log-sequence-id "" --modules-dir /var/opt/eset/RemoteAdministrator/Agent/Modules/ --port 2222 --product-guid "" --product-name Agent --proxy-http-hostname "" --proxy-http-password ********** --proxy-http-port 3128 --proxy-http-username ********** --replication-interval "" --server-cert-temp-path "" --upgrade "" --use-proxy 0 --webconsole-hostname "" --webconsole-password ********** --webconsole-port 2223 --webconsole-use-domain "" --webconsole-user Administrator
2019-05-31 09:36:29 Information: Product is not installed
2019-05-31 09:36:29 Information: CheckVersion: Set output property: P_VERSION_STATUS = NEW
2019-05-31 09:36:29 Information: CheckVersion: Return code: 0
2019-05-31 09:36:29 Information: Installer: Status of current installation is: NEW
2019-05-31 09:36:29 Information: Installer: New connection settings are 'hostname': '192.168.1.249', 'port': 2222
2019-05-31 09:36:29 Information: Installer: Getting certificate from server...
2019-05-31 09:36:29 Information: GetServerCertificate: Action invoked with:  --ca-password ********** --cert-auth-content ********** --cert-auth-path "" --cert-auth-temp-path /opt/eset/RemoteAdministrator/Agent/setup/ca.der --cert-content ********** --cert-password ********** --cert-password-is-base64 ********** --cert-path "" --cert-temp-path /opt/eset/RemoteAdministrator/Agent/setup/peercert.pfx --cert-to-check-password ********** --cert-to-check-path "" --computer-added-uuid "" --computer-group-choice DEFAULT --connection-chosen host --create-ca 0 --current-version 7.0.471.0 --db-connectors-dir /opt/eset/RemoteAdministrator/Agent/setup --db-path /var/opt/eset/RemoteAdministrator/Agent/data.db --db-scripts-dir /opt/eset/RemoteAdministrator/Agent/setup/Database --db-type SQLite --db-upgrade "" --enable-telemetry 0 --era-lib-dir /opt/eset/RemoteAdministrator/Agent/ --hostname 192.168.1.249 --initial-static-group "" --installed "" --installed-version "" --log-sequence-id "" --modules-dir /var/opt/eset/RemoteAdministrator/Agent/Modules/ --port 2222 --product-guid "" --product-name Agent --proxy-http-hostname "" --proxy-http-password ********** --proxy-http-port 3128 --proxy-http-username ********** --replication-interval "" --server-cert-temp-path /opt/eset/RemoteAdministrator/Agent/setup/servercert.der --upgrade "" --use-proxy 0 --webconsole-hostname 192.168.1.249 --webconsole-password ********** --webconsole-port 2223 --webconsole-use-domain "" --webconsole-user Administrator
2019-05-31 09:36:30 Information: GetServerCertificate: Set output property: P_CERT_SUBJECT = CN=Server at 192.168.1.249 and ESET02 and ESET02.CONYLEC.LOCAL;C=US;
2019-05-31 09:36:30 Information: GetServerCertificate: Set output property: P_CERT_ISSUER = CN=Server Certification Authority;C=US;
2019-05-31 09:36:30 Information: GetServerCertificate: Set output property: P_CERT_SERIAL = 017e2772aead184280833ac962c3015dc701
2019-05-31 09:36:30 Information: GetServerCertificate: Set output property: P_CERT_HASH = 70:08:64:14:23:28:29:55:c1:c0:3d:41:41:9e:24:5c:11:ad:4e:49
2019-05-31 09:36:30 Information: GetServerCertificate: Set output property: P_SERVER_CONNECTION_STATUS = AUTHORIZE_ERROR
2019-05-31 09:36:30 Information: GetCertificatesFromServer: Following error occurred while trying to get certificates from server: Unable to convert response JSON to message. Error is ConvertProtobufStringToProtobufObject failed with: map::at. Request JSON is: Unable convert to json (Callback failed for: Era.Common.NetworkMessage.ConsoleApi.SessionManagement.RpcAuthLoginRequest . Error is: Odd character count in the field.).Response JSON is: {"Era.Common.NetworkMessage.ConsoleApi.SessionManagement.RpcAuthLoginException": {} }
2019-05-31 09:36:30 Information: CServerAccess: Unloading server API library....
2019-05-31 09:36:30 Information: GetServerCertificate: Return code: 0
2019-05-31 09:36:30 Information: Installer: It is not possible to authorize to ESET Security Management Center Server with provided credentials.
2019-05-31 09:36:30 Information: Installer: Cleaning up setup directories
2019-05-31 09:36:30 Information: Installer: Removing empty directory /etc/opt/eset/RemoteAdministrator/Agent
2019-05-31 09:36:30 Information: Installer: Removing empty directory /var/log/eset/RemoteAdministrator/Agent

 


I do not know what to try to access

 

 


 

Link to comment
Share on other sites

  • ESET Staff
1 hour ago, gcarballo said:

export NEW_PASSWORD=<password>

/opt/eset/RemoteAdministrator/Server/setup/installer_backup.sh --skip-license --server-root-password='env:NEW_PASSWORD'

My best guess is there is something wrong either with password parameter, or steps to perform password reset. It is hard to tell exactly what could by wrong, but just to be sure: mentioned commands are executed both from root shell? Asking, because in case "sudo" is used for executing installer, it does not preserve environment variables by default.

Link to comment
Share on other sites

  • 4 weeks later...
  • 1 month later...

I will refresh the topic. I got exactly the same symptom when installing on Debian 9. Is there any solution for the problem?

Link to comment
Share on other sites

  • Administrators

If you have MySQL ODBC driver 5.3.13 installed, try installing its older version 5.2.7 instead. Should the problem persist, please raise a support ticket with your local customer care.

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
  • Recently Browsing   0 members

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