TNS-01190故障的處理
由於監聽程式原來是使用的是埠1532.現在修改成1521,結果不能啟動說監聽已經啟動了.於是停止監聽報錯
TNS-01190: The user is not authorized to execute the requested listener command
[oracle@jyrac1 admin]$ lsnrctl start LSNRCTL for Linux: Version 11.2.0.1.0 - Production on 03-JUL-2014 11:23:07 Copyright (c) 1991, 2009, Oracle. All rights reserved. TNS-01106: Listener using listener name LISTENER has already been started [oracle@jyrac1 admin]$ lsnrctl stop LSNRCTL for Linux: Version 11.2.0.1.0 - Production on 03-JUL-2014 11:23:24 Copyright (c) 1991, 2009, Oracle. All rights reserved. Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=jyrac1)(PORT=1521))) TNS-01190: The user is not authorized to execute the requested listener command
檢視監聽狀態:
[grid@jyrac1 ~]$ ps -ef | grep -i listener grid 4180 1 0 11:28 ? 00:00:00 /grid/11.2.0/grid/bin/tnslsnr LISTENER -inherit grid 4517 4138 0 11:56 pts/1 00:00:00 grep -i listener [oracle@jyrac1 ~]$ lsnrctl status LSNRCTL for Linux: Version 11.2.0.1.0 - Production on 03-JUL-2014 11:24:25 Copyright (c) 1991, 2009, Oracle. All rights reserved. Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=jyrac1)(PORT=1521))) STATUS of the LISTENER ------------------------ Alias LISTENER Version TNSLSNR for Linux: Version 11.2.0.1.0 - Production Start Date 03-JUL-2014 10:40:26 Uptime 0 days 0 hr. 43 min. 59 sec Trace Level off Security ON: Local OS Authentication SNMP OFF Listener Parameter File /grid/11.2.0/grid/network/admin/listener.ora Listener Log File /grid/11.2.0/grid/log/diag/tnslsnr/jyrac1/listener/alert/log.xml Listening Endpoints Summary... (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=jyrac1)(PORT=1521))) Services Summary... Service "PLSExtProc" has 1 instance(s). Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service... Service "jycs" has 1 instance(s). Instance "jycs", status READY, has 1 handler(s) for this service... Service "jycs (ORACLE_HOME =/u01/app/oracle/11.2.0/db" has 1 instance(s). Instance "jycs", status UNKNOWN, has 1 handler(s) for this service... Service "jycsXDB" has 1 instance(s). Instance "jycs", status READY, has 1 handler(s) for this service... The command completed successfully
其中:Security ON: Local OS Authentication 此條提示資訊表明監聽處於Local OS Authentication認證模式.Oracle 10g版本以及之後的版本中推出了監聽的本地作業系統認證安全特性.若監聽程式是在當前使用者下啟動的,則當前使用者具有管理監聽的所有權利,其他使用者對監聽的管理將受到限制
因為資料庫是11.2.0.1而且使用了oracle restart特性且使用者為grid.註冊了listener服務且只對預設埠1521有效.之前是1532所以oracle restart不會自動重啟監聽.由於將埠修改成了1521所以oracle restart自動重啟了listener
[grid@jyrac1 ~]$ srvctl status listener Listener LISTENER is enabled Listener LISTENER is running on node(s): jyrac1
由於oracle restart 以grid使用者自動啟動了監聽所以oracle使用者不能重動由grid使用者所啟動的監聽.
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/29734436/viewspace-1211191/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- 【故障處理】ORA-600:[13013],[5001]故障處理
- 微服務的故障處理微服務
- linux故障處理Linux
- 故障分析 | Greenplum Segment 故障處理
- GPON網路故障如何處理?GPON網路故障處理流程
- Oracle更新Opatch故障處理Oracle
- teams登入故障處理
- MySQL show processlist故障處理MySql
- NO.A.0001——zabbix常見故障的處理
- hbase 故障的處理方案。 (轉載文章)
- 線上故障處理手冊
- TS - 處理故障的一些通用方法
- GaussDB(分散式)例項故障處理分散式
- 如何處理HTTP 503故障問題?HTTP
- Oracle 10g RAC故障處理Oracle 10g
- ORA-01591錯誤故障處理
- Oracle 11.2.0.4 Dataguard兩則故障處理Oracle
- 【故障處理】TNS-04610問題
- TiDB故障處理之讓人迷惑的Region is UnavailableTiDBAI
- Oracle DG同步失敗故障處理(二)Oracle
- Oracle client安裝the jre is 0故障處理Oracleclient
- 體檢伺服器nginx故障處理伺服器Nginx
- 恆訊科技教你處理伺服器硬碟的故障伺服器硬碟
- 資料中心儲存系統故障的處理方式
- 金融行業現場故障處理實錄行業
- OracleORA-03113 ORA-600 [4193]故障處理Oracle
- 【故障處理】ORA-28547: connection to server failed, probableServerAI
- 【故障處理】ORA-3113 "end of file on communication channel"
- hillstone現場故障處理指導手冊
- 叢集故障處理之處理思路以及健康狀態檢查(三十二)
- Spark 叢集執行任務失敗的故障處理Spark
- 經典乾貨:Docker 常見故障排查處理Docker
- 銀河麒麟系統部署keepalived.故障處理
- 【故障處理】佇列等待之enq: US - contention案例佇列ENQ
- 故障處理】佇列等待之enq: US - contention案例佇列ENQ
- 不停機處理oracle超過最大processes數故障Oracle
- 【CHECKPOINT】Oracle檢查點優化與故障處理Oracle優化
- 專案02(Mysql gtid複製故障處理01)MySql
- 轉載ORA-01591錯誤故障處理(ji)