@harrisp32 wrote:
Just installed freepbx + centos 7 install as per:
Two problems so far. Unable to support commercial modules, I know the issues and am not too concerned about it.
But the second problem is I cant access cdr reports. In Asterisk Logs it reports the following:
[2016-01-04 10:29:40] VERBOSE[4702] loader.c: Reloading module 'res_odbc.so' (ODBC resource)
[2016-01-04 10:29:40] VERBOSE[4702] config.c: Parsing '/etc/asterisk/res_odbc.conf': Found
[2016-01-04 10:29:40] VERBOSE[4702] config.c: Parsing '/etc/asterisk/res_odbc_custom.conf': Found
[2016-01-04 10:29:40] VERBOSE[4702] config.c: Parsing '/etc/asterisk/res_odbc_additional.conf': Found
[2016-01-04 10:29:40] NOTICE[4702] res_odbc.c: Connecting asteriskcdrdb
[2016-01-04 10:29:40] WARNING[4702] res_odbc.c: res_odbc: Error SQLConnect=-1 errno=0 [unixODBC][Driver Manager]Can't open lib '/usr/lib64/libmyodbc5.so' : file not found
[2016-01-04 10:29:40] WARNING[4702] res_odbc.c: Failed to connect to asteriskcdrdb
[2016-01-04 10:29:40] NOTICE[4702] res_odbc.c: Registered ODBC class 'asteriskcdrdb' dsn->[MySQL-asteriskcdrdb]Any help would be most welcome.
edit: Done a little digging and in odbcinst.ini there is reference to libmyodbc5.so in the line Driver64 = /usr/lib64/libmyodbc5.so. And on 32 bit system, not the one with the problem, libmyodcb5.so exists but its in /usr/lib.
So is reference to this file incorrect or is the file missing, and how could I put this right??
Posts: 1
Participants: 1