Welcome to OCS Inventory NG community support, where you can ask questions and receive answers from other members of the community.

Please ask questions only in English or French.

Release 2.11.1 available

The official documentation can be found on http://wiki.ocsinventory-ng.org. Read it before asking your question.

Error in apache2/error.log : duplicate entry

hi,

In my apache2/error.log i have a lot error like this

DBD::mysql::db do failed: Duplicate entry '3318' for key 'PRIMARY' at /usr/local/share/perl/5.28.1/Apache/Ocsinventory/Server/Inventory/Update/AccountInfos.pm line 66.
DBD::mysql::db do failed: Duplicate entry '1990' for key 'PRIMARY' at /usr/local/share/perl/5.28.1/Apache/Ocsinventory/Server/Inventory/Update/AccountInfos.pm line 66.
DBD::mysql::db do failed: Duplicate entry '3060' for key 'PRIMARY' at /usr/local/share/perl/5.28.1/Apache/Ocsinventory/Server/Inventory/Update/AccountInfos.pm line 66.

I have done Ocs update in 2.8.1 but still present. I have no found resolution on this forum...

How I can correct them ?

Thank you
in OCS Inventory NG server for Unix by (670 points)

2 Answers

0 votes

First check under Duplicates (see photos) by checking under "Hostname Only" and delete the ones that shouldn't be there. I normally see which one has the oldest "Last Inventory".

by (1.4k points)
0 votes
Same, can we have a solution of this?
by (350 points)
 
Powered by Question2Answer
...