Asterisk desn't start when using ODBC

Guys, I’m switching my Asterisk from cdr_mysql to cdr_odbc. Using asterisk 13. res_odbc compiled in installation, and I installed unixODBC-devel and mysql-connector-odbc, that’s ok. When I try run asterisk it doesn’t start. I got this message:

[root@vrt1898 /]# rasterisk
Setting max files open to 4096
Asterisk 13.17.1, Copyright (C) 1999 - 2014, Digium, Inc. and others.
Created by Mark Spencer markster@digium.com
Asterisk comes with ABSOLUTELY NO WARRANTY; type ‘core show warranty’ for details.
This is free software, with components licensed under the GNU General Public
License version 2 and other licenses; you are welcome to redistribute it under
certain conditions. Type ‘core show license’ for details.

Connected to Asterisk 13.17.1 currently running on vrt1898 (pid = 6139)
Core debug is still 4.
Loading res_statsd.so.
== Parsing ‘/etc/asterisk/statsd.conf’: Found
== res_statsd.so => (Statsd client support)
Loading res_odbc.so.
== Parsing ‘/etc/asterisk/res_odbc.conf’: Found
vrt1898*CLI>
Disconnected from Asterisk server
Asterisk cleanly ending (0).
Executing last minute cleanups
Asterisk ending (0).

When I back to cdr_mysql it is ok…

Upgrade to at least 13.38.2. If it still crashes, see:

https://wiki.asterisk.org/wiki/display/AST/Getting+a+Backtrace

However, you should note that even if the problem is in Asterisk, Asterisk 13 only has about 3 months of support left, so there is a good chance it won’t get fixed in Asterisk 13.

1 Like

Specifically Asterisk 13 only receives security fixes currently, no bug fixes. Even if it is a bug it won’t get fixed in 13.

1 Like

I have other server running asterisk 13.17.1 which I got run cdr on ODBC.
Could this problem be aleatory? I’m considering to upgrade to latest version.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.