[Serusers] acc

Andrey Pavlenko lance at merlin.net.ua
Thu Apr 29 17:25:37 CEST 2004


Здравствуйте, Jan!

On Tue, Apr 27, 2004 at 05:31:26PM +0200, Jan Janak wrote:
> Could you try to compile the attached version of ser ?

Sorry. The reason apeared in FreeBSD ports patches... :(


> 
>   Jan.
> 
> On 27-04 18:33, Andrey Pavlenko wrote:
> > 
> > ????????????, Jan!
> > 
> > On Tue, Apr 27, 2004 at 05:09:12PM +0200, Jan Janak wrote:
> > > 
> > > 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
> > 
> > Of course. By default defined...
> > 
> > DEFS+= $(extra_defs) \
> >          -DNAME='"$(NAME)"' -DVERSION='"$(RELEASE)"' -DARCH='"$(ARCH)"' \
> >          -DOS='"$(OS)"' -DCOMPILER='"$(CC_VER)"' -D__CPU_$(ARCH) -D__OS_$(OS) \
> >          -DCFG_DIR='"$(cfg-target)"'\
> >          -DPKG_MALLOC \
> >          -DSHM_MEM  -DSHM_MMAP \
> >          -DDNS_IP_HACK \
> >          -DUSE_IPV6 \
> >          -DUSE_TCP \
> >          -DDISABLE_NAGLE \
> >          -DF_MALLOC \
> > 
> > 
> > > 
> > >   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
> > 
> > -- 
> > With best regards!
> > ----------------------
> > NOC ISP Merlin Telecom
> > Phone: 8 044 249-6570
> > ===============================================================================
> > Lance                                         
> > ANP-RIPE                                      Mailto: lance at merlin.net.ua
> > 
> > _______________________________________________
> > Serusers mailing list
> > serusers at lists.iptel.org
> > http://lists.iptel.org/mailman/listinfo/serusers


> Scanned by evaluation version of Dr.Web antivirus Daemon 
> http://drweb.ru/unix/
> 


-- 
With best regards!
----------------------
NOC ISP Merlin Telecom
Phone: 8 044 249-6570
===============================================================================
Lance                                         
ANP-RIPE                                      Mailto: lance at merlin.net.ua




More information about the sr-users mailing list