mcbsys
Guru
- Joined
- Oct 16, 2008
- Messages
- 139
- Reaction score
- 5
Upgraded FreePBX from 2.10 to 2.11 over the weekend. Everything seems to be working fine but once a day, I'm getting a series of messages in the log complaining about a SQL error:
I haven't figured out yet what is even triggering this daily re-connection. What is in asteriskcdrdb? Do I have a misconfiguration?
Code:
[2014-03-04 05:28:31] VERBOSE[1955] netsock2.c: == Using SIP RTP TOS bits 184
[2014-03-04 05:28:31] VERBOSE[1955] netsock2.c: == Using SIP RTP CoS mark 5
[2014-03-04 05:28:31] WARNING[1924] res_odbc.c: SetConnectAttr (Txn isolation) returned an error: HY000: [MySQL][ODBC 5.1 Driver]MySQL server has gone away
[2014-03-04 05:28:31] WARNING[1924] res_odbc.c: SQL Execute returned an error -1: 08S01: [MySQL][ODBC 5.1 Driver][mysqld-5.1.61]MySQL server has gone away (65)
[2014-03-04 05:28:31] WARNING[1924] res_odbc.c: SQL Execute error -1! Verifying connection to asteriskcdrdb [MySQL-asteriskcdrdb]...
[2014-03-04 05:28:31] WARNING[1924] res_odbc.c: Connection is down attempting to reconnect...
[2014-03-04 05:28:31] VERBOSE[31850] pbx.c: -- Executing [8885551212@from-trunk:1] NoOp("SIP/losangeles2.voip.ms-00000010", "Catch-All DID Match - Found 8885551212 - You probably want a DID for this.") in new stack
[2014-03-04 05:28:31] DEBUG[1924] res_odbc.c: Disconnected 0 from asteriskcdrdb [MySQL-asteriskcdrdb]
[2014-03-04 05:28:31] DEBUG[1924] res_odbc.c: Database handle 0xb7402b28 deallocated
[2014-03-04 05:28:31] NOTICE[1924] res_odbc.c: Connecting asteriskcdrdb
I haven't figured out yet what is even triggering this daily re-connection. What is in asteriskcdrdb? Do I have a misconfiguration?