DynaLoader.pm line 230 my perl module is permission deniedâ€

Discussion in 'Perl Misc' started by Joe Young, Jul 28, 2011.

  1. Joe Young

    Joe Young Guest

    How do DynaLoader.pm line 230 permission errors happen?
    Below is line 230 from Dynaloader.pm
    my $libref = dl_load_file($file, $module->dl_load_flags) or
    croak("Can't load '$file' for module $module: ".dl_error());






    I've installed DBD::Oracle but can't load it with permission denied.
    I've tried reinstalling it. CPAN doesn't seem that geared up for
    reinstalling things. (It's a bit messy.)

    Not surprisingly running perl cpan as root so the file
    /usr/perl5/site_perl/5.8.4/i86pc-solaris-64int/auto/DBD/Oracle/
    Oracle.so is owned root:root
    as are all my other cpan modules.



    [Thu Jul 21 13:14:45 2011] [error] [client 192.168.1.101]
    \tinstall_driver(Oracle) failed: Can't load '/usr/perl5/site_perl/
    5.8.4/i86pc-solaris-64int/auto/DBD/Oracle/Oracle.so' for module
    DBD::Oracle: ld.so.1: perl: fatal: /export/home/oracle/oracle/product/
    10.2.0/db_1/lib/libclntsh.so.10.1: Permission denied at /usr/
    perl5/5.8.4/lib/i86pc-solaris-64int/DynaLoader.pm line 230., referer:
    http://192.168.1.130/Wood-Recycling/add-new-customer.html

    It's not the file itself because I've overwritten it with another file
    of the same name and the error is the same. It's not the directory
    that it's in because I have another localzone with the same file in it
    and the same file and directory permissions and that one works just
    fine!
    Joe Young, Jul 28, 2011
    #1
    1. Advertising

  2. In article <>, says...

    Carefully read the error mesage:

    > ld.so.1: perl: fatal: /export/home/oracle/oracle/product/
    > 10.2.0/db_1/lib/libclntsh.so.10.1: Permission denied


    Fhe file libclntsh.so.10.1 normally is owned by user oracle.
    Check the permissions of the path and files in $ORACLE_HOME/lib

    Cheers

    Heinrich

    --
    Heinrich Mislik
    Zentraler Informatikdienst der Universitaet Wien
    A-1010 Wien, Universitaetsstrasse 7
    Tel.: (+43 1) 4277-14056, Fax: (+43 1) 4277-9140
    Heinrich Mislik, Jul 29, 2011
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Daniel Moore

    [QUIZ] The Matrix: Code Screen (#230)

    Daniel Moore, Mar 20, 2010, in forum: Ruby
    Replies:
    0
    Views:
    92
    Daniel Moore
    Mar 20, 2010
  2. kj
    Replies:
    0
    Views:
    87
  3. Piet L.
    Replies:
    1
    Views:
    143
    Brian McCauley
    Feb 24, 2005
  4. Replies:
    0
    Views:
    337
  5. Joe Young
    Replies:
    1
    Views:
    357
    J. Gleixner
    Jul 28, 2011
Loading...

Share This Page