Client Management Suite

 View Only
  • 1.  Patch Management - Ignoring update schedule - updates cannot be applied whilst in this state

    Posted Sep 03, 2010 09:41 AM

    I am trying to manually kick off patches using AexPatchUtil.exe /C /I /Xa but am having issues.  It starts the SoftwareUpdateCycle fine, but then the PatchMgmtAgents.dll sporadically returns "Ignoring update schedule - updates cannot be applied whilst in this state" and quits.  If I keep retrying the command it eventually will successfully start the patch update cycle.

    Anyone know what this means?  Or even better how to prevent this from happening?  Any help/suggestions is appreciated.

    Thanks,
    Brent

    I'm just starting to learn patch management, but it looks like the client side tasks is very limiting.  For instance, you can't override maintenance windows on the client level, but instead must do so on the policy level.  Also, you can kick off patches using AeXPatchUtil, but you have no way of monitoring when the patch cycle is done, if it ran into an error, etc without parsing the logs.... 



  • 2.  RE: Patch Management - Ignoring update schedule - updates cannot be applied whilst in this state

    Posted Sep 03, 2010 10:14 AM
    I should add that the line right above in the log file says "stateChangeEvent() It is time to apply updates "  so it looks like it's the state to apply updates.


  • 3.  RE: Patch Management - Ignoring update schedule - updates cannot be applied whilst in this state

    Posted Sep 03, 2010 10:20 AM

    AKB43546


    Highlights

    There are multiple reasons that this message can occur.
    • The Software Update Agent is not ready.  Inventory is running.
    • It is already in the middle of a Software Update Cycle.
    • Previous updates required a reboot and that has not yet happened or a reboot is in progress.
    • Packages are not yet downloaded.
    Resolution


        As there can be multiple causes there are also potentially multiple resolutions.

    •     The main cause of this is that the computer is pending a reboot.  Reboot the computer.
    •     Note: Restarting the Altiris Services is not enough, the machine must be rebooted. Wait for the running Software Update Cycle to finish.
    •     Verify that packages are downloading and address that if the packages have not yet downloaded.





  • 4.  RE: Patch Management - Ignoring update schedule - updates cannot be applied whilst in this state

    Posted Sep 03, 2010 11:27 AM
    Thank Jim.  The KB looks to be relevant, but in this situation it doesn't seem to meet any of those reasons above:

    Inventory - Confirmed Inventory isn't running
    Previous Update Required Reboot - HKLM\Software\Altiris\Altiris Agent\Patch Management\RebootRequired = 0
    Packages are downloaded successfully - (It doesn't even have patches that it should install since the patches are up to date)



  • 5.  RE: Patch Management - Ignoring update schedule - updates cannot be applied whilst in this state

    Posted Sep 03, 2010 11:55 AM
    If the software update cycle is already running then you will get this message.  Restart the Altiris Agent service and it should get it out of that funk.


  • 6.  RE: Patch Management - Ignoring update schedule - updates cannot be applied whilst in this state

    Posted Sep 03, 2010 03:16 PM
    Thanks guys...  that's probably what's happening...  it's much appreciated..