Problem with Piwik Archive

Hello forum,

I’m recently have a problem regarding piwik archive. Suddenly I got this error message on my system log :


exception 'Exception' with message 'API returned an error: loadNextIdArchive: Cannot get named lock for table piwiknew_archive_numeric_2013_06.#012' in /var/www/html/mysite/piwik/plugins/API/API.php:767#012Stack trace:#012#0 /var/www/html/mysite/piwik/plugins/CustomReports/API.php(593): Piwik_API_API->getProcessedReport(1, 'month', '2013-06-02', 'VisitsSummary', 'get', 'customVariableP...', Array, false, 'en')#012#1 /var/www/html/mysite/piwik/plugins/CustomReports/API.php(359): Piwik_CustomReports_API->generateReport(Array)#012#2 /var/www/html/mysite/piwik/plugins/CustomReports/API.php(445): Piwik_CustomReports_API->dosend(Array)#012#3 [internal function]: Piwik_CustomReports_API->sendReport(false)#012#4 /var/www/html/mysite/piwik/core/API/Proxy.php(189): call_user_func_array(Array, Array)#012#5 /var/www/html/mysite/piwik/core/API/Request.php(127): Piwik_API_Proxy->call('Piwik_GYVReport...', 'sendReport', Array)#012#6 /var/www/html/mysite/piwik/plugins/API/Controller.php(26): Piwik_API_Request->process()#012#7 [internal function]: Piwik_API_Controller->index()#012#8 /var/www/html/mysite/piwik/core/FrontController.php(136): call_user_func_array(Array, Array)#012#9 /var/www/html/mysite/piwik/index.php(52): Piwik_FrontController->dispatch()#012#10 {main}

That error message also displayed on the piwik index page.

Can anyone explain why I got that error message?

Regards,
Julian

never mind, I solve the issue