[OpenSIPS-Users] Module db_oracle - db_use_table
Gerald Weber
gerald.weber at besharp.at
Thu Jun 21 11:14:26 CEST 2012
Hi all,
just installed OpenSIPs from SVN (latest stable release 1.8) and configured it to use db_oracle.
I can install the objects using opensipsdbctl.
When i try to start with
[root at freeswitch sbin]# ./opensipsctl start
INFO: Starting OpenSIPS :
INFO: started (pid: 1945)
[root at freeswitch sbin]#
Opensips returns this in syslog:
Jun 21 10:59:32 freeswitch opensips: WARNING:core:warn: warning in config file /usr/local/opensips_test//etc/opensips/opensips.cfg, line 50, column 13-16: tls support not compiled in
Jun 21 10:59:32 freeswitch ./opensips[1945]: NOTICE:core:main: version: opensips 1.8.0-notls (x86_64/linux)
Jun 21 10:59:32 freeswitch ./opensips[1945]: INFO:core:main: using 32 Mb shared memory
Jun 21 10:59:32 freeswitch ./opensips[1945]: INFO:core:main: using 2 Mb private memory per process
Jun 21 10:59:32 freeswitch ./opensips[1945]: INFO:auth:mod_init: initializing...
Jun 21 10:59:32 freeswitch ./opensips[1945]: INFO:auth_db:mod_init: initializing...
Jun 21 10:59:32 freeswitch ./opensips[1945]: ERROR:core:db_check_api: module db_oracle does not export db_use_table function
Jun 21 10:59:32 freeswitch ./opensips[1945]: ERROR:auth_db:mod_init: unable to bind to a database driver
Jun 21 10:59:32 freeswitch ./opensips[1945]: ERROR:core:init_mod: failed to initialize module auth_db
Jun 21 10:59:32 freeswitch ./opensips[1945]: ERROR:core:main: error while initializing modules
Jun 21 10:59:32 freeswitch ./opensips[1945]: INFO:core:cleanup: cleanup
Jun 21 10:59:32 freeswitch ./opensips[1945]: INFO:db_oracle:destroy: Oracle terminate
I dont quite get the error "ERROR:core:db_check_api: module db_oracle does not export db_use_table function"
because the symbol seems tot o be exported:
[root at freeswitch sbin]# nm ../lib64/opensips/modules/db_oracle.so | grep use_table
00000000000029a0 T db_oracle_use_table
U db_use_table
[root at freeswitch sbin]# readelf -s ../lib64/opensips/modules/db_oracle.so | grep use_table
12: 0000000000000000 0 NOTYPE GLOBAL DEFAULT UND db_use_table
86: 00000000000029a0 5 FUNC GLOBAL DEFAULT 11 db_oracle_use_table
117: 0000000000000000 0 NOTYPE GLOBAL DEFAULT UND db_use_table
187: 00000000000029a0 5 FUNC GLOBAL DEFAULT 11 db_oracle_use_table
The module db_oracle.so seems to load ok, at least i don't get any errors (Can i check which modules are loaded after starting opensips ?)
I know there is a similar thread in the list but no solution.
Thanks®ards
gerald
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20120621/37cbbb04/attachment-0001.htm>
More information about the Users
mailing list