[ic] DBI/DBD

Joshua Lavin interchange-users@icdevgroup.org
Wed Dec 4 14:37:01 2002


> My sysadmin re-installed Perl and both DBI & DBD modules successfully.
> We've also created a mysql database and can connect to it as the root user
> ok from the command prompt.  But when we restart the ic server we get an
> error message saying that the Required Perl module DBD not present...Line 2
> of the configuration file.  Any ideas?

Your problem is with perl.

You can test for modules being found with a simple perl script:

#!/usr/bin/perl -w
use DBD::mysql
print "all good\n";

If not, then the directory containing the DBD module is not in your INC
array. You need your sysadmin to either add it to the INC array or your
login environment.

For example, mine is set in my 'rc' file:
PERL5LIB="/usr/home/kingdomd/usr/local/lib/perl5:/usr/home/kingdomd/usr/loca
l/lib/perl5/site_perl"

But that's on a virtual server.

Hope this helps,
Josh