[asterisk-bugs] [Asterisk 0015375]: [patch] realtime mysql status always shows connected for 0 seconds/no connection
Asterisk Bug Tracker
noreply at bugs.digium.com
Mon Jul 6 04:08:12 CDT 2009
A NOTE has been added to this issue.
======================================================================
https://issues.asterisk.org/view.php?id=15375
======================================================================
Reported By: kowalma
Assigned To: lmadsen
======================================================================
Project: Asterisk
Issue ID: 15375
Category: Addons/res_config_mysql
Reproducibility: always
Severity: minor
Priority: normal
Status: ready for testing
Asterisk Version: 1.6.1.1
Regression: No
SVN Branch (only for SVN checkouts, not tarball releases): N/A
SVN Revision (number only!):
Request Review:
======================================================================
Date Submitted: 2009-06-22 06:31 CDT
Last Modified: 2009-07-06 04:08 CDT
======================================================================
Summary: [patch] realtime mysql status always shows connected
for 0 seconds/no connection
Description:
I've found issue with DB connection.
Asterisk-node1(active):/usr/src# rasterisk -x "realtime mysql status"
general connected to asterisk at 127.0.0.1, port 3306 with username cdr for 0
seconds.
Asterisk-node1(active):/usr/src#
shows always 0 seconds. Sometime rt shows that there is no db connection
(and then sip show peers show no sip-peer configured) but DB is queried
======================================================================
----------------------------------------------------------------------
(0107416) jacco (reporter) - 2009-07-06 04:08
https://issues.asterisk.org/view.php?id=15375#c107416
----------------------------------------------------------------------
I've been letting asterisk running idle for the weekend; now I did get the
"Ping Failed" message
debian*CLI> realtime mysql status
general connected to asterisk at 10.50.0.182, port 3306 with username test
for 0 seconds.
[Jul 6 11:06:08] ERROR[6762]: res_config_mysql.c:1468 mysql_reconnect:
MySQL RealTime: Ping failed (2006). Trying an explicit reconnect.
debian*CLI> realtime mysql status
general connected to asterisk at 10.50.0.182, port 3306 with username test
for 6 seconds.
debian*CLI>
Issue History
Date Modified Username Field Change
======================================================================
2009-07-06 04:08 jacco Note Added: 0107416
======================================================================
More information about the asterisk-bugs
mailing list