Standalone backup agent for Microsoft Windows servers and workstations (formerly Veeam Endpoint Backup FREE)
Post Reply
tmue
Influencer
Posts: 13
Liked: 3 times
Joined: Jan 14, 2019 3:03 pm
Full Name: Thomas Muehlboeck
Contact:

Problem adding new Agent - Key already in dictionary

Post by tmue »

Hi!

I have a problem when adding Agents to specific protection groups. The first 5 or 6 agents worked fine. Since then I always get the error "key already in dictionary" (customers installation is in german, so I hope my translation is right :) ).
This does not happen in all protection groups, just in a few.

Log says:

Code: Select all

[08.07.2021 09:34:08] <138> Error        Der Schlüssel ist bereits im Wörterbuch vorhanden. (System.ArgumentException)
[08.07.2021 09:34:08] <138> Error           bei System.Collections.Concurrent.ConcurrentDictionary`2.System.Collections.Generic.IDictionary<TKey,TValue>.Add(TKey key, TValue value)
[08.07.2021 09:34:08] <138> Error           bei Veeam.Backup.Core.AgentManagement.SEpAgentJobHelper.BuildAgentsContainingChildJobs(CBackupJob[] managementJobs)
[08.07.2021 09:34:08] <138> Error           bei Veeam.Backup.ServiceLib.CForeignDbAccessorContext.BackupJobsScope.CleanUpOldChildJob(Guid policyId, Guid agentId)
[08.07.2021 09:34:08] <138> Error           bei Veeam.Backup.ServiceLib.CForeignDbAccessorContext.BackupJobsScope.CreateJob(CDbBackupJobInfo jobInfo, CPartialPath userSubfolder, Guid agentId)
[08.07.2021 09:34:08] <138> Error           bei Veeam.Backup.ServiceLib.CForeignDbAccessorContext.BackupJobsScope.UpdateOrCreateJob(CDbBackupJobInfo newInfo, CPartialPath userSubfolder, Guid agentId)
[08.07.2021 09:34:08] <138> Error           bei Veeam.Backup.ServiceLib.CForeignInvokerSpecDBExecuter.Executor.NotifyJobUpdated(CForeignInvokerDBSpecNotifyJobUpdated spec)
[08.07.2021 09:34:08] <138> Error           bei Veeam.Backup.ServiceLib.CForeignInvokerServerSpecExecuter.ExecuteDBAccessor(CForeignInvokerDBSpec spec, CInputXmlData response)
[08.07.2021 09:34:08] <138> Error           bei Veeam.Backup.ServiceLib.CForeignInvokerServerSpecExecuter.Excecute(CForeignInvokerSpec spec, EForeignInvokerScope scope, EndPoint remoteEndPoint, IForeignAuthenticatedObject authenticatedObject, WindowsIdentity identity)
[08.07.2021 09:34:08] <138> Error           bei Veeam.Backup.ServiceLib.CForeignInvokerServerSpecExecuter.Execute(CSpecDeserializationContext context, CConnectionState state)
[08.07.2021 09:34:08] <138> Error           bei Veeam.Backup.ServiceLib.CInvokerServerAsyncExecuter.ThreadProc(Object parameter)
[08.07.2021 09:34:08] <118> Error        Failed to exec command from foreign socket
[08.07.2021 09:34:08] <118> Error        Der Schlüssel ist bereits im Wörterbuch vorhanden. (System.ArgumentException)
[08.07.2021 09:34:08] <118> Error           bei System.Collections.Concurrent.ConcurrentDictionary`2.System.Collections.Generic.IDictionary<TKey,TValue>.Add(TKey key, TValue value)
[08.07.2021 09:34:08] <118> Error           bei Veeam.Backup.Core.AgentManagement.SEpAgentJobHelper.BuildAgentsContainingChildJobs(CBackupJob[] managementJobs)
[08.07.2021 09:34:08] <118> Error           bei Veeam.Backup.ServiceLib.CForeignDbAccessorContext.BackupJobsScope.CleanUpOldChildJob(Guid policyId, Guid agentId)
[08.07.2021 09:34:08] <118> Error           bei Veeam.Backup.ServiceLib.CForeignDbAccessorContext.BackupJobsScope.CreateJob(CDbBackupJobInfo jobInfo, CPartialPath userSubfolder, Guid agentId)
[08.07.2021 09:34:08] <118> Error           bei Veeam.Backup.ServiceLib.CForeignDbAccessorContext.BackupJobsScope.UpdateOrCreateJob(CDbBackupJobInfo newInfo, CPartialPath userSubfolder, Guid agentId)
[08.07.2021 09:34:08] <118> Error           bei Veeam.Backup.ServiceLib.CForeignInvokerSpecDBExecuter.Executor.NotifyJobUpdated(CForeignInvokerDBSpecNotifyJobUpdated spec)
[08.07.2021 09:34:08] <118> Error           bei Veeam.Backup.ServiceLib.CForeignInvokerServerSpecExecuter.ExecuteDBAccessor(CForeignInvokerDBSpec spec, CInputXmlData response)
[08.07.2021 09:34:08] <118> Error           bei Veeam.Backup.ServiceLib.CForeignInvokerServerSpecExecuter.Excecute(CForeignInvokerSpec spec, EForeignInvokerScope scope, EndPoint remoteEndPoint, IForeignAuthenticatedObject authenticatedObject, WindowsIdentity identity)
[08.07.2021 09:34:08] <118> Error           bei Veeam.Backup.ServiceLib.CForeignInvokerServerSpecExecuter.Execute(CSpecDeserializationContext context, CConnectionState state)
[08.07.2021 09:34:08] <118> Error           bei Veeam.Backup.ServiceLib.CInvokerServerAsyncExecuter.ThreadProc(Object parameter)
[08.07.2021 09:34:08] <118> Error        --- Ende der Stapelüberwachung vom vorhergehenden Ort, an dem die Ausnahme ausgelöst wurde ---
[08.07.2021 09:34:08] <118> Error           bei System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
[08.07.2021 09:34:08] <118> Error           bei Veeam.Backup.ServiceLib.CInvokerServerAsyncExecuter.TryGetResult(String& result)
[08.07.2021 09:34:08] <118> Error           bei Veeam.Backup.ServiceLib.CInvokerServerAsyncExecuter.Wait(String execResponse, Boolean& isCompleted)
[08.07.2021 09:34:08] <118> Error           bei Veeam.Backup.ServiceLib.CInvokerServer.DoExecute(CSpecDeserializationContext context, CConnectionState state)
[08.07.2021 09:34:08] <118> Error           bei Veeam.Backup.ServiceLib.CInvokerServer.ExecThreadProc(Object parameters)
Anyone here with an idea what I am doing wrong?
Agents get deployed per unattended installation with the customers software rollout tool. Error occurs for around 1/3 of all clients. Other clients are working fine.
PetrM
Veeam Software
Posts: 3626
Liked: 608 times
Joined: Aug 28, 2013 8:23 am
Full Name: Petr Makarov
Location: Prague, Czech Republic
Contact:

Re: Problem adding new Agent - Key already in dictionary

Post by PetrM »

Hi Thomas,

Please provide a support case ID for this issue, as requested when you click New Topic. As explained there, we cannot troubleshoot technical issues over the forum posts and we try to avoid pasting log snippets on forum, debug logs must be analyzed by our support team.

Thanks!
tmue
Influencer
Posts: 13
Liked: 3 times
Joined: Jan 14, 2019 3:03 pm
Full Name: Thomas Muehlboeck
Contact:

Re: Problem adding new Agent - Key already in dictionary

Post by tmue » 1 person likes this post

Hi!

Created the support ticket parallel to this thread :) .

ID #02461710
PetrM
Veeam Software
Posts: 3626
Liked: 608 times
Joined: Aug 28, 2013 8:23 am
Full Name: Petr Makarov
Location: Prague, Czech Republic
Contact:

Re: Problem adding new Agent - Key already in dictionary

Post by PetrM »

I cannot find a support case 02461710 in our ticket tracking system but I guess the correct ID is: 04903627.

Thanks!
tmue
Influencer
Posts: 13
Liked: 3 times
Joined: Jan 14, 2019 3:03 pm
Full Name: Thomas Muehlboeck
Contact:

Re: Problem adding new Agent - Key already in dictionary

Post by tmue » 1 person likes this post

Yes, correct. Sorry for that, copied the wrong number.
Post Reply

Who is online

Users browsing this forum: No registered users and 12 guests