Error loading data
" after updating Linux ODBC Connector (mysql-connector-odbc) package to version 5.6.40-2.el7 (and later) and restarting the MySQL service.Not connected
"./var/log/eset/RemoteAdministrator/Server/trace.log
):
Error: CDataMinersModule [Thread 7f935ebc7700]: Failed to write some logs because: [unixODBC][Driver Manager]Can't open lib 'MySQL ODBC 5.3 Unicode Driver' : file not found (0). Rescheduling.
Error: CDatabaseModule [Thread 7fb81deef740]: Probing database connection failed. Next connection attempt will be in 10 seconds. 1 more attempt will be made. The database access layer reported: [unixODBC][Driver Manager]Can't open lib 'MySQL ODBC 5.3 Unicode Driver' : file not found (0)
You can log in to the Web Console, but some ESET products are missing in Software installation task package selection.This issue affects all users of:
/var/log/eset/RemoteAdministrator/VAgentHost/trace.log.
ERA Virtual Agent Host component will not be able to connect to its database./var/log/eset/RemoteAdministrator/Proxy/trace.log.
ERA Proxy component will not be able to connect to its database.To verify your current ODBC drivers version, run the following command:
odbcinst -q -d
Drivers with version 5.3.10 or older should be listed.
After the MySQL has been updated, you need to downgrade the driver.
If you have not updated yet, or after downgrading the driver, you can prevent the issue by freezing the MySQL version.
If you have updated your ODBC driver, you can downgrade it and then prevent it from a further upgrade by freezing the version.
service mysqld stop
service eraserver stop
(ERA Virtual Appliance)service eramdmcore stop
(ERA MDMCore)service eraproxy stop
(ERA Proxy)service eravagenthost stop
(ERA Virtual Agent Host)
yum remove mysql-connector-odbc.x86_64
wget https://downloads.mysql.com/archives/get/p/10/file/mysql-connector-odbc-5.3.10-1.el7.x86_64.rpm
chmod +x mysql-connector-odbc-5.3.10-1.el7.x86_64.rpm
yum localinstall ./mysql-connector-odbc-5.3.10-1.el7.x86_64.rpm
nano /etc/opt/eset/RemoteAdministrator/Server/StartupConfiguration.ini
(ERA Virtual Appliance)nano /etc/opt/eset/RemoteAdministrator/MDMCore/startupconfiguration.ini
(ERA MDMCore)nano /etc/opt/eset/RemoteAdministrator/Proxy/StartupConfiguration.ini
(ERA Proxy)nano /etc/opt/eset/RemoteAdministrator/VAgentHost/StartupConfiguration.ini
(ERA Virtual Agent Host)8.0
to 5.3
and save the file.yum install yum-plugin-versionlock
yum versionlock "mysql-*"
After the downgrade, if the driver configuration was left unchanged, no further actions are needed.
If there were any changes in driver configuration, restart MySQL service and the respective ERA component service:
service mysqld restart
service eraserver restart
(ERA Virtual Appliance)service eramdmcore restart
(ERA MDMCore)service eraproxy restart
(ERA Proxy)service eravagenthost restart
(ERA Virtual Agent Host)If you have not updated your ODBC driver yet, you can prevent yum from upgrading the ODBC driver and MySQL components by freezing the current version.
yum install yum-plugin-versionlock
yum versionlock mysql-*
yum versionlock list