Solved

0509-150   Dependent module libjox9.a(shr.o) could not be loaded

Posted on 2011-09-13
9
1,287 Views
Last Modified: 2012-05-12
AIX apaut146 2 5
oracle 9.2.0.8.0
I can log into sqlplus as oracle but not as myself.
I have ORACLE_HOME, ORACLE-SID, LIB_PATH and LD_LIBRARY_PATH set correctly.

Receive the following when trying sqlplus:
exec(): 0509-036 Cannot load program oracleepmprd9i because of the following errors:
        0509-150   Dependent module libjox9.a(shr.o) could not be loaded.
        0509-022 Cannot load module libjox9.a(shr.o).
        0509-026 System error: A file or directory in the path name does not exist.
ERROR:
ORA-12547: TNS:lost contact

as oracle I can do ldd /db/oracle/app/oracle/product/9.2.0/bin/sqlplus

/db/oracle/app/oracle/product/9.2.0/bin/sqlplus needs:
         /usr/lib/libc.a(shr_64.o)
         /usr/lib/libpthreads.a(shr_xpg5_64.o)
         /usr/lib/libdl.a(shr_64.o)
         /usr/lib/libodm.a(shr_64.o)
         /usr/lib/libc.a(aio_64.o)
         /unix
         /usr/lib/libcrypt.a(shr_64.o)

but as myself I cannot run ldd

I think it is some kind of permissions problem.

Thanks
0
Comment
Question by:bkreynolds48
  • 5
  • 4
9 Comments
 
LVL 76

Accepted Solution

by:
slightwv (䄆 Netminder) earned 500 total points
ID: 36530172
Check your environment variables.

Specifically LD_LIBRARY_PATH and LIBPATH:

http://www.experts-exchange.com/Database/Oracle/Q_24711091.html
0
 
LVL 1

Author Comment

by:bkreynolds48
ID: 36530245
If you read the first part --- I HAVE checked all the environment variables.
0
 
LVL 76

Expert Comment

by:slightwv (䄆 Netminder)
ID: 36530266
Apologies.  Missed that.
0
 
LVL 1

Author Comment

by:bkreynolds48
ID: 36530428
I think this may be a compile/link problem which I can't fix now because it is prod
0
PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

 
LVL 76

Expert Comment

by:slightwv (䄆 Netminder)
ID: 36530536
>>may be a compile/link problem

If that were the case I would expect the oracle user to have the same issue.

If the environments match 100% then I tend to agree with you that it is a permissions issue which leads to an installation/configuration problem not a link problem.

Just a gut feeling at this point.

Tripple check the environment variables.  I would even try a brute force method.  Log in as oracle and do a printenv > /tmp/junk.sh

edit junk.sh to issue the export commands and run it when logged in as your user to see if you can reproduce the issue.
0
 
LVL 1

Author Comment

by:bkreynolds48
ID: 36530694
did (printenv - export variables) that with tjhe same results.
0
 
LVL 1

Author Comment

by:bkreynolds48
ID: 36530872
if I do sqlplus username@database name it works
0
 
LVL 76

Expert Comment

by:slightwv (䄆 Netminder)
ID: 36530896
>>if I do sqlplus username@database name it works

Not sure how else to help you here.  Maybe another Expert will have an idea later.
0
 
LVL 1

Author Closing Comment

by:bkreynolds48
ID: 36910918
tns issue not env
0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
Oracle queries --Challenging Question 12 65
select query - oracle 16 82
sql query 5 53
What is the version of ojdbc6.jar 2 24
Why doesn't the Oracle optimizer use my index? Querying too much data Most Oracle developers know that an index is useful when you can use it to restrict your result set to a small number of the total rows in a table. So, the obvious side…
Working with Network Access Control Lists in Oracle 11g (part 1) Part 2: http://www.e-e.com/A_9074.html So, you upgraded to a shiny new 11g database and all of a sudden every program that used UTL_MAIL, UTL_SMTP, UTL_TCP, UTL_HTTP or any oth…
Video by: Steve
Using examples as well as descriptions, step through each of the common simple join types, explaining differences in syntax, differences in expected outputs and showing how the queries run along with the actual outputs based upon a simple set of dem…
This videos aims to give the viewer a basic demonstration of how a user can query current session information by using the SYS_CONTEXT function

743 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now