Deployment Solution

 View Only
  • 1.  Problem running axsched.exe in 6.9 SP1

    Posted Oct 21, 2008 11:04 AM
    I have a Run Script task that basically starts several axsched.exe tasks. This main task runs fine, but upon further investigation it looks like axsched.exe is not connecting the the DB manager service. Here is the error:
    -----------------------------------------------------------------------
    Altiris Deployment Server Scheduling Utility version 6.9
    Copyright 2008. Altiris, Inc. All rights reserved.

    Connecting to database...
    Connected.

    Connecting to the Altiris Deployment Server DB Managment service...
    Error 1326 connecting to the Altiris Deployment Server DB Management service!
    -----------------------------------------------------------------------

    I have tried running the options after it like this:

    axsched COMPUTERNAME -jid 0000001 /lu ALTIRISUSER /lp ALTIRISUSERPASS

    I have also tried specifying the db server.

    Please help


  • 2.  RE: Problem running axsched.exe in 6.9 SP1

    Posted Oct 22, 2008 02:02 AM
    Okay I just figured part of my problem out. The command I am using is from the axsched.exe 6.9 SP 1 version.

    axsched COMPNAME -jid 2001660 /t "2008-10-24 8:00" /u USER /p PASS /lu USER /lp PASS

    Now the problem is you can't use the -jib option if you intend to pass the /u /p /lu /lp options behind it. So if I use the complete job name it works.

    The problem with this is what if I have more than one job in Altiris with the same name, which I do? My only other option is to use folder name, which I guess will have to have a unique name as well.

    I can see the reason why they added the -jid option in the program, because it is a lot easier to schedule and not have to worry about scheduling the wrong job. But since this doesn't work on a DS system that has security enabled, then it is useless.

    Altiris please fix this or specify the proper syntax for using the -jid option with the /l /p and /lu /lp options.