Results 1 to 4 of 4
  1. #1
    Join Date
    Feb 2004
    Posts
    3

    Unanswered: bizarre ora-12545 error

    I have two linux systems, both running redhat as. one system called buzz has the oracle client installed (9.2.0.4) and the other system woody has the server installed (9.2.0.1).

    Now the problem is with the client machine (and the server as well, this is related to the same issue i think). now i have 4 databases setup on the woody machine which i can set the oracle sid and sqlplus to each of the databases through interactive login as well as logging in through enterprise manager.

    But on the client machine everything is setup correctly according to the documentation with the database entries in the tnsnames.ora file setup correctly, i can tnsping to each database i can ping to each database but i cannot login in interactively to the database with sqlplus. but i can login to the database using the command line options (eg sqlplus user/password@database) and all is fine.

    I know this is a bit of a hairy issue. but if anyone knows anything about this or may know of a website that may have the information i should know please reply.

    If anything is unclear please write me and i will try to explain it a bit further.

  2. #2
    Join Date
    Dec 2003
    Location
    Noida, India.
    Posts
    171
    You cannot connect using sqlplus, whereas you can using sqlplus on command line ... by any chance, do you have 2 different versions of oracle client installed?
    Oracle can do wonders !

  3. #3
    Join Date
    Feb 2004
    Posts
    3
    well i have tried with the client and the server at the same version (9.2.0.1.0) but i also upgraded the client to (9.2.0.4.1) to see if it was a bug with the system. it seems that on the server i can set the SID and connect interactively quite easily ( i have tried this because i have more than 1 oracle server) but if i set the sid to a database that resides on another machine i can only connect through the command line options.

    The same situation occurs on the client machine which is currently at 9.2.0.4.1 if i try to connect to any database on another machine, i cannot login in interactively. I know that my tnsnames.ora file is configured correctly as i have pulled it from a known working install.

  4. #4
    Join Date
    Feb 2004
    Posts
    3
    After some more information I discovered that it was my understanding that is the problem and not with the system. I thought that if you set the oracle sid environment variable "export ORACLE_SID=database" and run sqlplus that it would lookup the SID definition in the tnsnames.ora file.

    Which from what i have since found out is that the ORACLE_SID is only for local databases and not databases that reside on other machines.

    Thanks for your help anyway.
    Martin.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •