oracle監聽不到例項服務
現象:監聽啟動正常,資料庫正常,能查詢到檔案。我的19c是從11g升級過來的。
[oracle@dbserver admin]$ lsnrctl status LSNRCTL for Linux: Version 19.0.0.0.0 - Production on 11-JAN-2022 15:29:28 Copyright (c) 1991, 2019, Oracle. All rights reserved. Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=dbserver)(PORT=1521))) STATUS of the LISTENER ------------------------ Alias LISTENER Version TNSLSNR for Linux: Version 19.0.0.0.0 - Production Start Date 11-JAN-2022 15:29:20 Uptime 0 days 0 hr. 0 min. 7 sec Trace Level off Security ON: Local OS Authentication SNMP OFF Listener Parameter File /u01/app/oracle/product/19c/dbhome_1/network/admin/listener.ora Listener Log File /u01/app/oracle/diag/tnslsnr/dbserver/listener/alert/log.xml Listening Endpoints Summary... (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=dbserver)(PORT=1521))) (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC1521))) The listener supports no services The command completed successfully
我的例項名稱為prod
[oracle@dbserver admin]$ sqlplus / as sysdba SQL*Plus: Release 19.0.0.0.0 - Production on Tue Jan 11 15:28:24 2022 Version 19.3.0.0.0 Copyright (c) 1982, 2019, Oracle. All rights reserved. Connected to: Oracle Database 19c Enterprise Edition Release 19.0.0.0.0 - Production Version 19.3.0.0.0 SQL> show parameter local_listener NAME TYPE ------------------------------------ ---------------------- VALUE ------------------------------ local_listener string LISTENER_PROD SQL> Alter system set local_listener='PROD'; System altered. SQL>
重啟監聽
[oracle@dbserver admin]$ lsnrctl stop [oracle@dbserver admin]$ lsnrctl start [oracle@dbserver admin]$ lsnrctl status LSNRCTL for Linux: Version 19.0.0.0.0 - Production on 11-JAN-2022 15:43:43 Copyright (c) 1991, 2019, Oracle. All rights reserved. Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=dbserver)(PORT=1521))) STATUS of the LISTENER ------------------------ Alias LISTENER Version TNSLSNR for Linux: Version 19.0.0.0.0 - Production Start Date 11-JAN-2022 15:42:46 Uptime 0 days 0 hr. 0 min. 56 sec Trace Level off Security ON: Local OS Authentication SNMP OFF Listener Parameter File /u01/app/oracle/product/19c/dbhome_1/network/admin/listener.ora Listener Log File /u01/app/oracle/diag/tnslsnr/dbserver/listener/alert/log.xml Listening Endpoints Summary... (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=dbserver)(PORT=1521))) (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC1521))) Services Summary... Service "prod" has 1 instance(s). Instance "prod", status READY, has 1 handler(s) for this service... Service "prodXDB" has 1 instance(s). Instance "prod", status READY, has 1 handler(s) for this service... The command completed successfully
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/70004783/viewspace-2851748/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- oracle 多個例項監聽不到Oracle
- oracle例項和監聽器Oracle
- oracle之 單例項監聽修改埠Oracle單例
- oracle 多個例項安裝監聽Oracle
- 如何發現遠端伺服器上某埠正在監聽的ORACLE例項/服務伺服器Oracle
- Oracle監聽服務無法啟動Oracle
- js監聽鍵盤事件程式碼例項例項JS事件
- ASM例項配置監聽和TNSASM
- Oracle監聽器中的XDB、XPT和PLSExtProc服務Oracle
- windows 服務例項Windows
- canal同步mysql,監聽單例項,多例項配置MySql單例
- 使用 vue 例項更好的監聽事件Vue事件
- 基於laravel的事件監聽例項Laravel事件
- Oracle 19C 監聽無法動態註冊例項Oracle
- oracle 監聽器動態與靜態註冊服務_listenerOracle
- centos 7 下搭建zabbix監聽服務CentOS
- 【監聽】配置服務端靜態(動態)監聽/修改監聽埠及引數local_listener作用服務端
- oracle 12c 資料庫例項監聽無法註冊問題一例Oracle資料庫
- windows下啟動服務時不啟動oracle例項WindowsOracle
- Oracle 監聽Oracle
- 【DBA】Windows 下Oracle 監聽配置注意事項WindowsOracle
- Android Service 服務的應用之電話監聽器以及簡訊監聽器Android
- 【LISTENER】使用Oracle隱含引數禁止“_XPT”服務註冊到監聽器Oracle
- jquery監聽文字框內容變化程式碼例項jQuery
- Laravel 服務容器、服務提供器、契約例項講解Laravel
- bbossaop遠端服務介紹-遠端服務呼叫例項
- Oracle監聽(1)Oracle
- Windows平臺如何修改監聽的服務名稱?Windows
- ORACLE動態監聽與靜態監聽Oracle
- oracle靜態監聽和動態監聽Oracle
- 【oracle】動態監聽與靜態監聽Oracle
- 在Windows平臺下修改Oracle例項不隨服務啟動WindowsOracle
- 【Oracle】修改oracle監聽埠Oracle
- jQuery實現的監聽回車按鍵程式碼例項jQuery
- 實時監聽文字框內容變化程式碼例項
- Web中的監聽器【Listener】與過濾器【Filter】 例項Web過濾器Filter
- Rpc-實現Client對ZooKeeper的服務監聽RPCclient
- 修改服務端監聽器埠號為1526服務端