OR
AD import rule(s) in SMP display "Task is starting" status but the started and run time are excessive.
(Actions > Discover > Import Microsoft Active Directory)
SMP a.log has the following entry for the rule.
"Directory Import will not start, rule is already running: "<The import rule name>" <GUID> "
- or -
Operation completed: Configuring directory import rule: 69173f10-1160-40f6-b780-1e9250
-----------------------------------------------------------------------------------------------------
Date: 11/16/2016 9:53:29 AM, Tick Count: 1553231375 (17.23:27:11.3750000), Size: 343 B
Process: AeXSvc (7144), Thread ID: 137, Module: AeXSVC.exe
Priority: 16, Source: DirectoryImportItem
ITMS 7.6, 8.0, 8.1
This issue has been addressed during ITMS 8.1 RU6 release. (Though this error was stopped in 8.1 RU7)
AD Import internal task logic was switched from threads to .NET Task construct.
Previous workaround:
It is most likely that after reviewing the content of TaskManager table, these affected AD Import Rules will have a status of "R" which means retrying. As shown below:
when using query:
SELECT *
FROM TaskManager
WHERE State = 'R'
StartDateTime | EndDateTime | NumRestarts | Name | ClassName | MethodName | ErrorMessage | PercentComplete | ProgressDescription | State | Status | Restartable | Result |
10:24.5 | NULL | 17 | Directory Import | Altiris.DirectoryServices.NSDirectoryItems.DirectoryImportTask | DoDirectoryImportTask | NULL | 0 | Task is starting... | R | 0 | 1 | NULL |
40:39.0 | NULL | 17 | Directory Import | Altiris.DirectoryServices.NSDirectoryItems.DirectoryImportTask | DoDirectoryImportTask | NULL | 0 | Task is starting... | R | 0 | 1 | NULL |
40:01.6 | NULL | 17 | Directory Import | Altiris.DirectoryServices.NSDirectoryItems.DirectoryImportTask | DoDirectoryImportTask | NULL | 0 | Task is starting... | R | 0 | 1 | NULL |
Please try the following steps:
Delete from TaskManager Where State = 'R')
truncate table taskmanager