unspecified errors

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #9217
    mray
    Participant

    So we have recently adopted BP and it’s definitely a step up from other tools we’ve used; however, we are trying to fix several groups of errors in our environment, spit out by various hosts.

    A large section of them seem to not failures, but I do not see any details, e.g.:

    Fri-10:48:59> Job Queue: Execution terminated. Timeout reached before host went offline and/or came back online.
    Fri-09:48:58> Waiting for host to go offline and come back online...
    Fri-09:48:58> Job Queue: Initiating 'Wait for host to go offline and come back online'
    Fri-09:48:57> Windows Update: Error 1611: 64. Failure
    Fri-09:48:57> Windows Update: Download operation completed
    Thu-21:29:48> COMPUTER ONLINE
    Thu-21:29:45> Windows Update: Executing BatchPatchRemoteAgent.exe...
    Thu-21:29:45> Windows Update: Attempting to initiate Windows Update (Action: Download and install updates: 'SoftwareOnly' ¦ Server selection: Default / Managed) ...
    Thu-21:29:44> Windows Update: Establishing connection...
    Thu-21:29:44> Windows Update: Initializing...
    Thu-21:29:44> Job Queue: Initiating 'Download and install updates + reboot if required'
    Thu-21:29:44> COMPUTER is now responding to WMI requests...
    Thu-21:29:23> COMPUTER ONLINE
    Thu-21:29:05> COMPUTER OFFLINE
    Thu-21:28:41> Waiting for host to go offline and come back online...
    Thu-21:28:41> Job Queue: Initiating 'Wait for host to go offline and come back online'
    Thu-21:28:40> Reboot/Shutdown: Reboot (force) initiated successfully
    Thu-21:28:40> Reboot/Shutdown: Attempting to initiate reboot (force)...
    Thu-21:28:40> Reboot/Shutdown: Failed to initiate reboot. User is logged on.
    Thu-21:28:39> Reboot/Shutdown: Attempting to initiate reboot...
    Thu-21:28:39> Windows Update: Reboot Required. Overall Installation Result: SucceededWithErrors
    Thu-20:27:53> Windows Update: Executing BatchPatchRemoteAgent.exe...
    Thu-20:27:52> Windows Update: Attempting to initiate Windows Update (Action: Download and install updates: 'SoftwareOnly' ¦ Server selection: Default / Managed) ...
    Thu-20:27:52> Windows Update: Establishing connection...
    Thu-20:27:52> Windows Update: Initializing...
    Thu-20:27:52> Job Queue: Initiating 'Download and install updates + reboot if required'
    Thu-20:27:22> Windows Update: Update/Reboot Cycle: Queued...
    Thu-20:25:14> CPU Info: Intel(R) Core(TM) i7-3770K CPU @ 3.50GHz | Sockets: 1 | Cores: 4 | Logical Processors: 8
    Thu-20:25:12> CPU Info: Attempting to retrieve CPU info...

    1. Thu-21:28:39> Windows Update: Reboot Required. Overall Installation Result: SucceededWithErrors

    For this line — is it possible to figure out what failed and what succeeded (I assume they are individual KBs)

    2. Fri-09:48:57> Windows Update: Error 1611: 64. Failure

    For this line, I didn’t see any other forum postings about this specific issue nor any documentation, so what is it? Is it a generic failure due to the prior “SucceededWithErrors” failure?

    #11273
    doug
    Moderator

    1. You need to look at the ‘Remote Agent Log’ column to see which update(s) failed to download/install. There you should also see an error number or HRESULT value, which will be the reason code for the failure. Note, the contents of the ‘Remote Agent Log’ column are replaced each time you execute a Windows Update action, so if you are running a cycle with multiple Windows Update actions, then in order to see the complete history of the entire cycle you need to look at the BatchPatch.log, which you can view in BatchPatch with ‘Actions > Windows updates > View BatchPatch.log.’ Alternatively you can view this log file directly on the target computer at C:Program FilesBatchPatchBatchPatch.log

    2. I’m a little bit confused what is going on here. Your log is peculiar. In particular what does not make sense to me is that at Thu-21:29:44 the download/install/reboot task is executed. But then we see Thu-21:29:48> COMPUTER ONLINE. Where is this coming from? It’s not clear from your log where this additional “COMPUTER ONLINE” is coming from since we already see that at Thu-21:29:23> COMPUTER ONLINE. BP does not log ‘COMPUTER ONLINE’ twice under normal circumstances. Furthermore, we then don’t see anything else until ~12 hours later at Fri-09:48:57> Windows Update: Download operation completed. Additionally, we normally would not expect to see “Download operation completed” logged to ‘All Messages’ for a ‘Download and install updates + reboot if required’ action. We would only expect to see ‘Download operation completed’ logged to ‘All Messages’ when ‘Download available updates’ was executed. However, it’s surely related to the error 64 because I think BP could not continue and so it logged ‘Download operation completed’ since it could not continue with the installation and reboot. Though still I’m not positive exactly how this occurred. Lastly, the error 64 is coming from Windows, and it translates to:

    ERROR_NETNAME_DELETED

    64 (0x40)

    The specified network name is no longer available.

    All in all, it’s difficult for me to tell you exactly what happened here, but I will posit a couple of guesses. It’s as if the computer went offline in the midst of a BP operation.

    One possibility is that after the computer initially came back ONLINE it automatically initiated a reboot on its own. Sometimes Windows Updates will auto-reboot the computer to complete an installation. BatchPatch has no way to track this, unfortunately. However, it might be why things got weird. One way to avoid this issue is to always have a 10 minute wait period after the ‘Wait for host to go offline and come back online’ to ensure that the computer has completed any additional reboot that Windows Update might automatically initiate. In this case while it might explain why we see an additional COMPUTER ONLINE in the log, it doesn’t explain why we don’t see an additional COMPUTER OFFLINE in the log before that.

    A second possibility is that someone from a different BP installation tried to perform a task on the same computer while one was already running. It’s almost as if someone rebooted the machine while BP was working. Again though, I cannot say for sure from this log exactly what is happening.

    All in all, I don’t fully understand what happened here. I would suggest first starting with the BatchPatch.log to see what updates failed. Then see what happens when you initiate a new download/install/reboot task. It might be best to not use the job queue or update-reboot cycle until you are a bit more comfortable with the results that you see from executing a few standalone Windows Update actions. This is your choice, of course, and it’s certainly not a huge deal to just continue using them. The job queue and update-reboot cycle are great tools and very powerful, but they add complexity and make it harder to decipher what is going on in the event of a problem. Certainly if you DO use the job queue or cycle, then at the very least I would suggest that you try putting a 10 minute wait after the ‘wait for host to go offline and come back online’ to see if that helps deal with any extra reboots that Windows Update auto-initiates.

    -Doug

    #11276
    mray
    Participant

    Doug-

    There would not have been another BP instance running, so either an end user doing something they shouldn’t have or windows rebooting to finish updates sounds plausible to me.

    I’ll be sure to modify our cycle so there is that sleep time to hopefully alleviate the issue.

    Unfortunately, I did not save that BP grid, so I cannot get any other additional details about which updates failed; I’ll have to check that next time.

    Thanks much for the help.

    #11277
    doug
    Moderator

    You do not have to save the grid in order to see additional details about which update failed. As mentioned above, you can view the log in BatchPatch with ‘Actions > Windows updates > View BatchPatch.log.’ Alternatively you can view this log file directly on the target computer at C:Program FilesBatchPatchBatchPatch.log. This will show you the entire BatchPatch history on that computer.

    -Doug

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.