[Serusers] Re: cpl with ser-0.8.12

ser die serdiehard at yahoo.com
Mon Aug 2 12:41:06 CEST 2004


thanks for your response

here is the main problem

because iam using 0.8.12 version iam using the 

tm.patch 

so when i wont apply tm.patch it runs finely

but when i apply the patch then tm.so gives the
problem

by these messages 

0(12839) find_export: <t_on_reply> not found
 0(12839) find_export: <t_on_reply> not found
 0(12839) parse error (254,16-17): unknown command,
missing loadmodule?

 0(12839) find_export: <t_relay> not found
 0(12839) find_export: <t_relay> not found
 0(12839) parse error (258,15-16): unknown command,
missing loadmodule?






iam trying to run the ser-0.8.14 but it gives the 

segmentation fault


so what is the way to get cpl scripts to run with

the ser.

with regards
rama kanth




--- Rafael_Morón <rafaelm at tid.es> wrote:

> Your current Ser fails to start because it can't
> find the tm.so module.
> Remember not only to delete module names from the
> exclude section, but also
> to include them
> in the include section, and run make again.
> Copy the tm.so to
> "/usr/local/lib/ser/modules/tm.so", to make sure
> that ser
> finds it.
> Try again now, and remember to create the database
> tables if you use mysql
> or postgresql.
> 
> You won't need to apply the patch if you use
> ser-0.8.14, but keep in mind
> that the db tables
> for 0.8.12 and 0.8.14 are NOT compatible, so you'll
> have to create tham
> again.
> 
> I hope this helps.
> Regards,
>     Rafa
> 
> P.S.: my name is "Rafa" or "Rafael", not Rafel nor
> something like that.
> 
> ----- Original Message ----- 
> From: "ser die" <serdiehard at yahoo.com>
> To: "Rafael_Morón" <rafaelm at tid.es>
> Sent: Monday, August 02, 2004 9:47 AM
> Subject: Re: cpl with ser-0.8.12
> 
> 
> > so the scenario is step by step process
> >
> > step 1:
> >
> > iam using currently ser-0.8.12 and it s working
> > properly
> >
> > except with cpl where when i run the patch with
> >
> > patch -p0<modules/cpl-c/tm.patch
> >
> >
>
*******************************************************
> >
> >
> > patching file modules/tm/h_table.c
> > patching file modules/tm/h_table.h
> > Hunk #1 succeeded at 190 (offset 1 line).
> > patching file modules/tm/t_fwd.c
> > patching file modules/tm/t_hooks.c
> > patching file modules/tm/t_hooks.h
> > patching file modules/tm/t_lookup.c
> > patching file modules/tm/t_reply.c
> > Hunk #3 FAILED at 437.
> > Hunk #4 FAILED at 462.
> > Hunk #5 succeeded at 653 (offset 16 lines).
> > Hunk #7 succeeded at 953 (offset 16 lines).
> > Hunk #9 succeeded at 1040 (offset 16 lines).
> > Hunk #11 succeeded at 1129 (offset 16 lines).
> > 2 out of 11 hunks FAILED -- saving rejects to file
> > modules/tm/t_reply.c.rej
> > patching file modules/tm/t_reply.h
> > patching file modules/tm/timer.c
> > patching file modules/tm/tm.c
> > patching file modules/tm/tm_load.c
> > patching file modules/tm/tm_load.h
> >
> >
> >
>
*******************************************************
> >
> > step2:
> >
> > and then changing in the makefile by removing the
> > cpl-c
> >
> >
> >
> > module name in the exclude modules.
> >
> > now my exlude modules are like this in the
> makefile
> >
> >
>
*******************************************************
> > exclude_modules?=          cpl ext extcmd \
> >
> >            postgres snmp \
> >                            im radius_acc
> radius_auth \
> >
> >  jabber
> >
> >
> >
>
*******************************************************
> >
> > step 3:
> >
> > and then make again but it s not at all running
> the
> >
> > process giveng the error when i run the command
> ser
> >
> >
>
*******************************************************
> > 0(12455) ERROR: load_module: could not open module
> > </usr/local/lib/ser/modules/tm.so>: /usr/local/l
> > ib/ser/modules/tm.so: undefined symbol:
> > run_failure_handlers
> >
> > ----
> > ----
> >
> > 0(7327) find_export: <t_on_reply> not found
> >  0(7327) find_export: <t_on_reply> not found
> >  0(7327) parse error (254,16-17): unknown command,
> > missing loadmodule?
> >
> >  0(7327) find_export: <t_relay> not found
> >  0(7327) find_export: <t_relay> not found
> >  0(7327) parse error (258,15-16): unknown command,
> > missing loadmodule?
> >
> >
>
*******************************************************
> >
> > and my ser.cfg is like this
> >
> >
>
*******************************************************
> >
> > 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"
> > fifo_mode=438
> > # ------------------ 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/exec.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"
> > loadmodule "/usr/local/lib/ser/modules/domain.so"
> > loadmodule "/usr/local/lib/ser/modules/cpl-c.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/acc.so"
> > # !! Nathelper
> > loadmodule
> "/usr/local/lib/ser/modules/nathelper.so"
> >
> > # ----------------- setting module-specific
> parameters
> >
> >
> > # -- usrloc params --
> >
> > #modparam("usrloc", "db_mode",   0)
> >
> > # Uncomment this if you want to use SQL database
> > # for persistent storage and comment the previous
> line
> > modparam("usrloc", "db_mode", 2)
> >
> > # -- auth params --
> > # Uncomment if you are using auth module
> > #
> > modparam("auth_db", "calculate_ha1", yes)
> > #
> > # If you set "calculate_ha1" parameter to yes
> (which
> 
=== message truncated ===



		
__________________________________
Do you Yahoo!?
Yahoo! Mail - 50x more storage than other providers!
http://promotions.yahoo.com/new_mail




More information about the sr-users mailing list