FortiClient
FortiClient proactively defends against advanced attacks. Its tight integration with the Security Fabric enables policy-based automation to contain threats and control outbreaks. FortiClient is compatible with Fabric-Ready partners to further strengthen enterprises’ security posture.
mithing
Staff
Staff
Article Id 328415
Description This article describes sample errors that can happen when performing EMS migration from EMS 7.2.X (Server OS ) to EMS 7.4.0 (Linux OS).
Scope EMS 7.2.4 , EMS 7.4.0.
Solution

To perform migration from EMS 7.2.X (Window Server OS) to EMS 7.4.0 (Linux OS), refer to the following guide :

Migrating EMS from 7.2.3+ to 7.4.0

 

To migrate the EMS instance to the 7.4 Linux model, the EMS must be in version 7.2.3 and later.

Refer to the upgrade path document for more details.

 

To avoid any error during the migration process, ensure to follow properly the steps to migrate as per the details in the document guide.

 

Below are sample errors when skipping the step on the guide.

  

  1. ERROR - Connection to Postgresql DB at remote Linux host failed. Fix it and retry the migration. Details:
    (psycopg2.OperationalError) connection to server at "10.47.4.208", port 5432 failed: Connection refused (0x0000274D/10061)
    Is the server running on that host and accepting TCP/IP connections?
 

1.PNG

Note: The server IP 10.47.4.208 is the EMS lab IP and refers to the Linux server IP address.

 

To resolve it:

Refer to the step: 'To configure the EMS Linux machine': 

Step 4a:  Remove # and replace localhost with *:

 

2.PNG

 

  1. ERROR - Connection to Postgresql DB at remote Linux host failed. Fix it and retry the migration. Details:

     (psycopg2.OperationalError) connection to server at "10.47.4.208", port 5432 failed: FATAL:  password authentication failed for user "postgres"

    connection to server at "10.47.4.208", port 5432 failed: FATAL:  password authentication failed for user "postgres"

     

    3.PNG

    Note: The server IP 10.47.4.208 is the EMS lab IP and refers to the Linux server IP address.

     

    To resolve this: 

    Refer to the step: 'To configure the Windows Server machine with the EMS instance to migrate'.

    Step 5: Postgres user password found in /opt/forticlientems/pgbouncer/userlist.txt.

     

    Re-configure the progress password on your migration config file:

    user =postgres
    password =xxxxxx --> Put the correct password.

     

  2. Exception: ExecCmd: echo Fortinet123! | sudo -S systemctl stop fcems_monitor.service, Error: [sudo] password for emslinux: emslinux is not in the sudoers file.  This incident will be reported.

     

    4.PNG

    Note: 'emslinux' is the sample username.

     

    To resolve this:

    Refer to the step: 'To configure the EMS Linux machine'.

    Step 2: Add the user to the sudo.

     

    5.PNG

     

     

  3. Authentication (publickey) failed.


    6.PNG

    To resolve this:

    Refer to the step: 'To configure the Windows Server machine with the EMS instance to migrate'.

    Step 3: Generate the public key in Powershell and re-run the migration again.