[Serusers] acc

Jan Janak jan at iptel.org
Tue Apr 27 17:09:12 CEST 2004


Do you use -DUSE_TCP when compiling ? I am pretty sure the latest
stable works, I've just tried. USE_TCP is normally defined in
Makefile.defs

  Jan.

On 27-04 17:24, Andrey Pavlenko wrote:
> 
> ????????????, Jan!
> 
> On Tue, Apr 27, 2004 at 02:14:14PM +0200, Jan Janak wrote:
> > 
> > There was some problem with ser from FreeBSD ports, try to get the
> > source from the CVS (with -r rel_0_8_12 option).
> 
> With cvs revision the same problem... :(
> 
> 
> 
> > 
> >   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                                         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