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

Sophos Management Server Role Install Failed

Hi all,

We are trying to recover our Sophos Management Console on the same server where it got accidently uninstalled.

I have reinstalled the database role, and the console successfully, but the Management Server role is displaying MSI errors 1603 in the logs which I am unable to resolve.....

i have tried the following

- renaming certification manager reg hive (changed this back)

 - restarting the PC after error message

- tried another MSI incase the original was corrupt

I have noticed that Windows Event Viewer is displaying the below in MsiInstaller Source with a error, when installing the role, I did notice it only asked for the MSO certificate and not the company certificate.

-----------------

Product: Sophos Management Server -- 1: Certificate not found.

-----------------

this is the Sophos install log.... can someone help?

Property(S): VirtualMemory = 6692
Property(S): AdminUser = 1
Property(S): MsiTrueAdminUser = 1
Property(S): LogonUser = administrator
Property(S): UserSID = S-1-5-21-1251890643-3791365559-1417130551-500
Property(S): UserLanguageID = 1033
Property(S): ComputerName = SDINF04
Property(S): SystemLanguageID = 1033
Property(S): ScreenX = 1024
Property(S): ScreenY = 768
Property(S): CaptionHeight = 19
Property(S): BorderTop = 1
Property(S): BorderSide = 1
Property(S): TextHeight = 16
Property(S): TextInternalLeading = 3
Property(S): ColorBits = 32
Property(S): TTCSupport = 1
Property(S): Time = 13:11:41
Property(S): Date = 9/23/2013
Property(S): MsiNetAssemblySupport = 4.0.30319.1
Property(S): MsiWin32AssemblySupport = 6.1.7601.17514
Property(S): RedirectedDllSupport = 2
Property(S): MsiRunningElevated = 1
Property(S): USERNAME = Windows User
Property(S): DATABASE = C:\Windows\Installer\32cb31.msi
Property(S): OriginalDatabase = C:\sec_521\ServerInstaller\Server64.msi
Property(S): UILevel = 2
Property(S): Preselected = 1
Property(S): ACTION = INSTALL
Property(S): ENCRYPTIONINSTALLMODE.E96667BC_B851_472E_B9EA_5E2B142E3BFA = MIGRATE
Property(S): IEVERSION = 900
Property(S): OSSupportSxS = 1
Property(S): ASPNET = 4.0.30319.0
Property(S): AspNetVersionRequirementMet = 1
Property(S): DotNetFrameworkVersionRequirementMet = 1
Property(S): ROOTDRIVE = C:\
Property(S): CostingComplete = 1
Property(S): CRYSTALREDIRECTIONNUMBER = 2
Property(S): OutOfDiskSpace = 0
Property(S): OutOfNoRbDiskSpace = 0
Property(S): PrimaryVolumeSpaceAvailable = 0
Property(S): PrimaryVolumeSpaceRequired = 0
Property(S): PrimaryVolumeSpaceRemaining = 0
Property(S): INSTALLLEVEL = 1
Property(S): MSIEXECPID = 3000
Property(S): SOURCEDIR = C:\sec_521\ServerInstaller\
Property(S): SourcedirProduct = {E9366D3F-ED09-42D1-BAFF-1EF2E3BF8A37}
Property(S): FullyQualifiedDnsName = sdinf04.gbn.com
Property(S): SERVER_USERNAMEENCODEDPASSWORD = **********
Property(S): ProductToBeRegistered = 1
MSI (s) (B4:A0) [13:11:41:311]: Note: 1: 1708
MSI (s) (B4:A0) [13:11:41:311]: Product: Sophos Management Server -- Installation failed.

MSI (s) (B4:A0) [13:11:41:311]: Windows Installer installed the product. Product Name: Sophos Management Server. Product Version: 5.2.1. Product Language: 1033. Manufacturer: Sophos Limited. Installation success or error status: 1603.

MSI (s) (B4:A0) [13:11:41:326]: Deferring clean up of packages/files, if any exist
MSI (s) (B4:A0) [13:11:41:326]: MainEngineThread is returning 1603
MSI (s) (B4:70) [13:11:41:326]: No System Restore sequence number for this installation.
=== Logging stopped: 9/23/2013  13:11:41 ===
MSI (s) (B4:70) [13:11:41:326]: User policy value 'DisableRollback' is 0
MSI (s) (B4:70) [13:11:41:326]: Machine policy value 'DisableRollback' is 0
MSI (s) (B4:70) [13:11:41:326]: Incrementing counter to disable shutdown. Counter after increment: 0
MSI (s) (B4:70) [13:11:41:326]: Note: 1: 1402 2: HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\Rollback\Scripts 3: 2
MSI (s) (B4:70) [13:11:41:326]: Note: 1: 1402 2: HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\Rollback\Scripts 3: 2
MSI (s) (B4:70) [13:11:41:326]: Decrementing counter to disable shutdown. If counter >= 0, shutdown will be denied.  Counter after decrement: -1
MSI (s) (B4:70) [13:11:41:326]: Restoring environment variables
MSI (s) (B4:70) [13:11:41:326]: Destroying RemoteAPI object.
MSI (s) (B4:1C) [13:11:41:326]: Custom Action Manager thread ending.
MSI (c) (78:E4) [13:11:41:326]: Decrementing counter to disable shutdown. If counter >= 0, shutdown will be denied.  Counter after decrement: -1
MSI (c) (78:E4) [13:11:41:342]: MainEngineThread is returning 1603
=== Verbose logging stopped: 9/23/2013  13:11:41 ===

:43613


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

    I have also found some other stuff in the logs regarding the certificate not found, and then it throws a exception error and it looks like it then performs the rollback... do you have any ideas on the below? if not, I will raise a support ticket..... thanks!

    RunExecutable:  Initialized. RunExecutable:  Custom action data: C:\Program Files (x86)\Sophos\Enterprise Console\UpgradePatchDB.exe -sourceVersion=0 -debug. RunExecutable:  24.09.2013 09:30:42 Successfully parsed command-line qualifiers.

    RunExecutable:  24.09.2013 09:30:42 Validating parameter values ...

    RunExecutable:  24.09.2013 09:30:42 ... successfully completed.

    RunExecutable:  24.09.2013 09:30:42 Transferring data...

    RunExecutable:  24.09.2013 09:30:44 ... successfully completed data transfer.

    MSI (s) (F4:D4) [09:30:44:159]: Executing op: ActionStart(Name=RegisterServer,,) RunExecutable:  24.09.2013 09:30:44 Exit code 0 (Success.)

    MSI (s) (F4:D4) [09:30:44:159]: Executing op: CustomActionSchedule(Action=RegisterServer,ActionType=9217,Source=BinaryData,Target=**********,CustomActionData=**********) MSI (s) (F4:F0) [09:30:44:159]: Invoking remote custom action. DLL: C:\Windows\Installer\MSI1031.tmp, Entrypoint: AddMsoCertToStoreAndRegisterServer SFXCA: Extracting custom action to temporary directory: C:\Windows\Installer\MSI1031.tmp-\ SFXCA: Binding to CLR version v4.0.30319 Calling custom action EncryptionCustomActions!EncryptionCustomActions.CustomAction.AddMsoCertToStoreAndRegisterServer AddMsoCertToStoreAndRegisterServer About to call: Initialize Succeeded: Initialize Calling API function: CreateMiscClassInstance(). Completed API function: CreateMiscClassInstance(). About to call: Initialize Succeeded: Initialize About to call: SetDatabaseConnectionString Succeeded: SetDatabaseConnectionString About to call: ResetCertificateStore Succeeded: ResetCertificateStore About to call: AddP12ToCertStore Succeeded: AddP12ToCertStore About to call: AuthenticateOfficer MSI (s) (F4!28) [09:31:05:797]: Product: Sophos Management Server -- 1:Certificate not found.

    Exception thrown by custom action: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> EncryptionCustomActions.SgnApiException: Certificate not found.    at EncryptionCustomActions.CustomAction.CallFunction(String functionName, Func`1 function, Session session, Base baseObject)    at EncryptionCustomActions.CustomAction.AddMsoCertToStoreAndRegisterServer(Session session)    --- End of inner exception stack trace ---    at System.RuntimeMethodHandle._InvokeMethodFast(IRuntimeMethodInfo method, Object target, Object arguments, SignatureStruct& sig, MethodAttributes methodAttributes, RuntimeType typeOwner)    at System.RuntimeMethodHandle.InvokeMethodFast(IRuntimeMethodInfo method, Object target, Object arguments, Signature sig, MethodAttributes methodAttributes, RuntimeType typeOwner)    at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object parameters, CultureInfo culture, Boolean skipVisibilityChecks)    at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object parameters, CultureInfo culture)    at Microsoft.Deployment.WindowsInstaller.CustomActionProxy.InvokeCustomAction(Int32 sessionHandle, String entryPoint, IntPtr remotingDelegatePtr) CustomAction RegisterServer returned actual error code 1603 (note this may not be 100% accurate if translation happened inside sandbox) MSI (s) (F4:D4) [09:31:08:043]: User policy value 'DisableRollback' is 0 MSI (s) (F4:D4) [09:31:08:043]: Machine policy value 'DisableRollback' is 0 Action ended 9:31:08: InstallFinalize. Return value 3. MSI (s) (F4:D4) [09:31:08:059]: Executing op: Header(Signature=1397708873,Version=500,Timestamp=1127762872,LangId=1033,Platform=589824,ScriptType=2,ScriptMajorVersion=21,ScriptMinorVersion=4,ScriptAttributes=1) MSI (s) (F4:D4) [09:31:08:059]: Executing op: DialogInfo(Type=0,Argument=1033) MSI (s) (F4:D4) [09:31:08:059]: Executing op: DialogInfo(Type=1,Argument=Sophos Management Server) MSI (s) (F4:D4) [09:31:08:059]: Executing op: RollbackInfo(,RollbackAction=Rollback,RollbackDescription=Rolling back action:,RollbackTemplate=[1],CleanupAction=RollbackCleanup,CleanupDescription=Removing backup files,CleanupTemplate=File: [1]) MSI (s) (F4:84) [09:31:08:059]: I/O on thread 1528 could not be cancelled. Error: 1168 MSI (s) (F4:84) [09:31:08:059]: I/O on thread 1548 could not be cancelled. Error: 1168 MSI (s) (F4:84) [09:31:08:059]: I/O on thread 1560 could not be cancelled. Error: 1168 MSI (s) (F4:84) [09:31:08:059]: I/O on thread 544 could not be cancelled. Error: 1168 MSI (s) (F4:84) [09:31:08:059]: I/O on thread 2108 could not be cancelled. Error: 1168 MSI (s) (F4:84) [09:31:08:059]: I/O on thread 3028 could not be cancelled. Error: 1168 MSI (s) (F4:84) [09:31:08:059]: I/O on thread 1120 could not be cancelled. Error: 1168 MSI (s) (F4:84) [09:31:08:059]: I/O on thread 2844 could not be cancelled. Error: 1168 MSI (s) (F4:84) [09:31:08:059]: I/O on thread 3492 could not be cancelled. Error: 1168 MSI (s) (F4:84) [09:31:08:059]: I/O on thread 1096 could not be cancelled. Error: 1168

    :43645
Reply
  • Thanks Christian,

    I have also found some other stuff in the logs regarding the certificate not found, and then it throws a exception error and it looks like it then performs the rollback... do you have any ideas on the below? if not, I will raise a support ticket..... thanks!

    RunExecutable:  Initialized. RunExecutable:  Custom action data: C:\Program Files (x86)\Sophos\Enterprise Console\UpgradePatchDB.exe -sourceVersion=0 -debug. RunExecutable:  24.09.2013 09:30:42 Successfully parsed command-line qualifiers.

    RunExecutable:  24.09.2013 09:30:42 Validating parameter values ...

    RunExecutable:  24.09.2013 09:30:42 ... successfully completed.

    RunExecutable:  24.09.2013 09:30:42 Transferring data...

    RunExecutable:  24.09.2013 09:30:44 ... successfully completed data transfer.

    MSI (s) (F4:D4) [09:30:44:159]: Executing op: ActionStart(Name=RegisterServer,,) RunExecutable:  24.09.2013 09:30:44 Exit code 0 (Success.)

    MSI (s) (F4:D4) [09:30:44:159]: Executing op: CustomActionSchedule(Action=RegisterServer,ActionType=9217,Source=BinaryData,Target=**********,CustomActionData=**********) MSI (s) (F4:F0) [09:30:44:159]: Invoking remote custom action. DLL: C:\Windows\Installer\MSI1031.tmp, Entrypoint: AddMsoCertToStoreAndRegisterServer SFXCA: Extracting custom action to temporary directory: C:\Windows\Installer\MSI1031.tmp-\ SFXCA: Binding to CLR version v4.0.30319 Calling custom action EncryptionCustomActions!EncryptionCustomActions.CustomAction.AddMsoCertToStoreAndRegisterServer AddMsoCertToStoreAndRegisterServer About to call: Initialize Succeeded: Initialize Calling API function: CreateMiscClassInstance(). Completed API function: CreateMiscClassInstance(). About to call: Initialize Succeeded: Initialize About to call: SetDatabaseConnectionString Succeeded: SetDatabaseConnectionString About to call: ResetCertificateStore Succeeded: ResetCertificateStore About to call: AddP12ToCertStore Succeeded: AddP12ToCertStore About to call: AuthenticateOfficer MSI (s) (F4!28) [09:31:05:797]: Product: Sophos Management Server -- 1:Certificate not found.

    Exception thrown by custom action: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> EncryptionCustomActions.SgnApiException: Certificate not found.    at EncryptionCustomActions.CustomAction.CallFunction(String functionName, Func`1 function, Session session, Base baseObject)    at EncryptionCustomActions.CustomAction.AddMsoCertToStoreAndRegisterServer(Session session)    --- End of inner exception stack trace ---    at System.RuntimeMethodHandle._InvokeMethodFast(IRuntimeMethodInfo method, Object target, Object arguments, SignatureStruct& sig, MethodAttributes methodAttributes, RuntimeType typeOwner)    at System.RuntimeMethodHandle.InvokeMethodFast(IRuntimeMethodInfo method, Object target, Object arguments, Signature sig, MethodAttributes methodAttributes, RuntimeType typeOwner)    at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object parameters, CultureInfo culture, Boolean skipVisibilityChecks)    at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object parameters, CultureInfo culture)    at Microsoft.Deployment.WindowsInstaller.CustomActionProxy.InvokeCustomAction(Int32 sessionHandle, String entryPoint, IntPtr remotingDelegatePtr) CustomAction RegisterServer returned actual error code 1603 (note this may not be 100% accurate if translation happened inside sandbox) MSI (s) (F4:D4) [09:31:08:043]: User policy value 'DisableRollback' is 0 MSI (s) (F4:D4) [09:31:08:043]: Machine policy value 'DisableRollback' is 0 Action ended 9:31:08: InstallFinalize. Return value 3. MSI (s) (F4:D4) [09:31:08:059]: Executing op: Header(Signature=1397708873,Version=500,Timestamp=1127762872,LangId=1033,Platform=589824,ScriptType=2,ScriptMajorVersion=21,ScriptMinorVersion=4,ScriptAttributes=1) MSI (s) (F4:D4) [09:31:08:059]: Executing op: DialogInfo(Type=0,Argument=1033) MSI (s) (F4:D4) [09:31:08:059]: Executing op: DialogInfo(Type=1,Argument=Sophos Management Server) MSI (s) (F4:D4) [09:31:08:059]: Executing op: RollbackInfo(,RollbackAction=Rollback,RollbackDescription=Rolling back action:,RollbackTemplate=[1],CleanupAction=RollbackCleanup,CleanupDescription=Removing backup files,CleanupTemplate=File: [1]) MSI (s) (F4:84) [09:31:08:059]: I/O on thread 1528 could not be cancelled. Error: 1168 MSI (s) (F4:84) [09:31:08:059]: I/O on thread 1548 could not be cancelled. Error: 1168 MSI (s) (F4:84) [09:31:08:059]: I/O on thread 1560 could not be cancelled. Error: 1168 MSI (s) (F4:84) [09:31:08:059]: I/O on thread 544 could not be cancelled. Error: 1168 MSI (s) (F4:84) [09:31:08:059]: I/O on thread 2108 could not be cancelled. Error: 1168 MSI (s) (F4:84) [09:31:08:059]: I/O on thread 3028 could not be cancelled. Error: 1168 MSI (s) (F4:84) [09:31:08:059]: I/O on thread 1120 could not be cancelled. Error: 1168 MSI (s) (F4:84) [09:31:08:059]: I/O on thread 2844 could not be cancelled. Error: 1168 MSI (s) (F4:84) [09:31:08:059]: I/O on thread 3492 could not be cancelled. Error: 1168 MSI (s) (F4:84) [09:31:08:059]: I/O on thread 1096 could not be cancelled. Error: 1168

    :43645
Children
No Data