ITMS Administrator Group

 View Only

Restart Altiris Client Task Data Loader (CTDataLoader) when it won't start 

Dec 30, 2013 01:18 PM

I've run into issues where the CTDataLoader service will crash on my task servers.  This results in a condition where the console will show tasks never starting/finishing, even though the client has completed the tasks sucessfully.  More information on this issue can be found in the KB article TECH43681.  Unfortunately this KB doesn't offer much in the way of help, so I've been working to create my own band-aids for the issue.

I had been simply setting the recovery options for the service to restart the service, but in some situations, the service fails to start.  I've found that restarting the Altiris Object Host Service first will allow me to restart the CTDataLoader service.  Knowing that, I created this simple batch file (attached below) which handles the process for me.  I set my recovery options to run the batch file on any failures (as seen in Figure 1).  Hope this helps someone else.

2013-12-30 09_45_43-WPSYMV82 - Remote Desktop Connection Manager v2.2.png
Figure 1 - Recovery Options for the CTDataLoader Service using the restart_CTDATALOADER.cmd batch file

Feel free to drop me a line if you have any questions.

 

Statistics
0 Favorited
0 Views
1 Files
0 Shares
0 Downloads
Attachment(s)
zip file
restart_CTDATALOADER.zip   401 B   1 version
Uploaded - Feb 25, 2020

Tags and Keywords

Comments

Jan 06, 2014 10:00 AM

You should aim for RCA and fix rather than bandaid, as interupting the service will orphan task status' - it might not be an issue for you, but consider any Job with multiple tasks - you lose the task when the status is lost from the first job. Some customers will have business critical Tasks.

Do your Windows event logs have any .NET/.ASP errors in them?

Do your crashes coincide with Internet outages (see CRL known Microsoft .NET problem above description at http://www.symantec.com/docs/TECH192580 and fix at http://www.symantec.com/docs/HOWTO9585)

Do all your clients get the task? (look at tickle ports not bound on clients, network or firewall issues)

Generally the Taskmanagement.log in verbose mode provides the best information on Task Server related performance - you may wish to review setting it into verbose mode, upping it's size limit (anecdotally it will hit at least 300-400MB if you roll out a job to 2000 clients without standard items included) http://www.symantec.com/docs/TECH164344

The IIS logs also can be useful.

The CRL check on the internet is a Microsoft default configuration, speak to your CA administrator about CRL distribution points on high availability servers.

 

 

Dec 30, 2013 06:50 PM

I have the kb in front of me but it basically is because microsoft is checking for a cert. if your in a firewalled off envrioment your site servers will not do this and your ct dataloader will not load. it will show as automatic. It will still not start using the OP;s script in some cases unless the crl lookup has been turned off 

Dec 30, 2013 05:28 PM

I wonder why CRL lookups have to be disabled?

Dec 30, 2013 05:02 PM

Also remember to make sure also remember to the steps for the Disable CRL lookups 

 

 

Additional Step

Disabling CRL lookups

To disable CRL lookups on the Symantec Management Platform computer, you need to edit the machine.config file on the computer, as follows:

  1. Open the machine.config file in a text editor.

    The
    machine.config file is located at %runtime install path%\Config\machine.config, where the runtime install path is usually C:\Windows\Microsoft.NET\Framework\v2.0.50727\.
  2. Edit the XML of the machine.config file:

    Find the <runtime> node.
    If it looks like <runtime/>, replace it with:


    <runtime>
    <generatePublisherEvidence enabled="false"/>
    </runtime>


    otherwise, simply add:

    <generatePublisherEvidence enabled="false"/>

    between the start and end tags.
  3. Save the machine.config file.

Related Entries and Links

No Related Resource entered.