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

Problem run DataBackupRestore.exe -action=backup -datasourcetype=securestore

Hi,

 

I have the Enterprise console 5.3.1 and I need to upgrade to the other version but, when i try to create a backup with DataBackupRestore.exe  with option  -datasourcetype=securestore, I get this error.

 

 

C:\Program Files (x86)\Sophos\Enterprise Console>DataBackupRestore.exe -action=backup -datasourcetype=securestore
Microsoft (R) Build Engine version 4.0.30319.36415
[Microsoft .NET Framework, version 4.0.30319.36415]
Copyright (C) Microsoft Corporation. All rights reserved.

Build started 10/19/2017 11:15:48 AM.
Key not valid for use in specified state.


Build FAILED.

Time Elapsed 00:00:00.07
Process 'C:\Windows\Microsoft.NET\Framework64\v4.0.30319\msbuild.exe "C:\Program
Files (x86)\Sophos\Enterprise Console"\BackupRestore.proj /t:backup /clp:NoSumm
ary /p:SubSystem=all;DataSourceType=securestore;ExcludeDB=False;LocationSpecific
=False;SlientMode=False;DBServerInstance=' returned Error 1

C:\Program Files (x86)\Sophos\Enterprise Console>

 

 

 

Please some body have some idea?

 

Thanks.



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

    there's one thread about the same issue but no concluding feedback. As I've mentioned there, it's not essential to back up and restore SecureStore so if running the command under the SYSTEM account also fails simply skip the restore step.

    Christian

  • Thanks Christian,

     

    I tried to upgrade the console 5.3.1 to 5.5.0, after run the sophos setup management console  ande sophos management database upgrade to version 5.5.0 but the Sophos management server has a problem, i look in the log file "sophos_server64.msi", these is a error:

     

    MSI (s) (8C:5C) [15:01:37:088]: Invoking remote custom action. DLL: C:\Windows\Installer\MSIB7D8.tmp, Entrypoint: MessageQueuingExecuteInstall
    MessageQueuingExecuteInstall: Error 0xc00e0025: Failed to set queue security information
    MessageQueuingExecuteInstall: Error 0xc00e0025: Failed to add message queue permission
    MessageQueuingExecuteInstall: Error 0xc00e0025: Failed to add message queue permissions
    CustomAction MessageQueuingExecuteInstall returned actual error code 1603 (note this may not be 100% accurate if translation happened inside sandbox)
    MSI (s) (8C:30) [15:01:37:286]: User policy value 'DisableRollback' is 0
    MSI (s) (8C:30) [15:01:37:286]: Machine policy value 'DisableRollback' is 0
    Action ended 15:01:37: InstallFinalize. Return value 3.
    MSI (s) (8C:30) [15:01:37:290]: Executing op: Header(Signature=1397708873,Version=500,Timestamp=1264220203,LangId=1033,Platform=589824,ScriptType=2,ScriptMajorVersion=21,ScriptMinorVersion=4,ScriptAttributes=1)
    MSI (s) (8C:30) [15:01:37:290]: Executing op: DialogInfo(Type=0,Argument=1033)
    MSI (s) (8C:30) [15:01:37:290]: Executing op: DialogInfo(Type=1,Argument=Sophos Management Server)
    MSI (s) (8C:30) [15:01:37:290]: Executing op: RollbackInfo(,RollbackAction=Rollback,RollbackDescription=Rolling back action:,RollbackTemplate=[1],CleanupAction=RollbackCleanup,CleanupDescription=Removing backup files,CleanupTemplate=File: [1])
    MSI (s) (8C:E4) [15:01:37:315]: I/O on thread 6320 could not be cancelled. Error: 1168
    MSI (s) (8C:E4) [15:01:37:315]: I/O on thread 1600 could not be cancelled. Error: 1168
    MSI (s) (8C:E4) [15:01:37:315]: I/O on thread 6256 could not be cancelled. Error: 1168
    MSI (s) (8C:E4) [15:01:37:315]: I/O on thread 5340 could not be cancelled. Error: 1168
    MSI (s) (8C:E4) [15:01:37:315]: I/O on thread 7056 could not be cancelled. Error: 1168
    MSI (s) (8C:E4) [15:01:37:315]: I/O on thread 4136 could not be cancelled. Error: 1168
    MSI (s) (8C:E4) [15:01:37:315]: I/O on thread 6324 could not be cancelled. Error: 1168
    MSI (s) (8C:E4) [15:01:37:315]: I/O on thread 5936 could not be cancelled. Error: 1168
    MSI (s) (8C:E4) [15:01:37:315]: I/O on thread 6576 could not be cancelled. Error: 1168
    MSI (s) (8C:E4) [15:01:37:315]: I/O on thread 6416 could not be cancelled. Error: 1168
    MSI (s) (8C:E4) [15:01:37:315]: I/O on thread 5252 could not be cancelled. Error: 1168
    MSI (s) (8C:30) [15:01:37:315]: Executing op: ActionStart(Name=MessageQueuingExecuteInstall,Description=Configuring message queues,Template=Queue: [1])
    MSI (s) (8C:30) [15:01:37:316]: Executing op: ProductInfo(ProductKey={9BCC5C9E-94B6-40CA-A025-2A33C78256C6},ProductName=Sophos Management Server,PackageName=Server64.msi,Language=1033,Version=84213760,Assignment=1,ObsoleteArg=0,ProductIcon=ARPIcon.ico,,PackageCode={19CD5FA4-273B-412F-86FA-1A6733425626},,,InstanceType=0,LUASetting=0,RemoteURTInstalls=0,ProductDeploymentFlags=3)
    MSI (s) (8C:30) [15:01:37:316]: Executing op: ActionStart(Name=MessageQueuingRollbackInstall,,)
    MSI (s) (8C:30) [15:01:37:316]: Executing op: CustomActionRollback(Action=MessageQueuingRollbackInstall,ActionType=3329,Source=BinaryData,Target=MessageQueuingRollbackInstall,CustomActionData=2€PatchReportReprocessMSMQPermission€.\Private$\SophosPatch_ReportReprocess€NICLOCSEC069€SophosAdmin€12288€PatchReportMSMQPermission€.\Private$\SophosPatch_Report€NICLOCSEC069€SophosAdmin€12288€0€PatchReportReprocess€-2147483648€-2147483648€Sophos Patch Report€€.\Private$\SophosPatch_ReportReprocess€-2147483648€-2147483648€€4€PatchReport€-2147483648€-2147483648€Sophos Patch Report€€.\Private$\SophosPatch_Report€-2147483648€-2147483648€€4)
    MSI (s) (8C:30) [15:01:37:338]: Invoking remote custom action. DLL: C:\Windows\Installer\MSIB8D3.tmp, Entrypoint: MessageQueuingRollbackInstall
    MessageQueuingRollbackInstall: Error 0xc00e0025: Failed to set queue security information
    MessageQueuingRollbackInstall: Failed to rollback add message queue permission, hr: 0xc00e0025, key: PatchReportReprocessMSMQPermission
    MessageQueuingRollbackInstall: Error 0xc00e0025: Failed to set queue security information
    MessageQueuingRollbackInstall: Failed to rollback add message queue permission, hr: 0xc00e0025, key: PatchReportMSMQPermission

     

     

    And I match this error with this error from Microsoft  (msdn.microsoft.com/.../ms700106(v=vs.85).aspx)

     

    MQ_ERROR_ACCESS_DENIED (0xC00E0025)

    Returned when access to the specified queue or computer is denied.

    When returned, verify that your are allowed the access rights for performing the operation on the applicable object (for example, creating, setting properties, or deleting a queue). To change the access rights of a queue, call MQSetQueueSecurity.

     

     

    Both error say there are some error with the permission in microsoft message queue but i do not have idea what to do with the message queue.

     

     

Reply
  • Thanks Christian,

     

    I tried to upgrade the console 5.3.1 to 5.5.0, after run the sophos setup management console  ande sophos management database upgrade to version 5.5.0 but the Sophos management server has a problem, i look in the log file "sophos_server64.msi", these is a error:

     

    MSI (s) (8C:5C) [15:01:37:088]: Invoking remote custom action. DLL: C:\Windows\Installer\MSIB7D8.tmp, Entrypoint: MessageQueuingExecuteInstall
    MessageQueuingExecuteInstall: Error 0xc00e0025: Failed to set queue security information
    MessageQueuingExecuteInstall: Error 0xc00e0025: Failed to add message queue permission
    MessageQueuingExecuteInstall: Error 0xc00e0025: Failed to add message queue permissions
    CustomAction MessageQueuingExecuteInstall returned actual error code 1603 (note this may not be 100% accurate if translation happened inside sandbox)
    MSI (s) (8C:30) [15:01:37:286]: User policy value 'DisableRollback' is 0
    MSI (s) (8C:30) [15:01:37:286]: Machine policy value 'DisableRollback' is 0
    Action ended 15:01:37: InstallFinalize. Return value 3.
    MSI (s) (8C:30) [15:01:37:290]: Executing op: Header(Signature=1397708873,Version=500,Timestamp=1264220203,LangId=1033,Platform=589824,ScriptType=2,ScriptMajorVersion=21,ScriptMinorVersion=4,ScriptAttributes=1)
    MSI (s) (8C:30) [15:01:37:290]: Executing op: DialogInfo(Type=0,Argument=1033)
    MSI (s) (8C:30) [15:01:37:290]: Executing op: DialogInfo(Type=1,Argument=Sophos Management Server)
    MSI (s) (8C:30) [15:01:37:290]: Executing op: RollbackInfo(,RollbackAction=Rollback,RollbackDescription=Rolling back action:,RollbackTemplate=[1],CleanupAction=RollbackCleanup,CleanupDescription=Removing backup files,CleanupTemplate=File: [1])
    MSI (s) (8C:E4) [15:01:37:315]: I/O on thread 6320 could not be cancelled. Error: 1168
    MSI (s) (8C:E4) [15:01:37:315]: I/O on thread 1600 could not be cancelled. Error: 1168
    MSI (s) (8C:E4) [15:01:37:315]: I/O on thread 6256 could not be cancelled. Error: 1168
    MSI (s) (8C:E4) [15:01:37:315]: I/O on thread 5340 could not be cancelled. Error: 1168
    MSI (s) (8C:E4) [15:01:37:315]: I/O on thread 7056 could not be cancelled. Error: 1168
    MSI (s) (8C:E4) [15:01:37:315]: I/O on thread 4136 could not be cancelled. Error: 1168
    MSI (s) (8C:E4) [15:01:37:315]: I/O on thread 6324 could not be cancelled. Error: 1168
    MSI (s) (8C:E4) [15:01:37:315]: I/O on thread 5936 could not be cancelled. Error: 1168
    MSI (s) (8C:E4) [15:01:37:315]: I/O on thread 6576 could not be cancelled. Error: 1168
    MSI (s) (8C:E4) [15:01:37:315]: I/O on thread 6416 could not be cancelled. Error: 1168
    MSI (s) (8C:E4) [15:01:37:315]: I/O on thread 5252 could not be cancelled. Error: 1168
    MSI (s) (8C:30) [15:01:37:315]: Executing op: ActionStart(Name=MessageQueuingExecuteInstall,Description=Configuring message queues,Template=Queue: [1])
    MSI (s) (8C:30) [15:01:37:316]: Executing op: ProductInfo(ProductKey={9BCC5C9E-94B6-40CA-A025-2A33C78256C6},ProductName=Sophos Management Server,PackageName=Server64.msi,Language=1033,Version=84213760,Assignment=1,ObsoleteArg=0,ProductIcon=ARPIcon.ico,,PackageCode={19CD5FA4-273B-412F-86FA-1A6733425626},,,InstanceType=0,LUASetting=0,RemoteURTInstalls=0,ProductDeploymentFlags=3)
    MSI (s) (8C:30) [15:01:37:316]: Executing op: ActionStart(Name=MessageQueuingRollbackInstall,,)
    MSI (s) (8C:30) [15:01:37:316]: Executing op: CustomActionRollback(Action=MessageQueuingRollbackInstall,ActionType=3329,Source=BinaryData,Target=MessageQueuingRollbackInstall,CustomActionData=2€PatchReportReprocessMSMQPermission€.\Private$\SophosPatch_ReportReprocess€NICLOCSEC069€SophosAdmin€12288€PatchReportMSMQPermission€.\Private$\SophosPatch_Report€NICLOCSEC069€SophosAdmin€12288€0€PatchReportReprocess€-2147483648€-2147483648€Sophos Patch Report€€.\Private$\SophosPatch_ReportReprocess€-2147483648€-2147483648€€4€PatchReport€-2147483648€-2147483648€Sophos Patch Report€€.\Private$\SophosPatch_Report€-2147483648€-2147483648€€4)
    MSI (s) (8C:30) [15:01:37:338]: Invoking remote custom action. DLL: C:\Windows\Installer\MSIB8D3.tmp, Entrypoint: MessageQueuingRollbackInstall
    MessageQueuingRollbackInstall: Error 0xc00e0025: Failed to set queue security information
    MessageQueuingRollbackInstall: Failed to rollback add message queue permission, hr: 0xc00e0025, key: PatchReportReprocessMSMQPermission
    MessageQueuingRollbackInstall: Error 0xc00e0025: Failed to set queue security information
    MessageQueuingRollbackInstall: Failed to rollback add message queue permission, hr: 0xc00e0025, key: PatchReportMSMQPermission

     

     

    And I match this error with this error from Microsoft  (msdn.microsoft.com/.../ms700106(v=vs.85).aspx)

     

    MQ_ERROR_ACCESS_DENIED (0xC00E0025)

    Returned when access to the specified queue or computer is denied.

    When returned, verify that your are allowed the access rights for performing the operation on the applicable object (for example, creating, setting properties, or deleting a queue). To change the access rights of a queue, call MQSetQueueSecurity.

     

     

    Both error say there are some error with the permission in microsoft message queue but i do not have idea what to do with the message queue.

     

     

Children
No Data