[Kamailio-Users] Error when connecting to mysql
Alex R.S.M
alex_rsm at hotmail.com
Mon May 11 22:53:23 CEST 2009
libdbi-perl is already installed. I can connect to mysql directly from perl script.
The error occurs when calling perl script from kamailio.
- mysql.so exists in the lib folder and is being loaded into kamalio (loadmodule "mysql.so").
> From: ibc at aliax.net
> To: users at lists.kamailio.org
> Date: Mon, 11 May 2009 22:29:23 +0200
> Subject: Re: [Kamailio-Users] Error when connecting to mysql
>
> El Lunes, 11 de Mayo de 2009, Alex R.S.M escribió:
> > Hi,
> >
> > I am getting the following error when kamailio wants to connect to mysql
> > within a simple perl program. "mysql" module is already loaded in the
> > config file. Is there any modparam for mysql that has to be set?
> >
> >
> > ERROR:core:XS_OpenSER__Message_log: perl error: Can't locate object method
> > "connect" via package "DBI" at /etc/openser/test.pl line 17.
>
> You need to install some Perl libraries (DB access), as libdbi-perl (not sure
> if more libraries are required).
>
>
> --
> Iñaki Baz Castillo <ibc at aliax.net>
>
> _______________________________________________
> Kamailio (OpenSER) - Users mailing list
> Users at lists.kamailio.org
> http://lists.kamailio.org/cgi-bin/mailman/listinfo/users
> http://lists.openser-project.org/cgi-bin/mailman/listinfo/users
_________________________________________________________________
Insert movie times and more without leaving Hotmail®.
http://windowslive.com/Tutorial/Hotmail/QuickAdd?ocid=TXT_TAGLM_WL_HM_Tutorial_QuickAdd1_052009
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20090511/943c907b/attachment.htm>
More information about the sr-users
mailing list