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

Cannot install SEC 5.2

I am trying to install SEC 5.2 on our server. The server crashed last week and after a rebuild I can't get Sophos installed. It gets as far as trying to install the databases and fails "A custom action failed"...not very helpful! SQL server express 2008 installs but the failure appears to be when it tries to create the actual SOPHOS databases. We are running Windows 2003 SP2. Can anyone give me any ideas where to look?

:39247


This thread was automatically locked due to age.
  • Hello RJB,

    AFAIK all actions should be logged in the D&S\Appdata\Sophos\Management Installer directory. Start with the bootstrapper log, it should lead you to the relevant msi or install log. Search for the usual suspects (e.g. Return value 3)

    HTH

    Christian

    :39249
  • Hi Christian

    I did that

    The error in the Database32msi log file is

    RunScript: Initialized.

    RunScript: Custom action data: D:\Program Files\Sophos\Enterprise
    Console\DB\Core\;InstallDBEx.bat;(local)\SOPHOS;NIFTC;SOPHOS52;C:\Docume
    nts and Settings\All Users.WINDOWS\Application Data\Sophos\Management
    Installer\Sophos_InstallCoreDB.log.

    RunScript: Command line = "D:\Program Files\Sophos\Enterprise
    Console\DB\Core\InstallDBEx.bat" (local)\SOPHOS NIFTC SOPHOS52
    "C:\Documents and Settings\All Users.WINDOWS\Application
    Data\Sophos\Management Installer\Sophos_InstallCoreDB.log"

    RunScript:

    RunScript: Error 0x80004005: Batch file returned error code 1.

    MSI (s) (AC:C4) [11:21:17:000]: User policy value 'DisableRollback' is 0

    MSI (s) (AC:C4) [11:21:17:000]: Machine policy value 'DisableRollback'
    is 0

    Action ended 11:21:17: InstallFinalize. Return value 3.

    and in the InstallCoreDB log it only has

    InstallDB (local)\SOPHOS NIFTC SOPHOS52 "C:\Documents and Settings\All Users.WINDOWS\Application Data\Sophos\Management Installer\Sophos_InstallCoreDB.log"
    Started
    10/04/2013
    11:21

    Not a whole heap of help.

    :39253
  • Hello RJB,

    don't have access to the 5.2 scripts right now, don't think they differ much - sqlcmd's output should be redirected to the log, but you might want to check (the script is also in sec_52\Installer\DB\Core). Dunno what is rolled back at this point - but you could run the script manually to see if it produces useful output.

    Christian

    :39255
  • Think I've sorted it (a moment of inspiration!), there were still references to older version of MSSQL in the PATH variable (mssql\80\binn and MSSql\90\binn), I took these out and was able to create the databases manually. Going to re-run the installer this evening and see if I make any more progress!

    :39259
  • got past the database install (turns out the path thing was right, but now it fails when trying ot install Update Manager, it returns an error "the MSI failed". The server event viewer gives the folowing error:

    Event Type: Error
    Event Source: MsiInstaller
    Event Category: None
    Event ID: 10005
    Date: 10/04/2013
    Time: 19:37:44
    User: NIFTC\niftcadmin
    Computer: NISDATA
    Description:
    Product: Sophos Update Manager -- Error 25032.Share SophosUpdate on \\NISDATA not created, NetShareAdd returned error 3.

    For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.
    Data:
    0000: 7b 32 43 37 41 38 32 44 {2C7A82D
    0008: 42 2d 36 39 42 43 2d 34 B-69BC-4
    0010: 31 39 38 2d 41 43 32 36 198-AC26
    0018: 2d 42 42 38 36 32 46 31 -BB862F1
    0020: 42 45 34 44 30 7d BE4D0}

    Any ideas?

    :39273
  • Hello RJB,

    returning to your first post - by The server crashed last week and after a rebuild you mean you did a complete install from scratch or you restored some backups at a certain point?

    NetShareAdd returned error 3

    Hm, not very helpful ... nothing in the logs, only this event? You've probably tried to create the share (or any share) manually? One thing I notice is that the user running the install is NIFTC\niftcadmin whereas the computer (and the server the share should be created on) is NISDATA - is this an AD environment?

    Christian

    :39281