[Serusers] stopping at mysql modules when start SER!!!!!!

zhu lizhong zhulizhong at gmail.com
Thu Aug 11 04:21:28 CEST 2005


> 
> *hello, Jan Janak and other guys:
> > I try to connect ser and freeradius. i also follow the hints(ser_radius 
> > how to) from iptel.com <http://iptel.com>. 
> > but when i run ser, it stopping at mysql parts and not errors. my 
> > ser.cfg is :
> >  
> > # ------------------ module loading ----------------------------------
> > 
> > # Uncomment this if you want to use SQL database
> > loadmodule "/usr/local/lib/ser/modules/mysql.so"
> > loadmodule "/usr/local/lib/ser/modules/sl.so"
> > loadmodule "/usr/local/lib/ser/modules/tm.so"
> > loadmodule "/usr/local/lib/ser/modules/rr.so"
> > loadmodule "/usr/local/lib/ser/modules/maxfwd.so"
> > loadmodule "/usr/local/lib/ser/modules/usrloc.so"
> > loadmodule "/usr/local/lib/ser/modules/registrar.so"
> > loadmodule "/usr/local/lib/ser/modules/exec.so"
> > 
> > loadmodule "/usr/local/lib/ser/modules/textops.so"
> > 
> > # RADIUS support
> > loadmodule "/usr/local/lib/ser/modules/acc.so"
> > 
> > # Uncomment this if you want digest authentication
> > # mysql.so must be loaded !
> > loadmodule "/usr/local/lib/ser/modules/auth.so"
> > loadmodule "/usr/local/lib/ser/modules/auth_radius.so"
> > 
> > # ----------------- setting module-specific parameters ---------------
> > 
> > # -- usrloc params --
> > 
> > # Uncomment this if you want to use SQL database
> > # for persistent storage and comment the previous line
> > modparam("usrloc", "db_mode", 2)
> > 
> > # -- rr params --
> > # add value to ;lr param to make some broken UAs happy
> > modparam("rr", "enable_full_lr", 1)
> > 
> > # -- acc params --
> > modparam("acc", "radius_config", "/etc/radiusclient/radiusclient.conf")
> > modparam("acc", "radius_missed_flag", 2)
> > modparam("acc", "radius_config", "/etc/radiusclient/radiusclient.conf")
> > modparam("acc", "radius_missed_flag", 2)
> > modparam("acc", "radius_flag", 1)
> > 
> > # -- auth_radius params --
> > modparam("auth_radius", "radius_config", 
> > "/etc/radiusclient/radiusclient.conf")
> > 
> > # ------------------------- request routing logic -------------------
> > 
> > # main routing logic
> > 
> > route{
> > 
> > # initial sanity checks -- messages with
> > # max_forwards==0, or excessively long requests
> > if (!mf_process_maxfwd_header("10")) {
> > log(1,"LOG: Too many hops");
> > sl_send_reply("483","Too Many Hops");
> > break;
> > };
> > if ( msg:len > max_len ) {
> > log(1,"LOG: Message too big");
> > loose-route processing
> > if(loose_route()){
> > t_relay();
> > break;
> > };
> > 
> > if(uri==myself){
> > 
> > # All REGISTER attempts are processed and must always be authenticated
> > if (method=="REGISTER"){
> > if (!radius_www_authorize("")) {
> > www_challenge("", "0");
> > break;
> > };
> > 
> > save("location");
> > break;
> > };
> > 
> > I post only part of ser.cfg. the errors are :
> > 
> >  0(0) find_mod_export: found <db_query> in module mysql 
> > [/usr/local/lib/ser/modules/mysql.so]
> >  0(0) find_mod_export: found <db_raw_query> in module mysql 
> > [/usr/local/lib/ser/modules/mysql.so] 0(0) find_mod_export: found 
> > <db_free_result> in module mysql [/usr/local/lib/ser/modules/mysql.so]
> >  0(0) find_mod_export: found <db_insert> in module mysql 
> > [/usr/local/lib/ser/modules/mysql.so]
> >  0(0) find_mod_export: found <db_delete> in module mysql 
> > [/usr/local/lib/ser/modules/mysql.so]
> >  0(0) find_mod_export: found <db_update> in module mysql 
> > [/usr/local/lib/ser/modules/mysql.so]
> > thanks lot!*
> 
> 
> zhu 
> 
> 
> 
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20050811/249956e0/attachment.htm>


More information about the sr-users mailing list