[Serusers] Problem initialazing domain.so module.
Ricardo Martinez
rmartinez at redvoiss.net
Fri Sep 10 00:22:03 CEST 2004
Do i Have to use mysql.so in order to make work the NAT?
with the domain.so and mediaproxy.so module????
Thaks
Ricardo Martinez
> -----Mensaje original-----
> De: Ricardo Martinez [SMTP:rmartinez at redvoiss.net]
> Enviado el: Jueves, 09 de Septiembre de 2004 04:04 p.m.
> Para: 'serusers at lists.iptel.org'
> Asunto: [Serusers] Problem initialazing domain.so module.
>
> Hi.
> I'm trying to start SER with NAT support, by loading the mediaproxy and
> domain module. I'm using ser 0.8.14 and mediaproxy 1.2.0
> I'm getting this ERROR in the debug.
>
> 0(15354) DEBUG: init_mod: domain
> 0(15354) domain - initializing
> 0(15354) find_export: <db_use_table> not found
> 0(15354) domain:mod_init(): Unable to bind database module
> 0(15354) init_mod(): Error while initializing module domain
> ERROR: error while initializing modules
> 0(15354) DEBUG: tm_shutdown : start
> 0(15354) DEBUG: tm_shutdown : empting DELETE list
> 0(15354) DEBUG: tm_shutdown : empting hash table
> 0(15354) DEBUG: tm_shutdown: releasing timers
> 0(15354) DEBUG: tm_shutdown : removing semaphores
> 0(15354) DEBUG: tm_shutdown : done
> 0(15354) shm_mem_destroy
> 0(15354) destroying the shared memory lock
>
> I have to say that i'm not using the mysql.so module, all the
> authentification and accounting is done by RADIUS.
> Here is part of my ser.cfg.
>
> #
> # $Id: ser.cfg,v 1.21.2.2 2003/10/13 22:53:06 jiri Exp $
> #
> # simple quick-start config script
> #
>
> # ----------- global configuration parameters ------------------------
>
> debug=8 # debug level (cmd line: -dddddddddd)
> fork=yes
> log_stderror=yes # (cmd line: -E)
>
> #Uncomment these lines to enter debugging mode
> #fork=no
> #log_stderror=yes
>
>
> check_via=no # (cmd. line: -v)
> dns=no # (cmd. line: -r)
> rev_dns=no # (cmd. line: -R)
> port=5060
> children=4
> fifo="/tmp/ser_fifo"
>
> # ------------------ 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/textops.so"
>
> # Para trabajar con NAT
> loadmodule "/usr/local//lib/ser/modules/mediaproxy.so"
> loadmodule "/usr/local//lib/ser/modules/domain.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_db.so"
>
> loadmodule "/usr/local/lib/ser/modules/auth_radius.so"
> loadmodule "/usr/local/lib/ser/modules/group_radius.so"
> loadmodule "/usr/local/lib/ser/modules/acc.so"
>
> # ----------------- setting module-specific parameters ---------------
>
> # ----------------- setting module-specific parameters ---------------
> # -- rr params --
> # add value to ;lr param to make some broken UAs happy
> modparam("rr", "enable_full_lr", 1)
>
> modparam("acc","log_level",1)
>
> modparam("auth_radius","radius_config","/usr/local/etc/radiusclient/radius
> cl
> ient.conf")
> modparam("auth_radius","service_type",15)
> modparam("acc","radius_config","/usr/local/etc/radiusclient/radiusclient.c
> on
> f")
> modparam("acc", "service_type", 15)
> modparam("acc", "radius_flag", 1)
> modparam("acc", "radius_missed_flag", 3)
> modparam("acc", "failed_transactions", 1)
> modparam("acc", "report_ack", 0)
>
> #group radius
> modparam("group_radius","radius_config","/usr/local/etc/radiusclient/radiu
> sc
> lient.conf")
> modparam("group_radius", "use_domain", 1)
>
> #module mediaproxy
> modparam("mediaproxy", "natping_interval", 60)
> modparam("registrar", "nat_flag", 6)
>
>
> Any ideas?
> Hope that someone can help me
>
>
> Ricardo Martinez
>
> _______________________________________________
> Serusers mailing list
> serusers at lists.iptel.org
> http://lists.iptel.org/mailman/listinfo/serusers
More information about the sr-users
mailing list