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

  • Re: USER-COLDSTART
    ... It's been a long time since I've worked with AIX and D3 but I'm siding ... the DM account where the user-coldstart runs. ... In Danny's case that TCL program is now a proc ... I'm also thinking there might be something in the permissions of the ...
    (comp.databases.pick)
  • Re: System permissions fix utility
    ... There's nothing built in to AIX that'll do it. ... other UNIXs? ... > Subject: System permissions fix utility ... we managed to mess up permissions on files ...
    (AIX-L)
  • RE: DBD::Oracle installation failed
    ... I am having problem with DBI and DBD when I migrate the OS from AIX ... Contact your program supplier to add ... Compilation will proceed shortly. ...
    (perl.dbi.users)
  • Re: DBD::Oracle installation failed
    ... I am having problem with DBI and DBD when I migrate the OS from AIX ... Compilation will proceed shortly. ... Martin J. Evans ...
    (perl.dbi.users)
  • Re: modifing existing Excel cells using perl in Unix possible?
    ... permissions. ... What sort of AIX are you using to say that? ... $ oslevel -r ...
    (comp.lang.perl.misc)