Advertisement

03.23.2004 at 10:09AM PST, ID: 20929120
[x]
Attachment Details

Ora-12505 with a standby database?

[x]
The Solution Rating System

With so many solutions, how can you tell which solutions are most likely to help you and which ones are not? To provide you with a tool to use, we rate our solutions based on various elements that most accurately determine if a solution is a quality solution. To explain what factors affect the solution rating, here are the elements we take into consideration when formulating our solution rating.

  • The Grade of the Solution
  • The Zone Rank of the Expert Providing the Solution
  • The Number of Author and Expert Comments
  • The Number of Experts Contributing
  • The Feedback of the Community

Your Input Matters
Because of the way the system is set up, the most important variable in this equation is you. As a member of Experts Exchange, you are able to cast your vote on the quality of the solutions in regard to how complete, accurate, helpful and easy to understand each solution is. When you provide your feedback, each rating is adjusted accordingly. So, if you see a solution that has a poor rating that you think is a good solution, let us know by rating it. As you do, the rating will be adjusted and will become more accurate for other members of our site.

If you have any suggestions that you would like to make for our rating system, please ask a question in the Suggestions Zone of Community Support.

Thank you!

8.0
Tags:

standby

Hi there everybody,

I am running a primary and a standby database both on 8.1.7.4, win2k server and on separate servers.

I have configured the standby database so it in managed recover and is waiting for an archive log.

I seem to be getting an ORA-12505 error message when the primary database is trying to send the log to the standby database.

ORA-12505: TNS:listener could not resolve SID given in connect descriptor

The primary databases TNSlistener.ora:

# TNSNAMES.ORA Network Configuration File: D:\Oracle\ora817\network\admin\tnsnames.ora
# Generated by Oracle configuration tools.

EXTPROC_CONNECTION_DATA.*********** =
  (DESCRIPTION =
    (ADDRESS_LIST =
      (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC3))
    )
    (CONNECT_DATA =
      (SID = PLSExtProc)
      (PRESENTATION = RO)
    )
  )

INST1_HTTP.************* =
  (DESCRIPTION =
    (ADDRESS_LIST =
      (ADDRESS = (PROTOCOL = TCP)(HOST = DELL_SERVER)(PORT = 1521))
    )
    (CONNECT_DATA =
      (SERVER = SHARED)
      (SERVICE_NAME = MODOSE)
      (PRESENTATION = http://admin)
    )
  )

TR2.*************** =
  (DESCRIPTION =
    (ADDRESS_LIST =
      (ADDRESS = (PROTOCOL = TCP)(HOST = DELL_SERVER)(PORT = 1521))
    )
    (CONNECT_DATA =
      (SERVICE_NAME = tr2)
    )
  )

STANDBY1 = (DESCRIPTION= (ADDRESS=(PROTOCOL=TCP)
      (PORT=5112) (HOST=TEST-SERVER))
      (CONNECT_DATA=(SID=standby1)))

The standby databases listener.ora

# LISTENER.ORA Network Configuration File: C:\oracle\ora81\network\admin\listener.ora
# Generated by Oracle configuration tools.

LISTENER =
  (DESCRIPTION_LIST =
    (DESCRIPTION =
      (ADDRESS_LIST =
        (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC0))
      )
      (ADDRESS_LIST =
        (ADDRESS = (PROTOCOL = TCP)(HOST = test-server)(PORT = 1521))
      )
    )
      (ADDRESS_LIST=
         (ADDRESS=(PROTOCOL=TCP)(PORT=5112)(HOST=test-server)))

    (DESCRIPTION =
      (PROTOCOL_STACK =
        (PRESENTATION = GIOP)
        (SESSION = RAW)
      )
      (ADDRESS = (PROTOCOL = TCP)(HOST = test-server)(PORT = 2481))
    )
  )

SID_LIST_LISTENER =
  (SID_LIST =
    (SID_DESC =
      (SID_NAME = PLSExtProc)
      (ORACLE_HOME = C:\oracle\ora81)
      (PROGRAM = extproc)
    )
   (SID_DESC=
    (SID_NAME=standby1)
     (ORACLE_HOME=\ORACLE\ORA81))

    (SID_DESC =
      (GLOBAL_DBNAME = standby1.global)
      (ORACLE_HOME = C:\oracle\ora81)
      (SID_NAME = standby1)
    )
  )

STANDBY_LISTENER = (ADDRESS_LIST=
 (ADDRESS=(PROTOCOL=tcp)(PORT=5112)(HOST=test-server)))

SID_LIST_STBY1_LISTENER = (SID_LIST=
      (SID_DESC=(SID_NAME=standby1)(ORACLE_HOME=\ORACLE\ORA81)))

The only other error that I could find on either of the server is a: TNS-12564: TNS:connection refused in the sqlnet.ora on the primary database.

I really need a fresh pair of eyes to look that this as I am sure that I am missing something very simple.

Thanks in advance

Eddy
Answered By: baonguyen1
Expert Since: 06/17/2003
Accepted Solutions: 314
baonguyen1 has been an Expert for 5 years 6 months, during which he has posted 976 comments and answered 314 questions. baonguyen1 is just one of 170 experts in the Oracle Product Info Zone. 2 experts collaborated on this answer, which was graded an "A" by the asker.
 
 
 
 
20081119-EE-VQP-47