[Spce-user] DB error on
Alex Lutay
alutay at sipwise.com
Mon Sep 21 13:10:58 EDT 2015
Hi,
On 09/21/2015 04:36 PM, Tung Tran wrote:
> Sometime I saw this error from kamailio-proxy
>
> Sep 21 16:31:52 spce proxy[64504]: ERROR: <core> [db_query.c:235]:
> db_do_insert_cmd(): error while submitting query
> Sep 21 16:31:52 spce proxy[64504]: ERROR: usrloc [ucontact.c:683]:
> db_insert_ucontact(): inserting contact in db failed
> Sep 21 16:31:52 spce proxy[64504]: ERROR: usrloc [urecord.c:589]:
> insert_ucontact(): failed to insert in database
> Sep 21 16:31:52 spce proxy[64504]: ERROR: registrar [save.c:507]:
> insert_contacts(): failed to insert contact
It means kamailio failed to insert record for some reason.
There should be more info in log. DB gone? DB connection gone?
What is inside MySQL logs for those time?
Connection can be closed by inactivity timeout, kamailio failed to
inster record, reconnected and inserted properly, etc...
Hard to say from this side, share steps to reproduce if you have
together with release version.
> Is it a bug in SPCE? and how to fix it?
Nothing I am aware of.
Please always specify release version you have.
--
Alexander Lutay
More information about the Spce-user
mailing list