Hello,
I have an issue creating DataMiner Backups with the Database Data.
[09/25/2023 09:48:59][INFO][Program.cs:32] Beginning backup...[09/25/2023 09:48:59][INFO][Backup.cs:51] Local IP address was found. Backup can proceed on database with IP address: localhost.
[09/25/2023 09:48:59][INFO][CassandraConnection.cs:47] Connecting with Cassandra on: localhost with user: root
[09/25/2023 09:49:04][INFO][CassandraConnection.cs:67] Retrying to connect with Cassandra.
[09/25/2023 09:49:09][INFO][CassandraConnection.cs:67] Retrying to connect with Cassandra.
[09/25/2023 09:49:14][INFO][CassandraConnection.cs:67] Retrying to connect with Cassandra.
[09/25/2023 09:49:19][INFO][CassandraConnection.cs:67] Retrying to connect with Cassandra.
[09/25/2023 09:49:24][INFO][CassandraConnection.cs:67] Retrying to connect with Cassandra.
[09/25/2023 09:49:29][INFO][CassandraConnection.cs:67] Retrying to connect with Cassandra.
[09/25/2023 09:49:34][INFO][CassandraConnection.cs:67] Retrying to connect with Cassandra.
[09/25/2023 09:49:39][INFO][CassandraConnection.cs:67] Retrying to connect with Cassandra.
[09/25/2023 09:49:44][INFO][CassandraConnection.cs:67] Retrying to connect with Cassandra.
[09/25/2023 09:49:49][INFO][CassandraConnection.cs:67] Retrying to connect with Cassandra.
[09/25/2023 09:49:49][INFO][CassandraConnection.cs:73] Could not connect to Cassandra: The type initializer for 'Cassandra.AtomicMonotonicTimestampGenerator' threw an exception.
[09/25/2023 09:49:49][ERROR][Program.cs:43] System.TypeInitializationException: The type initializer for 'Cassandra.AtomicMonotonicTimestampGenerator' threw an exception. ---> System.TypeInitializationException: The type initializer for 'Cassandra.Diagnostics' threw an exception. ---> System.IO.FileLoadException: Could not load file or assembly 'Microsoft.Extensions.Logging, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040) ---> System.IO.FileLoadException: Could not load file or assembly 'Microsoft.Extensions.Logging, Version=1.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)
--- End of inner exception stack trace ---
at Cassandra.Diagnostics..cctor()
--- End of inner exception stack trace ---
at Cassandra.Logger..ctor(Type type)
at Cassandra.AtomicMonotonicTimestampGenerator..cctor()
--- End of inner exception stack trace ---
at Cassandra.Policies..ctor(ILoadBalancingPolicy loadBalancingPolicy, IReconnectionPolicy reconnectionPolicy, IRetryPolicy retryPolicy, ISpeculativeExecutionPolicy speculativeExecutionPolicy, ITimestampGenerator timestampGenerator)
at Cassandra.Builder.GetConfiguration()
at Cassandra.Cluster.BuildFrom(IInitializer initializer, ICollection`1 hostNames)
at SLDataGateway.Backup.Cassandra.Utils.CassandraConnection.CreateCassandraConnection()
at SLDataGateway.Backup.Cassandra.Utils.CassandraConnection..ctor(ConfigurationManager configurationManager, ILogger logger)
at SLDataGateway.Backup.Cassandra.Operations.Backup..ctor(ILogger logger, ProgramOptions options, Nodetool nodetool, IPackageFactory packageFactory, CassandraConfig cassandraConfig, ConfigurationManager configurationManager)
at SLDataGateway.Backup.Cassandra.Operations.OperationFactory.CreateInstance(ProgramOptions options, ILogger logger)
at SLDataGateway.Backup.Cassandra.Program.Main(String[] args)
DataMiner-Version is 10.3.9.
How do I fix this?
Best Regards,
Robert
Debeuf Klaas [SLC] [DevOps Advocate] Answered question 25th September 2023
Hi Robert,
This is a known issue fixed in 10.3.9-CU2 and 10.3.10.
Upgrading to those versions should fix the issue.
Regards,
Edith Lansens [SLC] [DevOps Advocate] Posted new comment 25th September 2023
Thank you, that solved the issue.
You can find more information about this known issue in the DataMiner documentation: https://docs.dataminer.services/user-guide/Troubleshooting/Known_issues/KI_Cassandra_backups_not_working.html