https://support.eset.com/kb6038
Issue
The installation fails to connect the MySQL database with ODBC connector.
Solution
- Open a Terminal and follow the steps a-h to install MySQL Server
- Download the Repository package:
wget http://dev.mysql.com/get/mysql-community-release-sles11-7.noarch.rpm
- Install the downloaded release package:
sudo rpm -Uvh mysql-community-release-sles11-7.noarch.rpm
- Import the GnuPG key:
sudo rpm --import /etc/RPM-GPG-KEY-mysql
- Refresh the repository information:
sudo zypper refresh
- Install the MySQL Server by the following command:
sudo zypper install mysql-community-server
- Start the MySQL Server:
sudo /etc/init.d/mysql start
- You can check if the MySQL is running:
sudo /etc/init.d/mysql status
- Perform the
mysql_secure_installation
that will allow you to set basic settings. You will need to know the password you set now in later steps.mysql_secure_installation
- Download the Repository package:
- Configure the MySQL Server.
- Save and close the file, and then enter the following command to restart MySQL server and apply the configuration:
sudo /etc/init.d/mysql restart
- Install additional ERA Server prerequisites:
sudo zypper install xorg-x11-server-extra libqtwebkit4 cifs-utils java-1_7_1-ibm tomcat6 samba-winbind openldap2-client net-snmp krb5-client unixODBC_23
- Download the newest Generic Linux x86_64 ODBC Connector driver using the command
wget
.
- Install the downloaded driver. Run this command from the directory where you have downloaded the ODBC package:
sudo rpm -Uvh mysql-connector-odbc-5.3.6-1.x86_64.rpm
- Check the
odbcinst_23.ini
file for the configuration:cat /etc/unixODBC_23/odbcinst_23.ini
The output should contain names of available drivers. For example:[MySQL ODBC 5.3 Unicode Driver]
- Check your odbcinst_23 version:
odbcinst_23 --version
If the version is earlier than 2.3.0 append the following line into yourodbcinst_23.ini
file:Threading = 0
- Update the configuration files that control ODBC access by the following command:
sudo odbcinst_23 -i -d -f /etc/unixODBC_23/odbcinst_23.ini
- Download the ERA Server install file (you can download it from the ESET Download page). For example:
wget http://download.eset.com/download/ra/v6/standalone-installers/server/Server-Linux-x86_64.sh
- Make the ERA Server install file executable:
chmod +x Server-Linux-x86_64.sh
- Run the installation command on your ERA Server install file.
- After the installation has successfully finished, you can check if the ERA Server is running:
sudo /etc/init.d/eraserver status
Add a comment
Please log in or register to submit a comment.