[Users] perl problems
Daniel-Constantin Mierla
daniel at voice-system.ro
Wed Dec 13 16:29:53 CET 2006
[thread redirected to devel mailing list, since concerns development
version]
Daniel
On 12/13/06 16:51, Klaus Darilion wrote:
>
> But I found another problem:
>
> # openser -f /etc/openser/openser-hack.cfg -c
> Listening on
> udp: 213.239.207.29 [213.239.207.29]:5070
> tcp: 213.239.207.29 [213.239.207.29]:5070
> Aliases:
> tcp: pb94:5070
> tcp: pb94.dyndns.org:5070
> udp: pb94:5070
> udp: pb94.dyndns.org:5070
>
> config file ok, exiting...
> Segmentation fault
>
>
> testing the config causes a seg fault when using the perl module.
>
> regards
> klaus
>
>
> Klaus Darilion wrote:
>> Klaus Darilion wrote:
>>> Hi!
>>>
>>> I try the new perl module, but openser does not start:
>>>
>>> openser[28662]: perl: Setting lib path:
>>> '/home/darilion/software/openser-cvs/sip-server/modules/perl/lib/perl/OpenSER.pm'
>>
>>
>>
>> I found the problem myself, the modpath must be the path only
>> (without OpenSER.pm).
>>
>> regards
>> klaus
>>
>>
>>>
>>> openser[28662]: Error loading perl file "/etc/openser/myperl.pl".
>>> openser[28662]: init_mod(): Error while initializing module perl
>>>
>>> my perl related config:
>>> loadmodule "/usr/lib/openser/modules/sl.so"
>>> loadmodule "/usr/lib/openser/modules/tm.so"
>>> loadmodule "/usr/lib/openser/modules/rr.so"
>>> loadmodule "/usr/lib/openser/modules/maxfwd.so"
>>> loadmodule "/usr/lib/openser/modules/usrloc.so"
>>> loadmodule "/usr/lib/openser/modules/registrar.so"
>>> loadmodule "/usr/lib/openser/modules/textops.so"
>>> loadmodule "/usr/lib/openser/modules/perl.so"
>>> ...
>>> modparam("perl", "filename", "/etc/openser/myperl.pl")
>>> modparam("perl", "modpath",
>>> "/home/darilion/software/openser-cvs/sip-server/modules/perl/lib/perl/OpenSER.pm")
>>>
>>>
>>>
>>> /etc/openser/myperl.pl is identical to
>>> modules/perl/doc/samples/messagedump.pl
>>>
>>> Any hints what the problem is?
>>>
>>> thanks
>>> klaus
>>>
>>>
>>>
>>>
>>
>>
>
>
More information about the sr-users
mailing list