Data Collection on Unix assets fail with System.Collections.Generic.KeyNotFoundException

book

Article ID: 158931

calendar_today

Updated On:

Products

Control Compliance Suite Unix

Issue/Introduction

You are trying to run data collection on Unix assets but it fail with "System.Collections.Generic.KeyNotFoundException"

System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Collections.Generic.KeyNotFoundException: The given key was not present in the dictionary. 

at System.Collections.Generic.Dictionary`2.get_Item(TKey key) 

at Symantec.CSM.Content.Control.Configuration.ControlConfiguration.GetCollectorJobErrorURI(String platformName) 

at Symantec.Control.Provider.DCInfraConnectionAbstract..ctor(ProviderDataCollectionRequest request) 

at Symantec.Control.Provider.DCInfraConnectionFactory.GetAgentBased(ProviderDataCollectionRequest request) 

at Symantec.Control.Provider.DCInfraConnectionFactory.GetDCInfraConnection(ProviderDataCollectionRequest request) 

at Symantec.Control.Provider.RMSReader..ctor(ProviderDataCollectionRequest job, CCSAgentQueryManager manager, Int32 level, Dictionary`2 levelBasedQueryIDToEntityMap, AssetToBladeQueryMapping assetToBladeQueryMapping, String scratchPath, String jobID) 

--- End of inner exception stack trace --- 

at System.RuntimeMethodHandle._InvokeConstructor(IRuntimeMethodInfo method, Object[] args, SignatureStruct& signature, RuntimeType declaringType) 

at System.RuntimeMethodHandle.InvokeConstructor(IRuntimeMethodInfo method, Object[] args, SignatureStruct signature, RuntimeType declaringType) 

at System.Reflection.RuntimeConstructorInfo.Invoke(BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) 

at System.RuntimeType.CreateInstanceImpl(BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes) 

at System.Activator.CreateInstance(Type type, BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes) 

at System.RuntimeType.InvokeMember(String name, BindingFlags bindingFlags, Binder binder, Object target, Object[] providedArgs, ParameterModifier[] modifiers, CultureInfo culture, String[] namedParams) 

at Symantec.MOS.Core.Factory.LoadProvider(String formattedTypeName, Ob

Cause

 Option "Enable import and upgrade of BV-Control for UNIX agents" was initialized. Once this option is used it has to remain enabled.

Resolution

1.    Open Symantec CCS Console

2.    Go to > Settings > General

3.    Select Agents under Application Configuration section

4.    Check option Enable import and upgrade of BV-Control for UNIX agents

5.    Go to > System Topology > Map View

6.    Click Infrastructure Tasks and select Sync Configuration


Applies To

CCS 11

SCU 2013-3

PU 2013-2

PACU 2013-26