Experience: is what you get soon after you need it.

Experience: is what you get soon after you need it.

Rasul Allah (sal Allahu alaihi wa sallam) said: "Restore the trusts of those who trust you, and deal not falsely with him who deals falsely with you." [Abu Dawud, Tirmidhi]

Search This Blog

Monday, October 11, 2010

lib/libclntsh.a(shr.o) could not be loaded

User other than oracle was trying to access the libraries and getting the below errors:

$exec(): 0509-036 Cannot load program FastReader because of the following errors:
0509-150 Dependent module $ORACLE_HOME/lib/libclntsh.a(shr.o) could not be loaded.
0509-022 Cannot load module $ORACLE_HOME/lib/libclntsh.a(shr.o).
0509-026 System error: The file access permissions do not allow the specified action.

Fix:
in 10g Oracle introduced strong security in accessing the oracle binaries, so to flex this security run the below command:

cd $ORACLE_HOME/install
>./changePerm.sh

-------------------------------------------------------------------------------
Disclaimer: The purpose of this script is to relax permissions on some of the
files in the database Oracle Home so that all clients can access them.
Please note that Oracle Corporation recommends using the most restrictive file
permissions as possible for your given implementation. Running this script
should be done only after considering all security ramifications.
-------------------------------------------------------------------------------

-n Do you wish to continue (y/n) [n]:
y
Spooling the error log /tmp/changePerm_err.log...
Finished running the script successfully


This will do the job... cheers

No comments: