Overslaan naar hoofdinhoud

The installation of ERA Server (6.x) on SUSE Linux Enterprise Server 11 fails - Kennisbank / Legacy / Legacy ESET Remote Administrator (6.x / 5.x / 4.x) / 6.x - ESET Tech Center

The installation of ERA Server (6.x) on SUSE Linux Enterprise Server 11 fails

Lijst van auteurs

https://support.eset.com/kb6038

Issue

The installation fails to connect the MySQL database with ODBC connector.

Solution

    1. Open a Terminal and follow the steps a-h to install MySQL Server
      1. Download the Repository package:

        wget http://dev.mysql.com/get/mysql-community-release-sles11-7.noarch.rpm
         
      2. Install the downloaded release package:

        sudo rpm -Uvh mysql-community-release-sles11-7.noarch.rpm
         
      3. Import the GnuPG key:

        sudo rpm --import /etc/RPM-GPG-KEY-mysql
         
      4. Refresh the repository information:

        sudo zypper refresh
         
      5. Install the MySQL Server by the following command:

        sudo zypper install mysql-community-server
         
      6. Start the MySQL Server:

        sudo /etc/init.d/mysql start
         
      7. You can check if the MySQL is running:

        sudo /etc/init.d/mysql status
         
      8. 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

        For additional help with MySQL installation

        This step was inspired by official MySQL documentation. Visit the MySQL developer site for additional information.

    2. Configure the MySQL Server. 
       
    3. 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
       
    4. 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 
       
    5. Download the newest Generic Linux x86_64 ODBC Connector driver using the command wget .

      Use the official MySQL Download

      You can download the package from the MySQL Download site. Check for the latest package name before using the command.


    1. 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
       
    2. 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]
       
    3. Check your odbcinst_23 version:

       odbcinst_23 --version

      If the version is earlier than 2.3.0 append the following line into your odbcinst_23.ini file:

      Threading = 0
       
    4. Update the configuration files that control ODBC  access by the following command:

      sudo odbcinst_23 -i -d -f /etc/unixODBC_23/odbcinst_23.ini
       
    5. 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
       
    6. Make the ERA Server install file executable:

      chmod +x Server-Linux-x86_64.sh
       
    7. Run the installation command on your ERA Server install file.

      MySQL password:

      The parameter --db-admin-password is the password you set during the manual installation of MySQL with mysql_secure_installation command.


  1. After the installation has successfully finished, you can check if the ERA Server is running:

    sudo /etc/init.d/eraserver status

Reactie toevoegen

Log in of registreer om een reactie te plaatsen.

Heeft u een wachtwoordherinnering nodig?