Oracle数据库 shutdown之后不能startup mount的解决办法

文章来自:CSDN-天堂向左

数据库因为某些需要,执行shutdown immediate,但是却无法再startup mount。

提示:ORA-12528: TNS:listener: all appropriate instances are blocking new connections 。

在网上找资料找了很久,找到了一点资料,积累下来,真不容易,折腾了一个星期。

1:修改listener.ora的参数 

SID_LIST_LISTENER = 
  (SID_LIST = 
    (SID_DESC = 
      (SID_NAME = PLSExtProc) 
      (ORACLE_HOME = C:/oracle/product/10.1.0/db_1) 
      (PROGRAM = extproc) 
    ) 
    (SID_DESC = 
      (GLOBAL_DBNAME = ammicly) 
      (ORACLE_HOME = c:/oracle/product/10.1.0/db_1) 
      (SID_NAME = ammicly)     #
    ) 
  ) 
LISTENER = 
  (DESCRIPTION_LIST = 
    (DESCRIPTION = 
      (ADDRESS_LIST = 
        (ADDRESS = (PROTOCOL = TCP)(HOST = lypch )(PORT = 1521)) 
      ) 
      (ADDRESS_LIST = 
        (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC)) 
      ) 
    ) 
  )

2:修改tnsnames.ora的参数

AMMICLY = 
  (DESCRIPTION = 
    (ADDRESS = (PROTOCOL = TCP)(HOST = lypch )(PORT = 1521)) 
    (CONNECT_DATA = 
      (SERVER = DEDICATED) 
      (SERVICE_NAME = ammicly) 
     (UR=A)    #
    ) 
  ) 
EXTPROC_CONNECTION_DATA = 
  (DESCRIPTION = 
    (ADDRESS_LIST = 
      (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC)) 
    ) 
    (CONNECT_DATA = 
      (SID = PLSExtProc) 
      (PRESENTATION = RO) 
    ) 
  )

 

posted @ 2013-11-12 08:19  学海无涯1999  阅读(962)  评论(0编辑  收藏  举报