[Users] perl problems
Klaus Darilion
klaus.mailinglists at pernau.at
Wed Dec 13 15:48:08 CET 2006
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
>
>
>
>
--
Klaus Darilion
nic.at
More information about the sr-users
mailing list