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@freeswitch sbin]# ./opensipsctl start

INFO: Starting OpenSIPS :
INFO: started (pid: 1945)
[root@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@freeswitch sbin]# nm  ../lib64/opensips/modules/db_oracle.so | grep 
use_table
00000000000029a0 T db_oracle_use_table
                 U db_use_table

[root@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&regards
gerald

_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Reply via email to