Results 1 to 3 of 3
  1. #1
    Join Date
    Dec 2006
    Posts
    3

    Unanswered: ORA-28547 error for the second connection

    Hi, all,

    Currently, I am facing a very weired problem.

    I can use SqlPlus to connect to the DB. However, if I try to use "connect" command to switch to another login/password with the same DB, I always got:

    ORA-28547: connection to server failed, probable Oracle Net admin error

    I believe the settings on TNS and Listener are good, otherwise I could fail in the first login/connect. Also I have tried to have many sqlplus to connect to the DB at almost the time, and it was all good, so no session limit problem, just none of them allowed me to do the second connect.

    Can anyone shed some light? I need to run some complex script, which needs to do this "connect" thing several times.

    Thank you very much for any tips to save my life.

    Ben

    P.S.

    I am using oracle 10gR2, on windows xp sp2, with AMD Athlon 64X2 Dual Core 3800+ (does 64 bits cause the problem?)

    == listener.ora ==

    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = PLSExtProc)
    (ORACLE_HOME = C:\oracle\product\10.2.0\db_1)
    (PROGRAM = extproc)
    )
    )

    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = mypc.mycompany.com)(PORT = 1521))
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC0))
    )
    )

    == TNSNames.ora ==

    CCMDB =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
    )
    (CONNECT_DATA =
    (SERVICE_NAME = mydb)
    )
    )

    EXTPROC_CONNECTION_DATA =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC0))
    )
    (CONNECT_DATA =
    (SID = PLSExtProc)
    (PRESENTATION = RO)
    )
    )
    Last edited by whmanutd; 12-21-06 at 00:56.

  2. #2
    Join Date
    Jun 2003
    Location
    West Palm Beach, FL
    Posts
    2,713

    Talking


    Try coding the listener.ora file like this:
    Code:
    LISTENER =
      (DESCRIPTION_LIST =
        (DESCRIPTION =
          (ADDRESS = (PROTOCOL = TCP)(HOST = mypc.mycompany.com)(PORT = 1521))
        )
        (DESCRIPTION =
          (ADDRESS = (PROTOCOL = IPC)(KEY = PLSExtProc))
        )
      )
    
    SID_LIST_LISTENER =
      (SID_LIST =
        (SID_DESC =
          (SID_NAME = PLSExtProc)
          (ORACLE_HOME = C:\oracle\product\10.2.0\db_1)
          (PROGRAM = extproc)
        )
        (SID_DESC =
          (GLOBAL_DBNAME = mydb)
          (ORACLE_HOME = C:\oracle\product\10.2.0\db_1)
          (SID_NAME = mydb)
        )

    The person who says it can't be done should not interrupt the person doing it. -- Chinese proverb

  3. #3
    Join Date
    Jul 2007
    Posts
    2

    Thanks

    Thanks buddy, this forum helped me.

    -Moid

Posting Permissions

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