you should modify like this  :      modparam("usrloc", "db_url", 
"postgres:....")


2009-08-28 



刘博 



发件人: adolphus (via Nabble) 
发送时间: 2009-08-26  11:04:29 
收件人: Aris 
抄送: 
主题: [OpenSIPS-Users] 1.5.2 OpenSIPS and postgresql 
 
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 




View message @ 
http://n2.nabble.com/1-5-2-OpenSIPS-and-postgresql-tp3513790p3513790.html 
To start a new topic under OpenSIPS - Users, email 
[email protected] 
To unsubscribe from OpenSIPS - Users, click here. 

-- 
View this message in context: 
http://n2.nabble.com/1-5-2-OpenSIPS-and-postgresql-tp3513790p3531567.html
Sent from the OpenSIPS - Users mailing list archive at Nabble.com.
_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Reply via email to