【故障處理】ORA-28547: connection to server failed, probable

lhrbest發表於2020-03-28

【故障處理】ORA-28547: connection to server failed, probable Oracle Net admin error


------------windows 下
SID_LIST_LISTENER =
  (SID_LIST =
    (SID_DESC =
      (SID_NAME = CLRExtProc)
      (ORACLE_HOME = D:\app\oracle\product\11.2.0.1)
      (PROGRAM = extproc)
      (ENVS = "EXTPROC_DLLS=ONLY:D:\app\oracle\product\11.2.0.1\bin\oraclr11.dll")
    )
    (SID_DESC =
     (GLOBAL_DBNAME = orcl.lhr.com)
     (SID_NAME = orcl)
     (ORACLE_HOME = D:\app\oracle\product\11.2.0.1)
   )
  )


第一個方法解決方案:

listener.ora是伺服器端的配置oracle的檔案。

後來將listener.ora的這一行註釋掉,就行了,, (PROGRAM = extproc)
修改為:
SID_LIST_LISTENER =
  (SID_LIST =
  (SID_DESC =
  (SID_NAME = prod)
  (ORACLE_HOME = /u01/app/oracle/product/10.2.0/db_1)
# (PROGRAM = extproc)
  )
  )

LISTENER =
  (DESCRIPTION_LIST =
  (DESCRIPTION =
  (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.1.8)(PORT = 1522))
  (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC0))
  )
  )

 

第二種解決方案如下:

客戶端的配置檔案sqlnet.ora中配置如下:

將#SQLNET.AUTHENTICATION_SERVICES= (NTS)註釋掉,改成如下即可!

如下:
SQLNET.AUTHENTICATION_SERVICES= (NONE)

同時修改監聽器配置檔案,具體做法是: 在oracle安裝目錄下搜尋listener.ora檔案,一般在$/NETWORK/ADMIN目錄下,把主機名用ip地址代替,例如(ADDRESS = (PROTOCOL = TCP)(HOST = HBONLINE1)(PORT = 1523))改為(ADDRESS = (PROTOCOL = TCP)(HOST = 168.168.168.42)(PORT = 1523))。


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

現象

C:\Users\Administrator>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:\oracle\product\.======= C:\oracle\product\.====== (PROTOCOL = TCP)(HOST = .)(PORT = = (PROTOCOL = TCP)(HOST = .)(PORT = = C:\oracle

處理

註釋掉 extproc 相關項,重啟監聽,恢復正常。

# listener.ora Network Configuration File: C:\oracle\product\11.2.0\dbhome_1\network\admin\listener.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:\oracle\product\11.2.0\dbhome_1)     # (PROGRAM = extproc)
     # (ENVS ="EXTPROC_DLLS=ONLY:C:\oracle\product\11.2.0\dbhome_1\bin\oraclr11.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

 






ORA-28547: Connection To Server Failed, Probable Oracle Net Admin Error (Doc ID 2565870.1)


In this Document

Symptoms
Changes
Cause
Solution
References


APPLIES TO:

Oracle Database - Enterprise Edition - Version 12.2.0.1 and later
Information in this document applies to any platform.

SYMPTOMS

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

CHANGES

 

CAUSE

Wrong parameter in sqlnet.ora file.

SOLUTION

After changing sqlnet.ora parameter from  SQLNET.AUTHENTICATION_SERVICES= (NTS) to SQLNET.AUTHENTICATION_SERVICES= (NONE) issue fixed.

SQLNET.AUTHENTICATION_SERVICES allows Windows users to be authenticated using Windows NT native security. NTS ONLY used for windows OS.

REFERENCES

NOTE:1274184.1  - "ORA-28547: Connection to Server Failed, Probable Oracle Net Admin Error" When Connecting to P6 Standalone Oracle XE Database
NOTE:2425839.1  - Shared Server: ORA-28547: Connection To Server Failed, Probable Oracle Net Admin Error








About Me

........................................................................................................................

● 本文作者:小麥苗,部分內容整理自網路,若有侵權請聯絡小麥苗刪除

● 本文在itpub、部落格園、CSDN和個人微 信公眾號( xiaomaimiaolhr)上有同步更新

● 本文itpub地址: http://blog.itpub.net/26736162

● 本文部落格園地址: http://www.cnblogs.com/lhrbest

● 本文CSDN地址: https://blog.csdn.net/lihuarongaini

● 本文pdf版、個人簡介及小麥苗雲盤地址: http://blog.itpub.net/26736162/viewspace-1624453/

● 資料庫筆試面試題庫及解答: http://blog.itpub.net/26736162/viewspace-2134706/

● DBA寶典今日頭條號地址: http://www.toutiao.com/c/user/6401772890/#mid=1564638659405826

........................................................................................................................

● QQ群號: 230161599 、618766405

● 微 信群:可加我微 信,我拉大家進群,非誠勿擾

● 聯絡我請加QQ好友 646634621 ,註明新增緣由

● 於 2020-03-01 06:00 ~ 2020-03-31 24:00 在西安完成

● 最新修改時間:2020-03-01 06:00 ~ 2020-03-31 24:00

● 文章內容來源於小麥苗的學習筆記,部分整理自網路,若有侵權或不當之處還請諒解

● 版權所有,歡迎分享本文,轉載請保留出處

........................................................................................................................

小麥苗的微店https://weidian.com/s/793741433?wfr=c&ifr=shopdetail

小麥苗出版的資料庫類叢書http://blog.itpub.net/26736162/viewspace-2142121/

小麥苗OCP、OCM、高可用網路班http://blog.itpub.net/26736162/viewspace-2148098/

小麥苗騰訊課堂主頁https://lhr.ke.qq.com/

........................................................................................................................

使用 微 信客戶端掃描下面的二維碼來關注小麥苗的微 信公眾號( xiaomaimiaolhr)及QQ群(DBA寶典)、新增小麥苗微 信, 學習最實用的資料庫技術。

........................................................................................................................

歡迎與我聯絡

 

 



來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/26736162/viewspace-2683161/,如需轉載,請註明出處,否則將追究法律責任。

相關文章