ld.so.1: oracle: fatal: libodm10.so: open failed:

    Question by:
    On

    Topics:

    Running Oracle 10g under solaris 9


    When I try going into sqlplus as user b, i get message:

    Enter user-name:
    ld.so.1: oracle: fatal: libodm10.so: open failed: No such file or directory
    ERROR:
    ORA-12547: TNS:lost contact

    I go in as user a and everything is fine.  I've copied user a .profile to user b and still get the error.
    Any ideas what is the problem?

     

    Verified Answer?

    The member who asked this question verified this comment provided the solution that solved their problem.

    by:Posted on 2005-10-19 at 12:45:09ID: 15119149

    Try to follow this thread, it is simular to your problem.
    http://www.experts-exchange.com/Databases/Oracle/Q_21593541.html

    The way you tried to connect before is called a direct/bequeath connection. This works by directly creating a new oracle process from sqlplus and comunicating with it using a pipe (no listener involved) . But since you were running it as a different user it was having some problems starting, I am not sure exactly why, maybe its permissions on the shared memory segments or the actual data files. In principle it should be able to work this way,even from another user, but maybe not on all platforms and depending on permissions, I am not sure.

    The second way was connecting via the network listener (dependant on your tnsnames configuration) and the oracle process will get started by the oracle user, so there are no problems with permissions on shared memory or files.

    You can set a TWO_TASK environment variable to dwproddb and the it would connect without specifying the @dwproddb.
    When TWO_TASK is defined any connection you make without specifying a TNS entry will get "@TWO_TASK" glued to it before trying to connect. This works exactly as if you have connected to "sqlplus user/pass@dwproddb".

    This content is available to Experts Exchange members

    See the answer now
    with your Free 30 Day Trial

    Get unlimited access to solutions & experts

    • 4,169,477 solved questions
    • 3,805 articles & videos
    • 15,413 tech experts

    Get Access Now

    Ask Your Tech Question. Get Expert Solutions.We will email you when an expert has commented on your question.

    We will never share this with anyone. Privacy Policy Terms of Use

    Select topics

    You may select up to five topics.

    Top Expert Contributor

    Essential articles and videos from the Experts

    More valuable questions with Expert answers

    201507-LO-Qu-065

    RELATED TOPICS view all topics

    1. Query Syntax
      (45,490)
    2. Databases
      (52,098)
    3. MS SQL Server
      (152,775)
    4. Unix OS
      (32,876)
    5. Enterprise Software
      (5,574)
    6. Linux
      (63,462)
    7. Java
      (97,537)
    8. MS SQL Server 2005
      (71,302)
    9. .NET Programming
      (129,720)
    10. MySQL Server
      (45,359)