zoukankan      html  css  js  c++  java
  • 使用命令行登陆数据库配置文件修改 解决ora12528

    下面是问题解决: 
    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:oracleproduct10.1.0db_1) 
          (PROGRAM = extproc) 
        ) 
        (SID_DESC = 
          (GLOBAL_DBNAME = ammicly) 
          (ORACLE_HOME = c:oracleproduct10.1.0db_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) 
        ) 
      ) 
    3 启动数据库 
    SQL> conn /as sysdba 
    SQL> alter database mount; 
    SQL> alter database open; 

    4 关闭数据库 
    SQL> shutdown immediate; 

  • 相关阅读:
    Ubuntu 更换软件源
    Ubuntu 配置 SOCKS5
    Ubuntu 配置 Sha-dow-socks
    frp(内网穿透)
    solr 远程代码执行(CVE-2019-12409)
    多线程处理爬虫
    python实现文件自动排序
    python 实现根据文件名自动分类移动至不同的文件夹
    Centos7如何开启任意端口服务
    centos7默认安装没有连接网络
  • 原文地址:https://www.cnblogs.com/sddychj/p/3729259.html
Copyright © 2011-2022 走看看