0 Replies Latest reply: Mar 29, 2012 4:34 AM by 927216 RSS

    Connection to db fails from client if connecting with sqlplus user/ps@NAME

    927216
      Hi
      I have just installed Oracle client 11.2 on a linux server.

      When I connect with sqlplus apmr/******@apm
      I am getting:

      SQL*Plus: Release 11.2.0.2.0 Production on Thu Mar 29 11:11:17 2012

      Copyright (c) 1982, 2010, Oracle. All rights reserved.

      ERROR:
      ORA-12545: Connect failed because target host or object does not exist

      BUT, if I am connecting with /nolog and then insert user/password --> it success!!!
      Could anyone solve this mystery ? :-)


      sqlplus /nolog

      SQL*Plus: Release 11.2.0.2.0 Production on Thu Mar 29 11:12:20 2012

      Copyright (c) 1982, 2010, Oracle. All rights reserved.

      SQL> conn apmr_larisa@apm
      Enter password:
      Connected.

      Thanks
      Larisa