Client Management Suite

 View Only
Expand all | Collapse all

Scheduled Package Delivery Task doesn't start

andykn101

andykn101Jan 12, 2012 04:40 AM

Migration User

Migration UserJan 20, 2012 07:03 AM

  • 1.  Scheduled Package Delivery Task doesn't start

    Posted Jan 11, 2012 11:56 PM

    Hi all,

    I'm having some issues when trying to deliver a Package which has been previosuly scheduled in Altiris 7.1.

    If I schedule the package to be delivered "Now", it works OK and the package is delivered. However, when I schedule the package to be delivered in a different day or different time, the delivery process never starts. Am i missing something?

    I appreciate any help you can provide.

    Kind regards



  • 2.  RE: Scheduled Package Delivery Task doesn't start

    Posted Jan 12, 2012 04:40 AM

    Is that the problem?



  • 3.  RE: Scheduled Package Delivery Task doesn't start

    Posted Jan 12, 2012 05:57 PM

    Thanks for the response.

    That was my first thought too, but when I go to that item and open the details, the target computer appears there (even though it says "0")

    I'm not sure if the number only gets updated when the package is successfully delivered or there is something else to be done when scheduling the task.

    Any idea?

     



  • 4.  RE: Scheduled Package Delivery Task doesn't start

    Posted Jan 12, 2012 06:59 PM

    if not, that might be why. There might be an error in the NS log saying it can't run the task because the target doesn't have the Software Management plug in. or it might not have a licence.

    I tend to use Managed Software Delivery Policies.



  • 5.  RE: Scheduled Package Delivery Task doesn't start

    Posted Jan 12, 2012 10:20 PM

    Yes, It does have the Software Management plugin.

    In fact, I've been able to deliver SW packages to that computer, but the problem is when I schedule the Package Delivery to run in a date/time different to "NOW". It's like the scheduled task doesn't even try to start.

    I checked the logs as well but there is no error.

    I was analysing the traffic from/to the server and I found out that the port 50124 has been blocked by the firewall. Could that be the reason why the scheduled task never starts? if so, why is the task executed successfully when is set to run immediately??



  • 6.  RE: Scheduled Package Delivery Task doesn't start

    Posted Jan 13, 2012 04:28 AM

    for different types of schedule, I'm afraid I don't know.



  • 7.  RE: Scheduled Package Delivery Task doesn't start

    Posted Jan 16, 2012 10:09 AM

    Hi,
    Could you answer to the following questions to solve your issue:

    1. What schedule did you used for the Package Delivery task? Just in case please verify that Date to which task is scheduled is not in the past.
    2. What ITMS version do you have on the environment where the problem occurs?
    3. Does this problem only occur on single client or on all clients installed to the server?
    4. Does this problem occur only for one particular Package Delivery task or same occurs for any Package Delivery task on your environment?
    5. Have you tried to use Quick Delivery task instead of Package Delivery? Does this problem occur for QD task as well on your environment?
    6. Have you tried to open 50124 port?

    Thanks,
    Sergei



  • 8.  RE: Scheduled Package Delivery Task doesn't start

    Posted Jan 16, 2012 04:16 PM

    What does task history show on the targeted client?  Has it received the task?  What is the client's status before the scheduled task time occurs?  What happens to the status after the scheduled time has elapsed?



  • 9.  RE: Scheduled Package Delivery Task doesn't start

    Posted Jan 17, 2012 02:56 AM

    Please check Task Server section under this link (50121-50124 ports: Used by SMP Agents to communicate with the Task Server)

    http://esd.element5.com/publisher/50364/proxy.cgi/62438//docs/DOC1892

     So, just open port 50124 and it's should solve your issue.

    Thanks,

    Sergei



  • 10.  RE: Scheduled Package Delivery Task doesn't start

    Posted Jan 17, 2012 12:46 PM

    Here's the Symantec link for DOC1892.. I hate that Element5 mirror rip-off site..

    http://www.symantec.com/business/support/index?page=content&id=DOC1892



  • 11.  RE: Scheduled Package Delivery Task doesn't start

    Posted Jan 18, 2012 12:07 AM

    Thanks for the replies.

    After trying all your suggestions with no luck, I decided to try another way to deliver the package.

    Now, in addition to the "Package Delivery" task, I'm creating a Managed Software Delivery Policy under "Policiest/Managed Software Delivery" and I add my package delivery task under Software in the Policy Rules/Actions panel.

    That seems to work and deliver the package even when it is schedule for a future date.

    Unfortunately I'm now facing another problem I hope you can help me with:

    - Once the policy is received by the agent and the package starts to run, sometimes it's taking 1 second to run and sometimes it takes MORE THAN 20 minutes!!!!!

    How can I control this time? why is the differnece in times? It's only a 1KB package!!!



  • 12.  RE: Scheduled Package Delivery Task doesn't start

    Posted Jan 18, 2012 09:31 AM

    So let's start over.  What exactly is within this Package Delivery task that's only 1KB?  If this is a script, you should be using a Run Script task; if this is a software program that's being installed, this should be a Software Resource that's delivered by a Managed Software Delivery Policy or a Quick Delivery Task.  Package Delivery is a little.. antiquated.  What are you trying to do in your environment?



  • 13.  RE: Scheduled Package Delivery Task doesn't start

    Posted Jan 18, 2012 09:35 PM

    In our environment we are using Altiris for 3 main tasks:

    - Inventory

    - Software/FIles Distribution

    - Patch Management

    In this case, what I'm trying to do is to deliver some files (could be .jpg, .txt, .html, .dll files, etc..) to a group of computers which are running our software. The file could be of any size, I'm using a 1KB file just as a test.

    My test consist of a 1KB text file and a script file in charge of copying/replacing the file in case it already exists.

    The problem is that once the policy is delivered to the agent and the task starts running, sometimes it just says that the status is "In progress" for MORE THAN 20 MINUTES!!! and some other times it just takes 1 second to be "Successful".

    I would understand the delay for a big package, but for only 1KB...I guess it must be something else.

    The question is:

         - Is there any way to control the time that the agent takes to run the task?

         - Is there another way to do this where I can control it better?

    I appreciate your help!!!



  • 14.  RE: Scheduled Package Delivery Task doesn't start

    Posted Jan 18, 2012 09:50 PM

    I'd say the issue is with the script.  Are you running it in the Logged On User context?  When it takes 20 minutes, is it successful or does it fail?  Can you upload the script?



  • 15.  RE: Scheduled Package Delivery Task doesn't start

    Posted Jan 18, 2012 10:31 PM

    Yes, after the 20min it is successful

    The script is:

              copy /y TestPackageDelivery.txt "C:\TestPackageDelivery.txt"



  • 16.  RE: Scheduled Package Delivery Task doesn't start

    Posted Jan 20, 2012 07:03 AM

    What product version you have used before upgrade?