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.12.3 available

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

Error message in Apache error.log: DBD::mysql::db do failed: Duplicate entry '38' for key 'PRIMARY' ...

OCS Server : 2.1.1

OCS Agent : 2.1.1.1

The problem is about server my Apache error

[Sun Feb 15 07:49:27 2015] [notice] Apache/2.2.22 (Ubuntu) PHP/5.3.10-1ubuntu3.13 with Suhosin-Patch mod_perl/2.0.5 Perl/v5.14.2 configured -- resuming normal operations
DBD::mysql::db do failed: Duplicate entry '123' for key 'PRIMARY' at /usr/local/share/perl/5.14.2/Apache/Ocsinventory/Server/Inventory/Update/AccountInfos.pm line 54.
DBD::mysql::db do failed: Duplicate entry '203' for key 'PRIMARY' at /usr/local/share/perl/5.14.2/Apache/Ocsinventory/Server/Inventory/Update/AccountInfos.pm line 54.
DBD::mysql::db do failed: Duplicate entry '188' for key 'PRIMARY' at /usr/local/share/perl/5.14.2/Apache/Ocsinventory/Server/Inventory/Update/AccountInfos.pm line 54.
Issuing rollback() due to DESTROY without explicit disconnect() of DBD::mysql::db handle database=ocsweb;host=localhost;port=3306 at /usr/local/share/perl/5.14.2/Apache/Ocsinventory.pm line 64.
DBD::mysql::db do failed: Duplicate entry '181' for key 'PRIMARY' at /usr/local/share/perl/5.14.2/Apache/Ocsinventory/Server/Inventory/Update/AccountInfos.pm line 54.
Issuing rollback() due to DESTROY without explicit disconnect() of DBD::mysql::db handle database=ocsweb;host=localhost;port=3306 at /usr/local/share/perl/5.14.2/Apache/Ocsinventory.pm line 64.
DBD::mysql::db do failed: Duplicate entry '184' for key 'PRIMARY' at /usr/local/share/perl/5.14.2/Apache/Ocsinventory/Server/Inventory/Update/AccountInfos.pm line 54.
Issuing rollback() due to DESTROY without explicit disconnect() of DBD::mysql::db handle database=ocsweb;host=localhost;port=3306 at /usr/local/share/perl/5.14.2/Apache/Ocsinventory.pm line 64.
Issuing rollback() due to DESTROY without explicit disconnect() of DBD::mysql::db handle database=ocsweb;host=localhost;port=3306 at /usr/local/share/perl/5.14.2/Apache/Ocsinventory.pm line 64.
DBD::mysql::db do failed: Duplicate entry '15' for key 'PRIMARY' at /usr/local/share/perl/5.14.2/Apache/Ocsinventory/Server/Inventory/Update/AccountInfos.pm line 54.
Issuing rollback() due to DESTROY without explicit disconnect() of DBD::mysql::db handle database=ocsweb;host=localhost;port=3306 at /usr/local/share/perl/5.14.2/Apache/Ocsinventory.pm line 64.
DBD::mysql::db do failed: Duplicate entry '22' for key 'PRIMARY' at /usr/local/share/perl/5.14.2/Apache/Ocsinventory/Server/Inventory/Update/AccountInfos.pm line 54.
Issuing rollback() due to DESTROY without explicit disconnect() of DBD::mysql::db handle database=ocsweb;host=localhost;port=3306 at /usr/local/share/perl/5.14.2/Apache/Ocsinventory.pm line 64.
DBD::mysql::db do failed: Duplicate entry '186' for key 'PRIMARY' at /usr/local/share/perl/5.14.2/Apache/Ocsinventory/Server/Inventory/Update/AccountInfos.pm line 54.
Issuing rollback() due to DESTROY without explicit disconnect() of DBD::mysql::db handle database=ocsweb;host=localhost;port=3306 at /usr/local/share/perl/5.14.2/Apache/Ocsinventory.pm line 64.
Issuing rollback() due to DESTROY without explicit disconnect() of DBD::mysql::db handle database=ocsweb;host=localhost;port=3306 at /usr/local/share/perl/5.14.2/Apache/Ocsinventory.pm line 64.
DBD::mysql::db do failed: Duplicate entry '183' for key 'PRIMARY' at /usr/local/share/perl/5.14.2/Apache/Ocsinventory/Server/Inventory/Update/AccountInfos.pm line 54.
Issuing rollback() due to DESTROY without explicit disconnect() of DBD::mysql::db handle database=ocsweb;host=localhost;port=3306 at /usr/local/share/perl/5.14.2/Apache/Ocsinventory.pm line 64.
DBD::mysql::db do failed: Duplicate entry '253' for key 'PRIMARY' at /usr/local/share/perl/5.14.2/Apache/Ocsinventory/Server/Inventory/Update/AccountInfos.pm line 54.
Issuing rollback() due to DESTROY without explicit disconnect() of DBD::mysql::db handle database=ocsweb;host=localhost;port=3306 at /usr/local/share/perl/5.14.2/Apache/Ocsinventory.pm line 64.
Issuing rollback() due to DESTROY without explicit disconnect() of DBD::mysql::db handle database=ocsweb;host=localhost;port=3306 at /usr/local/share/perl/5.14.2/Apache/Ocsinventory.pm line 64.
DBD::mysql::db do failed: Duplicate entry '254' for key 'PRIMARY' at /usr/local/share/perl/5.14.2/Apache/Ocsinventory/Server/Inventory/Update/AccountInfos.pm line 54.
Issuing rollback() due to DESTROY without explicit disconnect() of DBD::mysql::db handle database=ocsweb;host=localhost;port=3306 at /usr/local/share/perl/5.14.2/Apache/Ocsinventory.pm line 64.
DBD::mysql::db do failed: Duplicate entry '201' for key 'PRIMARY' at /usr/local/share/perl/5.14.2/Apache/Ocsinventory/Server/Inventory/Update/AccountInfos.pm line 54.
Issuing rollback() due to DESTROY without explicit disconnect() of DBD::mysql::db handle database=ocsweb;host=localhost;port=3306 at /usr/local/share/perl/5.14.2/Apache/Ocsinventory.pm line 64.
Issuing rollback() due to DESTROY without explicit disconnect() of DBD::mysql::db handle database=ocsweb;host=localhost;port=3306 at /usr/local/share/perl/5.14.2/Apache/Ocsinventory.pm line 64.
DBD::mysql::db do failed: Duplicate entry '115' for key 'PRIMARY' at /usr/local/share/perl/5.14.2/Apache/Ocsinventory/Server/Inventory/Update/AccountInfos.pm line 54.
Issuing rollback() due to DESTROY without explicit disconnect() of DBD::mysql::db handle database=ocsweb;host=localhost;port=3306 at /usr/local/share/perl/5.14.2/Apache/Ocsinventory.pm line 64.
DBD::mysql::db do failed: Duplicate entry '114' for key 'PRIMARY' at /usr/local/share/perl/5.14.2/Apache/Ocsinventory/Server/Inventory/Update/AccountInfos.pm line 54.
DBD::mysql::db do failed: Duplicate entry '178' for key 'PRIMARY' at /usr/local/share/perl/5.14.2/Apache/Ocsinventory/Server/Inventory/Update/AccountInfos.pm line 54.
Issuing rollback() due to DESTROY without explicit disconnect() of DBD::mysql::db handle database=ocsweb;host=localhost;port=3306 at /usr/local/share/perl/5.14.2/Apache/Ocsinventory.pm line 64.
Issuing rollback() due to DESTROY without explicit disconnect() of DBD::mysql::db handle database=ocsweb;host=localhost;port=3306 at /usr/local/share/perl/5.14.2/Apache/Ocsinventory.pm line 64.
DBD::mysql::db do failed: Duplicate entry '30' for key 'PRIMARY' at /usr/local/share/perl/5.14.2/Apache/Ocsinventory/Server/Inventory/Update/AccountInfos.pm line 54.
Issuing rollback() due to DESTROY without explicit disconnect() of DBD::mysql::db handle database=ocsweb;host=localhost;port=3306 at /usr/local/share/perl/5.14.2/Apache/Ocsinventory.pm line 64.
Issuing rollback() due to DESTROY without explicit disconnect() of DBD::mysql::db handle database=ocsweb;host=localhost;port=3306 at /usr/local/share/perl/5.14.2/Apache/Ocsinventory.pm line 64.

What to do with this problem?

Thanks!

 

in OCS Inventory NG server for Unix by (250 points)

1 Answer

0 votes
I upgrade OCS server to ver. 2.1.2, problem stay  =( .  

Please Help me =)
by (250 points)
 
Powered by Question2Answer
...