[OpenSIPS-Users] 1.5.2 OpenSIPS and postgresql
Bogdan-Andrei Iancu
bogdan at voice-system.ro
Wed Aug 26 20:58:43 CEST 2009
Hi Adolphus,
Note that the modules using DB do have a default DB URL pointing to
mysql. My guess is you are using such a module and if you did not
explicitly set a db_url from script, the module will try to use the
mysql backend.
To see what module is about, see in the logs, in the error messages,
after the message you just posted (it must be a raw of 2-3 error messages).
Regards,
Bogdan
adolphus wrote:
> Hi,
>
> I've been wrestling with postgres and OpenSIPs and have been getting the
> below error when I launch the binary that i build. I sense that many of you
> folks have figured this out, but replys to querys seem a little scant to me
> on how the workaround is actually done.
>
> I have db_mysql.so comment out (not used) in my opensips.cfg file and I have
> db_postgres.so commented in (so it is used) but I still get the below error
> when I supply:
>
> Does anyone have (or can recall) the series of steps the performed to get
> their systems working with postgresql? (Any critical steps you used to get
> around the error might be helpful.) I'm using Fedora 6 by the way.
>
> My command line:
> opensips -f ./etc/opensips.cfg (where my changes are in this file
> cfg file)
>
> my error:
> ERROR:core:db_check_api: module db_mysql does not export db_use_table
>
>
> One standalone question is is db_mysql.so required whether you use
> db_postgres.so or not?
>
> Many thanks in advance
>
> -Adolphus
>
More information about the Users
mailing list