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

Error installing Enterprise Console 5.2.1

In the middle of an installation, I have the following:

SophosError.png

This is the second virtual machine I have used to try and install the console.  It is a Windows 2008R2 Standard edition server.

I have used the Sophos diagnostics software to create the compressed logs and environment.  There is an item in the Sophos_Server64msi log file that the CreateScheduledTask keeps failing.  There are other failures but most seem to be path related.  It appears I cannot upload the ZIP file.

I am using a domain account for the database and updates user.  There is another post about this type of failure but the error code I have is 0x8007051f and the steps do not help.

Any help would be great.

Thanks,

MikeM.

:48286


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

    0x8007051f usually means There are currently no logon servers available to service the logon request. Guess it happens when the installer attempts to create the Patch tasks. Could you post a few lines starting with the one containing Executing op: ActionStart(Name=GrantSvcAccBatchLogonPriv,,) and up to the error?

    Christian

    :48300
  • Hi,

    Here is the requested log from the Sophos_Server64msi log file:

    MSI (s) (DC:5C) [14:34:02:849]: Executing op: ActionStart(Name=GrantSvcAccBatchLogonPriv,,)
    MSI (s) (DC:5C) [14:34:02:849]: Executing op: CustomActionSchedule(Action=GrantSvcAccBatchLogonPriv,ActionType=1025,Source=BinaryData,Target=ModifyAccountPrivilege,CustomActionData=DIST-DOM\sophosdb;SeBatchLogonRight;1)
    MSI (s) (DC:50) [14:34:02:849]: Invoking remote custom action. DLL: C:\Windows\Installer\MSIDBDA.tmp, Entrypoint: ModifyAccountPrivilege
    ModifyAccountPrivilege:  Initialized.
    MSI (s) (DC:5C) [14:34:08:199]: Executing op: ActionStart(Name=RollbackCDLTask,,)
    ModifyAccountPrivilege:  Custom action data: DIST-DOM\sophosdb;SeBatchLogonRight;1.
    MSI (s) (DC:5C) [14:34:08:199]: Executing op: CustomActionSchedule(Action=RollbackCDLTask,ActionType=1281,Source=BinaryData,Target=DeleteScheduledTask,CustomActionData=Sophos Patch Feed)
    MSI (s) (DC:5C) [14:34:08:199]: Executing op: ActionStart(Name=CreateCDLTask,,)
    MSI (s) (DC:5C) [14:34:08:199]: Executing op: CustomActionSchedule(Action=CreateCDLTask,ActionType=9217,Source=BinaryData,Target=**********,CustomActionData=**********)
    MSI (s) (DC:CC) [14:34:08:199]: Invoking remote custom action. DLL: C:\Windows\Installer\MSIF0C1.tmp, Entrypoint: CreateScheduledTask
    CreateScheduledTask:  Initialized.
    CreateScheduledTask:  Error 0x8007051f: Error encountered while creating scheduled task.
    CreateScheduledTask:  Error 0x8007051f: Failed to create scheduled task.
    MSI (s) (DC:5C) [14:34:16:483]: User policy value 'DisableRollback' is 0
    MSI (s) (DC:5C) [14:34:16:483]: Machine policy value 'DisableRollback' is 0
    Action ended 14:34:16: InstallFinalize. Return value 3.
    MSI (s) (DC:5C) [14:34:16:483]: Executing op: Header(Signature=1397708873,Version=405,Timestamp=1148285895,LangId=1033,Platform=589824,ScriptType=2,ScriptMajorVersion=21,ScriptMinorVersion=4,ScriptAttributes=1)
    MSI (s) (DC:5C) [14:34:16:483]: Executing op: DialogInfo(Type=0,Argument=1033)
    MSI (s) (DC:5C) [14:34:16:483]: Executing op: DialogInfo(Type=1,Argument=Sophos Management Server)
    MSI (s) (DC:5C) [14:34:16:483]: Executing op: RollbackInfo(,RollbackAction=Rollback,RollbackDescription=Rolling back action:,RollbackTemplate=[1],CleanupAction=RollbackCleanup,CleanupDescription=Removing backup files,CleanupTemplate=File: [1])
    MSI (s) (DC:50) [14:34:16:499]: I/O on thread 31220 could not be cancelled. Error: 1168
    MSI (s) (DC:50) [14:34:16:499]: I/O on thread 30100 could not be cancelled. Error: 1168
    MSI (s) (DC:50) [14:34:16:499]: I/O on thread 31200 could not be cancelled. Error: 1168
    MSI (s) (DC:50) [14:34:16:499]: I/O on thread 31132 could not be cancelled. Error: 1168
    MSI (s) (DC:50) [14:34:16:499]: I/O on thread 29788 could not be cancelled. Error: 1168
    MSI (s) (DC:50) [14:34:16:499]: I/O on thread 532 could not be cancelled. Error: 1168
    MSI (s) (DC:50) [14:34:16:499]: I/O on thread 31308 could not be cancelled. Error: 1168
    MSI (s) (DC:50) [14:34:16:499]: I/O on thread 29832 could not be cancelled. Error: 1168
    MSI (s) (DC:5C) [14:34:16:499]: Executing op: ActionStart(Name=CreateCDLTask,,)
    MSI (s) (DC:5C) [14:34:16:499]: Executing op: ProductInfo(ProductKey={E9366D3F-ED09-42D1-BAFF-1EF2E3BF8A37},ProductName=Sophos Management Server,PackageName=Server64.msi,Language=1033,Version=84017153,Assignment=1,ObsoleteArg=0,ProductIcon=ARPIcon.ico,,PackageCode={1818F8D5-4F63-4563-93AA-2623C58505DC},,,InstanceType=0,LUASetting=0,RemoteURTInstalls=0,ProductDeploymentFlags=3)
    MSI (s) (DC:5C) [14:34:16:499]: Executing op: ActionStart(Name=RollbackCDLTask,,)
    MSI (s) (DC:5C) [14:34:16:499]: Executing op: CustomActionRollback(Action=RollbackCDLTask,ActionType=1281,Source=BinaryData,Target=DeleteScheduledTask,CustomActionData=Sophos Patch Feed)
    MSI (s) (DC:1C) [14:34:16:499]: Invoking remote custom action. DLL: C:\Windows\Installer\MSI112E.tmp, Entrypoint: DeleteScheduledTask
    DeleteScheduledTask:  Initialized.
    DeleteScheduledTask:  Custom action data: Sophos Patch Feed.
    DeleteScheduledTask:  Scheduled task deleted successfully

     I have the Sophos diagnostics zip file if that would help.

    MikeM.

    :48316
  • Hello sd95,

    It fails when creating the scheduled task and I assume it encounters the error when it tries to set up the account (DIST-DOM\sophosdb). It's somewhat strange though as I think setup.exe successfully verified this account when you entered its details (and in addition I'd expect that ModifyAccountPrivilege complained if it couldn't access the account). Usually this error code is seen with startup tasks when networking has not yet initialized.

    Hm ... no idea, except: Could you try to create a task, Run whether this user is logged on or not, under the sophosdb user? If this fails it gives perhaps as hint. BTW: Please check also the Task Scheduler log (Diagnostics->Event Viewer->Applications and Services Logs->Microsoft->Windows->Task Scheduler->Operational.

    Christian

    :48352
  • Hi,

    Ok, this is really wierd.  I checked the items you mentioned, but could not find anything in the log file on the date of the installation.  I decided to re-run the installer.  This time, it went through without any errors.  The only difference was that the installer found the original database installation and skipped that part.

    Other than looking through log files and checking some user settings, I did nothing different than the first install.

    MikeM.

    :48354
  • Hello MikeM,

    a little bit weird indeed as you have encountered the error before. Might nevertheless have been a glitch. If it's not in the Task Scheduler's logs ... next on the list is the Installer himself (and of course the regular Application log).
    Anyway, as far as SEC is concerned you should be fine.

    Christian
    :48356