This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Enterprise Console. Broken upgrade from 4.0 to 4.5

Hi everyone,

I tried to upgrade our Sophos Enterprise Console from version 4.0 to 4.5.

Server characteristics:

Windows 2008 Standard x64 SP2

SQL Server 2008 x64 Standard fully patched

2 DB instances: SOPHOS4 and SCE2010.

I was logged as a domain administrator. Any server applications was closed. I check if the Sophos Management Service was stopped and it was.

It failed with these errors messages logged in installDB.log:

InstallDB NFBMGM\SOPHOS NFBMGM SOPHOS45 InstallDB.log

Started

Sat 09/18/2010

11:39 AM

==========

Msg 262, Level 14, State 1, Server NFBMGM\SOPHOS, Line 1

CREATE DATABASE permission denied in database 'master'.

Then the installer rolled back the actions.

I tried to reinstall and I have this error message not letting me go further:

sophos update manager must be uninstalled before installing this product

Then Enterprise Console is missing from the Add/Remove programs control panel application...

Does anybody know what to do from now and how can I repair the EC installation?

A support case is already opened...

:5115


This thread was automatically locked due to age.
Parents
  • Hi,

    I have 4 points to note and things to try.

    1.  You say:

      "2 DB instances: SOPHOS4 and SCE2010."

    I assume SOPHOS4 is the database and from the command that got run SOPHOS is the name of the instance.  

    Can you confirm this?

    2.  The command that got run looks incorrect if this SQL server is a domain member.

    I think it should have been:

    InstallDB NFBMGM\SOPHOS <DOMAINNAMESHORT> SOPHOS45 InstallDB.log

    As based on the error you had: NFBMGM must be the name of the SQL server?

    3. I'm surprised the account that tried to create the database didn't have sufficient privileges.

    Is this a domain member, were you logged on as a local admin or the domain admin?

    If you install SQL Server Management Studio and connect to the SOPHOS instance, if you browse to:

    Security\Server roles\

    select the properties of the sysadmin role.

    Who do you have in there, system and the administrators group, to which the installing account was a member? 

    I would sort that out first and then, as a test if you run the following:

    C:\>osql -E -S NFBMGM\sophos
    1> create database test
    2> go
    1> quit

    Do you get the same error or does it create the database test?


    If it does you can drop the test database with:

    C:\>osql -E -S NFBMGM\sophos

    1> drop database test

    2> go

    1> quit

    It might be worth trying to create the database before changing any of the security just to see if you get the same error as thrown by the installer, and then if you change the security does it create the database ok?

    4. As for just SUM product remaining.  I assume the following happened:

    1. The SEC components of version 4  were removed as the first part of the update.

    2. The database failed as part of the SEC 4.5 install but at that point SEC4 had gone so it rolled back to nothing apart from SUM.

    3. Does SUM appear in add or remove programs?  It looks like you need to remove it before having another go at installing 4.5.

    If does not appear, does the key:

    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{2C7A82DB-69BC-4198-AC26-BB862F1BE4D0}

    exist?

    In which case you can probably just run:

    MsiExec.exe /X{2C7A82DB-69BC-4198-AC26-BB862F1BE4D0}

    to remove it.

    So there are quite a few things to check.

    Thanks,

    Jak

    :5118
Reply
  • Hi,

    I have 4 points to note and things to try.

    1.  You say:

      "2 DB instances: SOPHOS4 and SCE2010."

    I assume SOPHOS4 is the database and from the command that got run SOPHOS is the name of the instance.  

    Can you confirm this?

    2.  The command that got run looks incorrect if this SQL server is a domain member.

    I think it should have been:

    InstallDB NFBMGM\SOPHOS <DOMAINNAMESHORT> SOPHOS45 InstallDB.log

    As based on the error you had: NFBMGM must be the name of the SQL server?

    3. I'm surprised the account that tried to create the database didn't have sufficient privileges.

    Is this a domain member, were you logged on as a local admin or the domain admin?

    If you install SQL Server Management Studio and connect to the SOPHOS instance, if you browse to:

    Security\Server roles\

    select the properties of the sysadmin role.

    Who do you have in there, system and the administrators group, to which the installing account was a member? 

    I would sort that out first and then, as a test if you run the following:

    C:\>osql -E -S NFBMGM\sophos
    1> create database test
    2> go
    1> quit

    Do you get the same error or does it create the database test?


    If it does you can drop the test database with:

    C:\>osql -E -S NFBMGM\sophos

    1> drop database test

    2> go

    1> quit

    It might be worth trying to create the database before changing any of the security just to see if you get the same error as thrown by the installer, and then if you change the security does it create the database ok?

    4. As for just SUM product remaining.  I assume the following happened:

    1. The SEC components of version 4  were removed as the first part of the update.

    2. The database failed as part of the SEC 4.5 install but at that point SEC4 had gone so it rolled back to nothing apart from SUM.

    3. Does SUM appear in add or remove programs?  It looks like you need to remove it before having another go at installing 4.5.

    If does not appear, does the key:

    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{2C7A82DB-69BC-4198-AC26-BB862F1BE4D0}

    exist?

    In which case you can probably just run:

    MsiExec.exe /X{2C7A82DB-69BC-4198-AC26-BB862F1BE4D0}

    to remove it.

    So there are quite a few things to check.

    Thanks,

    Jak

    :5118
Children
No Data