Enterprise Console installer has detected different versions of the components installed

  • Artikel-ID: 118083
  • Aktualisiert: 20 Aug 2014


Issue

You have run the installer of Enterprise Console 5.2 and it has detected different versions of the server-side components installed.  

For example, a computer running Enterprise Console 5.1 (all components on the same computer) is expected to have components of the same version, e.g.:

  • Sophos Management Console [5.1]
  • Sophos Management Server [5.1]
  • Sophos Management Database [5.1]

This article provides you with steps to recover the installation from a 'hybrid' state, i.e. where the components are not the same version.

First seen in

Enterprise Console 5.2.0

Cause

There are a number of ways in which a computer can end up in this state. The most likely scenario is that a previous upgrade attempt failed as a result of either the 'Sophos Management Server' or 'Sophos Management Console' component failing to either uninstall or install.  However the database component may also fail during upgrade leaving an installation without the database component installed.

As the 'Sophos Management Database' component is upgraded first, this component may be the latest version, e.g. 5.2. However, a failure to uninstall version 5.1 of the 'Sophos Management Server' component during the upgrade could result in a rollback, leaving version 5.1 of the 'Sophos Management Server' component installed.

What To Do

Confirm your scenario from those listed below and follow the appropriate steps. You can check the current state of components installed by looking in 'Add or Remove Programs' or 'Programs and Features'.

Scenario 1

  • Sophos Management Database [5.2]
  • Sophos Management Server [5.1 or 5.0]
  • Sophos Management Console [5.1 or 5.0]
  1. Uninstall the 'Sophos Management Database [5.2]' component.
    Note: This does not drop (delete) the databases from the SQL Server instance but just removes the install files from disk.
  2. Re-run the Enterprise Console installer, i.e. 'C:\sec_52\ServerInstaller\Setup.exe' and follow the upgrade routine.
  3. At the end of the installation you should have a working Enterprise Console 5.2.
  4. To add the 'Sophos Management Database' component back to the installation to ensure future upgrades are successful, run the following command (all one line) as an administrator:

    32-bit Computer
    msiexec /i"C:\sec_52\ServerInstaller\Database32.msi" DATABASE_SERVERNAME="(local)\SOPHOS" DATABASE_USERNAME="SophosManagement" DATABASE_USERNAMEDOMAIN="Domain" INSTALLDIR="C:\Program Files\Sophos" CREATE_DATABASES=0

    64-bit Computer
    msiexec /i"C:\sec_52\ServerInstaller\Database64.msi" DATABASE_SERVERNAME="(local)\SOPHOS" DATABASE_USERNAME="SophosManagement" DATABASE_USERNAMEDOMAIN="Domain" INSTALLDIR="C:\Program Files (x86)\Sophos" CREATE_DATABASES=0 

    Where:
    (local)\SOPHOS represents a local SOPHOS named SQL Server instance.  This is the default.

    SophosManagement is the name of your chosen 'database' account.  See article 113954 for more information about this account and help determining your account.

    Domain is the NetBIOS form of the domain the 'database' accounts exists within.  For example, if your database account is a local account, then it would be the NetBIOS form of the computer name. If the 'database' account is a domain account then it is the short NetBIOS form of the domain name.

  5. Check in 'Add or Remove Programs' or 'Programs and Features' that all components are of the same version.

Scenario 2

  • Sophos Management Database [5.2]
  • Sophos Management Server [5.2]
  • Sophos Management Console [5.1 or 5.0]
  1. Uninstall the component 'Sophos Management Console' from 'Add or Remove Programs' or 'Programs and Features'.
  2. Re-run the Enterprise Console installer, i.e. 'C:\sec_52\ServerInstaller\Setup.exe'.
  3. Ensure all components are checked and proceed through the installer.
  4. Once complete, test that Enterprise Console opens and, in 'Add or Remove Programs' or 'Programs and Features', check that all components are of the same version.

Scenario 3

  • Sophos Management Database [5.2]
  • Sophos Management Console [5.1 or 5.0]
  1. Uninstall the component 'Sophos Management Database' from 'Add or Remove Programs' or 'Programs and Features'.
    Note: This does not drop (delete) the databases from the SQL Server instance but just removes the install files from disk.
  2. Re-run the Enterprise Console installer, i.e. 'C:\sec_52\ServerInstaller\Setup.exe' to upgrade the remaining component Sophos Enterprise Console to version 5.2.
  3. Re-run the Enterprise Console installer, i.e. 'C:\sec_52\ServerInstaller\Setup.exe' to add only the 'Sophos Management Server' component.  
    Note: If you have previously used encryption within Enterprise Console, you will need your MSO certificate file.
  4. To finally add the 'Sophos Management Database' component back to the installation to ensure future upgrades are successful, run the following command (all one line) as an administrator:

    32-bit Computer
    msiexec /i"C:\sec_52\ServerInstaller\Database32.msi" DATABASE_SERVERNAME="(local)\SOPHOS" DATABASE_USERNAME="SophosManagement" DATABASE_USERNAMEDOMAIN="Domain" INSTALLDIR="C:\Program Files\Sophos" CREATE_DATABASES=0

    64-bit Computer
    msiexec /i"C:\sec_52\ServerInstaller\Database64.msi" DATABASE_SERVERNAME="(local)\SOPHOS" DATABASE_USERNAME="SophosManagement" DATABASE_USERNAMEDOMAIN="Domain" INSTALLDIR="C:\Program Files (x86)\Sophos" CREATE_DATABASES=0 

    Where:
    (local)\SOPHOS represents a local SOPHOS named SQL Server instance.  This is the default.
    SophosManagement is the name of your chosen 'database' account.  See article 113954 for more information about this account and help determining your account.
    Domain is the NetBIOS form of the 'database' context, if your database account is a local account, then it would be the NetBIOS form of the computer name.

  5. Check in 'Add or Remove Programs' or 'Programs and Features' that all components are of the same version.

Scenario 4

Following an upgrade to Enterprise Console 5.2 the database component failed leaving the following components installed:

  • Sophos Management Console [5.1]
  • Sophos Management Server [5.1]

See article: 118900 for a possible cause and steps to complete the upgrade.

 
Wenn Sie weitere Informationen oder Unterstützung benötigen, wenden Sie sich bitte an den technischen Support.

Artikel bewerten

Ungenügend Hervorragend

Anmerkungen