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


    现象

    C:UsersAdministrator>sqlplus scott/tiger@192.168.1.11:1521/orcl

    SQL*Plus: Release 11.2.0.4.0 Production on Wed Nov 13 17:53:59 2019

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

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

    监听配置

    # listener.ora Network Configuration File: C:oracleproduct11.2.0dbhome_1
    etworkadminlistener.ora
    # Generated by Oracle configuration tools.
    
    SID_LIST_LISTENER =
      (SID_LIST =
        (SID_DESC =
         (SID_NAME = CLRExtProc)
          (SID_NAME = orcl)
          (GLOBAL_DBNAME = orcl)
          (ORACLE_HOME = C:oracleproduct11.2.0dbhome_1)
          (PROGRAM = extproc)
          (ENVS ="EXTPROC_DLLS=ONLY:C:oracleproduct11.2.0dbhome_1inoraclr11.dll")
        )
      )
    
    LISTENER =
      (DESCRIPTION_LIST =
        (DESCRIPTION =
          (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.1.11)(PORT = 1521)) 
        #经测试重新配置监听,这里是主机名时可以正常连接,修改为IP 后就报上面的错误 ORA-28547 (ADDRESS
    = (PROTOCOL = TCP)(HOST = 192.168.2.11)(PORT = 1521)) ) ) ADR_BASE_LISTENER = C:oracle

    处理

    注释掉 extproc 相关项,重启监听,恢复正常。

    # listener.ora Network Configuration File: C:oracleproduct11.2.0dbhome_1
    etworkadminlistener.ora
    # Generated by Oracle configuration tools.
    
    SID_LIST_LISTENER =
      (SID_LIST =
        (SID_DESC =
         #(SID_NAME = CLRExtProc)
          (SID_NAME = orcl)
          (GLOBAL_DBNAME = orcl)
          (ORACLE_HOME = C:oracleproduct11.2.0dbhome_1)
         # (PROGRAM = extproc)
         # (ENVS ="EXTPROC_DLLS=ONLY:C:oracleproduct11.2.0dbhome_1inoraclr11.dll")
        )
      )
    
    LISTENER =
      (DESCRIPTION_LIST =
        (DESCRIPTION =
          (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.1.11)(PORT = 1521))
          (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.2.11)(PORT = 1521))
        )
      )
    
    ADR_BASE_LISTENER = C:oracle
  • 相关阅读:
    桶排序
    向控件添加变量之后,类中多了什么?
    atan2&sin
    Bug(1)
    十六进制转化二进制[c]
    接口性能分析与优化
    记一次内存泄漏DUMP分析
    偏移二分查找
    iOS开发——自定义密码输入键盘
    iOS开发——手机号,密码,邮箱,身份证号,中文判断
  • 原文地址:https://www.cnblogs.com/plluoye/p/11851535.html
Copyright © 2020-2023  润新知