[Serusers] acc

Jan Janak jan at iptel.org
Tue Apr 27 14:14:14 CEST 2004


There was some problem with ser from FreeBSD ports, try to get the
source from the CVS (with -r rel_0_8_12 option).

  Jan.

On 27-04 13:32, Andrey Pavlenko wrote:
> 
> Hi!
> 
> I need enable radius accounting in the SER.
> But have problem after load module acc.so:
> 
>  0(22487) DEBUG: init_mod: acc
> acc - initializing
>  0(22487) find_export: found <load_tm> in module tm [/usr/local/lib/ser/modules/tm.so]
>  0(22487) find_export: found <register_tmcb> in module tm [/usr/local/lib/ser/modules/tm.so]
>  0(22487) find_export: <t_relay_to_tcp> not found
>  0(22487) ERROR: tm_bind: TM module function 't_relay_to_tcp' not found
>  0(22487) init_mod(): Error while initializing module acc
> ERROR: error while initializing modules
>  0(22487) DEBUG: tm_shutdown : start
>  0(22487) DEBUG: tm_shutdown : empting DELETE list
>  0(22487) DEBUG: tm_shutdown : empting hash table
>  0(22487) DEBUG: tm_shutdown: releasing timers
>  0(22487) DEBUG: tm_shutdown : removing semaphores
>  0(22487) DEBUG: tm_shutdown : done
>  0(22487) shm_mem_destroy
>  0(22487) destroying the shared memory lock
> 
> In the ser.cfg:
> 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/auth.so"
> loadmodule "/usr/local/lib/ser/modules/auth_radius.so"
> loadmodule "/usr/local/lib/ser/modules/acc.so"
> 
> # ----------------- setting module-specific parameters ---------------
> 
> modparam("auth_radius", "radius_config", "/usr/local/etc/radiusclient/radiusclient.conf")
> modparam("auth_radius", "service_type", 15)
> modparam("acc", "radius_config", "/usr/local/etc/radiusclient/radiusclient.conf")
> 
> Im building ser-0.8.12 from the FreeBSD (4.9) ports and define
> DEFS+=-DRAD_ACC
> LIBS=-L$(LOCALBASE)/lib -lradiusclient
> in the acc module Makefile
> 
> Please help me correct this problem.
> 
> 
> 
> -- 
> With best regards!
> ===============================================================================
> Lance                                         
> ANP-RIPE                                      http://www.immt.net.ua
> 
> _______________________________________________
> Serusers mailing list
> serusers at lists.iptel.org
> http://lists.iptel.org/mailman/listinfo/serusers




More information about the sr-users mailing list