Sponsor: VoiceMeUp - Corporate & Wholesale VoIP Services

VoIP Mailing List Archives
Mailing list archives for the VoIP community
 SearchSearch 

[asterisk-users] Asterisk 13.7.0 losing database connection


 
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> Asterisk Users
View previous topic :: View next topic  
Author Message
mrmdev at outlook.com
Guest





PostPosted: Wed Jan 27, 2016 9:45 am    Post subject: [asterisk-users] Asterisk 13.7.0 losing database connection Reply with quote

Hi everyone,


I upgraded from Asterisk 13.5.0 to 13.7.0 and I am having database connection problems. I am doing Asterisk realtime with PJSIP 2.4.5 and it works perfectly in 13.5.0. But now I am losing my database connection (running on a virtual box) and I am stuck!


I spent all day yesterday looking through information from people that had similar problems. So far as I can tell, this pops up from time to time, but I never saw any resolution. I've tried to increase connection_timeout and monkey around with bind-address but no joy.



Has anyone had any experience with this?





Below is a snippet from my CLI that shows the problem:





[Jan 26 09:58:27] WARNING[23947]: res_odbc.c:661 ast_odbc_prepare_and_execute: SQL Execute error -1! Verifying connection to asterisk [asterisk-connector]...
[Jan 26 09:58:27] WARNING[23947]: res_odbc.c:765 ast_odbc_sanity_check: Connection is down attempting to reconnect...
Error in my_thread_global_end(): 1 threads didn't exit
[Jan 26 09:58:32] NOTICE[23947]: res_odbc.c:1528 odbc_obj_connect: Connecting asterisk
[Jan 26 09:58:32] NOTICE[23947]: res_odbc.c:1567 odbc_obj_connect: res_odbc: Connected to asterisk [asterisk-connector]
[Jan 26 09:58:32] WARNING[23947]: res_odbc.c:649 ast_odbc_prepare_and_execute: SQL Execute returned an error -1: 23000: [MySQL][ODBC 5.1 Driver][mysqld-5.5.46-0+deb8u1]Duplicate entry '103^3B@b2ddb71120ca050b70435cd8679200ba' for key 'id' (118)
[Jan 26 09:58:32] WARNING[23947]: res_odbc.c:661 ast_odbc_prepare_and_execute: SQL Execute error -1! Verifying connection to asterisk [asterisk-connector]...
[Jan 26 09:58:32] WARNING[23947]: res_odbc.c:765 ast_odbc_sanity_check: Connection is down attempting to reconnect...
Error in my_thread_global_end(): 1 threads didn't exit



Thanks,


--Matt
Back to top
Display posts from previous:   
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> Asterisk Users All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group

VoiceMeUp - Corporate & Wholesale VoIP Services