El Lunes, 11 de Mayo de 2009, Iñaki Baz Castillo escribió:
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).
However, next time always look for the error in Google: http://www.google.com/search?q=perl+%22Can%27t+locate+object+method+%22conne... ;)