Re: DBD Runtime Error



I had the same error come up on AIX 5.2. The problem on our system was
the ORACLE_HOME directory's permissions. Once I gave others read and
execute permission the error went away.

Hope it works for you,
MP

Sath Maripitchai wrote:
> Hi there,
>
>
>
> On AIX 5.3, we were able to install DBI and DBD modules successfully (?)
> on AIX 5.3. I keep getting an error when I connect to Oracle using DBI.
>
>
>
>
> I urgently need some advice. Can you help?
>
>
>
> Sath Maripitchai
>
>
>
>
>
> DBI and DBD versions -
>
>
>
> drwxr-xr-x 7 root 4096 Sep 22 11:33 DBD-Oracle-1.15
>
> drwxr-xr-x 5 root 4096 Mar 18 2004 DBI-1.38
>
>
>
>
>
> The error message -
>
>
>
> install_driver(Oracle) failed: Can't load
> '/usr/opt/perl5/lib/site_perl/5.8.0/aix-thread-multi/auto/DBD/Oracle/Ora
> cle.so' for module DBD::Oracle: The file access permissions do not allow
> the specified action. at
> /usr/opt/perl5/lib/5.8.0/aix-thread-multi/DynaLoader.pm line 229.
>
> at (eval 1) line 3
>
> Compilation failed in require at (eval 1) line 3.
>
> Perhaps a required shared library or dll isn't installed where expected
>
> at testins2.pl line 17
>
>
>
>
>
> The script contents -
>
>
>
> #! /usr/bin/perl -w
>
>
>
> use DBI;
>
>
>
> my%attr =
>
> (
>
> PrintError => 1,
>
> RaiseError => 1,
>
> );
>
>
>
> my $instance = 'mdiap1';
>
> $dbh = DBI->connect("dbi:Oracle:$instance","stsc","stsc",\%attr)
>
> or die "Can't connect to Oracle!", $DBI::errstr, "\n";

.



Relevant Pages