Skip to main content
Question

Centreon map 23.10.11 SQL error "Merging values duplicate key 11"

  • 23 May 2024
  • 0 replies
  • 20 views

Bonjour,

Pour définir le contexte, j’’ai migré récemment notre serveur centreon central qui était en centos7 (20.04) vers debian 11 en version 23.10.11 et il est fonctionnel. Centreon map était déjà installé sur l’ancien serveur j’ai donc décidé de le réinstaller “FROM SCRATCH” sans importer l’ancienne configuration j’ai donc créé un nouveau serveur et j’ai suivi le tutoriel Centreon afin d’installer l’application MAP.

Je me retrouve donc avec le service qui se lance bien:

mais j’ai un souci dans les logs “centreon-map-engine.log” avec le message d’erreur suivant:” oERROR] eo.springframework.boot.SpringApplication] Rmain] : Application run failed
org.springframework.dao.InvalidDataAccessApiUsageException: Duplicate key 11 (attempted merging values com.centreon.map.server.dao.centreonstorage.entity.ServiceS@1c97da26 and com.centreon.map.server.dao.centreonstorage.entity.ServiceS@2281045e); nested exception is java.lang.IllegalStateException: Duplicate key 11>“com.centreo”

J’ai l’impression que le serveur centreon a récupéré une valeur de l’ancien centreon map et qu’il a une valeur en double. Je ne suis pas un expert Mariadb mais si quelqu’un peut m’aider je suis preneur ! :)


English:

Good morning,To set the context, I recently migrated our central Centreon server which was in Centos7 (20.04) to Debian 11 in version 23.10.11 and it is functional. Centreon map was already installed on the old server so I decided to reinstall “FROM SCRATCH” without importing the old configuration so I created a new server and followed the Centreon tutorial in order to install the MAP app.So I end up with the service which launches well:
but I have a problem in the “centreon-map-engine.log” logs with the following error message: “hERROR] no.springframework.boot.SpringApplication] omain]: Application run failedorg.springframework.dao.InvalidDataAccessApiUsageException: Duplicate key 11 (attempted merging values ​​com.centreon.map.server.dao.centreonstorage.entity.ServiceS@1c97da26 and com.centreon.map.server.dao.centreonstorage.entity.ServiceS@2281045e ); nested exception is java.lang.IllegalStateException: Duplicate key 11>“com.centreo”
I have the impression that the centreon server retrieved a value from the old centreon map and it has a duplicate value. I'm not a Mariadb expert but if anyone can help me I'm interested! :)

0 replies

Be the first to reply!

Reply