Deployment Solution

 View Only
  • 1.  Default Return Code Action for Jobs Changed to "DAgent Upgrade"!!!

    Posted Mar 10, 2009 11:41 AM

    Hi All,

    I don't know how, but the Default return code action on EVERY SINGLE TASK of EVERY SINGLE JOB in the console was changed to "DAgent Upgrade"... and I definitely do not want all my clients ugprading from AClient to DAgent yet! I've looked through the settings but couldn't find somewhere to change the default action back to "Stop". Anyone know how to do this?

    Deployment Solution version 6.9 SP1.

    imagebrowser image



  • 2.  RE: Default Return Code Action for Jobs Changed to "DAgent Upgrade"!!!

    Posted Mar 10, 2009 12:07 PM

    Check under the Master Return Codes and see if you can delete DAgent Upgrade as an option. It doesn't even exist on either of my servers.



  • 3.  RE: Default Return Code Action for Jobs Changed to "DAgent Upgrade"!!!

    Posted Mar 10, 2009 12:14 PM

    I think it won't live in the Master Return Codes because it is not based on what specific code is returned, but rather, the default action for any code that is not "Success: (0)" being pointed to a particular job. Just like if you did the drop-down menu next to Default and went to "Select a job".



  • 4.  RE: Default Return Code Action for Jobs Changed to "DAgent Upgrade"!!!

    Posted Mar 10, 2009 01:48 PM

    It was just a thought since it doesn't look to be an option that is there on my servers I would think it had to have been added to yours somehow.



  • 5.  RE: Default Return Code Action for Jobs Changed to "DAgent Upgrade"!!!

    Posted May 05, 2009 03:31 PM
    Happening to my setup as well... extremely annoying.

    any way to fix this?  it seemed to happen going from SP1 -> SP2  (DS 6.9) 





  • 6.  RE: Default Return Code Action for Jobs Changed to "DAgent Upgrade"!!!
    Best Answer

    Posted Jun 02, 2009 02:14 PM
    This happened to us as well.  Since everything in Altiris is stored in its SQL database, as long as you can get access to the SQL database, fixing this is a simple task.  Please note that the following code is for DS 6.9, and we run our database on a full MS SQL 2005 server, so if you have a different setup, YMMV.

    --This code will lookup the task_id of the DAgent Upgrade job and set the on_fail code to 0 for any job with that task_id in on_fail
    update task
    set on_fail = 0
    where on_fail = (select event_id from event where [name] = 'DAgent Upgrade')

    I hope this helps someone out there avoid having to do a lot of manual work to fix this.

    Regards

    Jason W