配置solaris10 oracle10g的監聽器密碼
2. vi $ORACLE_HOME/network/admin/listener.ora
新增如下內容
LOCAL_OS_AUTHENTICATION_LISTENER=OFF ---塗綠為監聽器的名字
3. bash-3.00$ lsnrctl ---輸入lsnrctl進入監聽器
LSNRCTL for Solaris: Version 10.2.0.1.0 - Production on 20-NOV-2009 10:30:46
Copyright (c) 1991, 2005, Oracle. All rights reserved.
Welcome to LSNRCTL, type "help" for information.
LSNRCTL> set current_listener LISTENER --- LISTENER為配置的監聽器的名字
Current Listener is LISTENER
LSNRCTL> change_password ---為監聽器配置密碼
Old password: ---如以前沒配置過密碼,回車就可
New password: ---配置新密碼
Reenter new password: --重新確認新密碼
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=240a)(PORT=1521)))
Password changed for LISTENER
The command completed successfully
LSNRCTL> set password ---再次輸入以上配置的新密碼
Password:
The command completed successfully
LSNRCTL> save_config ---儲存生效以上配置
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=240a)(PORT=1521)))
Saved LISTENER configuration parameters.
Listener Parameter File /export/home/oracle/oracle/product/10.2.0/db_1/network/admin/listener.ora
Old Parameter File /export/home/oracle/oracle/product/10.2.0/db_1/network/admin/listener.bak
The command completed successfully
LSNRCTL> status ----檢視配置後監聽器狀態
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=240a)(PORT=1521)))
STATUS of the LISTENER
------------------------
Alias LISTENER
Version TNSLSNR for Solaris: Version 10.2.0.1.0 - Production
Start Date 20-NOV-2009 10:30:37
Uptime 0 days 0 hr. 1 min. 36 sec
Trace Level off
Security ON: Password ---請注意,此時密碼開啟
SNMP OFF
Listener Parameter File /export/home/oracle/oracle/product/10.2.0/db_1/network/admin/listener.ora
Listener Log File /export/home/oracle/oracle/product/10.2.0/db_1/network/log/listener.log
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=240a)(PORT=1521)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC0)))
Services Summary...
Service "PLSExtProc" has 1 instance(s).
Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
Service "source" has 1 instance(s).
Instance "source", status READY, has 1 handler(s) for this service...
Service "sourceXDB" has 1 instance(s).
Instance "source", status READY, has 1 handler(s) for this service...
Service "source_XPT" has 1 instance(s).
Instance "source", status READY, has 1 handler(s) for this service...
The command completed successfully
4. 下次再對監聽器進行任何操作
bash-3.00$ lsnrctl
LSNRCTL for Solaris: Version 10.2.0.1.0 - Production on 20-NOV-2009 10:33:58
Copyright (c) 1991, 2005, Oracle. All rights reserved.
Welcome to LSNRCTL, type "help" for information.
LSNRCTL> status
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=240a)(PORT=1521)))
TNS-01169: The listener has not recognized the password ---表明需要輸入密碼
LSNRCTL> set password ---輸入密碼就可,進行相關操作
Password:
The command completed successfully
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/9240380/viewspace-620124/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- Spring框架(一):配置&注入&監聽器Spring框架
- 2.5.2. 監聽程式(listener)配置——2.5.2.3. 手工編輯監聽器配置檔案
- 【spring原始碼】十二、監聽器Spring原始碼
- ASM有自己的引數、密碼、alert、監聽檔案ASM密碼
- SpringBoot事件監聽器原始碼分析Spring Boot事件原始碼
- javaWeb中的監聽器JavaWeb
- Oracle 11g/12c 監聽器白名單的配置Oracle
- Solaris10怎麼更改子網掩碼?Solaris10更改子網掩碼的方法
- JMeter—監聽器(十二)JMeter
- 監聽器和過濾器過濾器
- springBoot的過濾器,監聽器,攔截器Spring Boot過濾器
- 事件和事件監聽器事件
- 如何移除事件監聽器事件
- 11g rac監聽配置解析
- 配置資料庫監聽白名單資料庫
- 監聽瀏覽器的後退事件瀏覽器事件
- Spring5原始碼解析-Spring框架中的事件和監聽器Spring原始碼框架事件
- Springboot中自定義監聽器Spring Boot
- day25-Listener監聽器
- jmeter監聽器(Transactions per Second)JMeter
- SpringBoot 攔截器、過濾器、監聽器Spring Boot過濾器
- 過濾器和監聽器總結過濾器
- 【Vue2.x原始碼系列07】監聽器watch原理Vue原始碼
- 監聽 watch props物件屬性監聽 或深度監聽物件
- 多IP伺服器上監聽器的設定伺服器
- 2.5.2. 監聽程式(listener)配置——2.5.2.1. netca
- 2.5.2. 監聽程式(listener)配置——2.5.2.2. netmgr
- EMQX伺服器配置使用者和密碼MQ伺服器密碼
- 安卓使用物理鍵監聽器安卓
- 自定義元件-資料監聽器元件
- 【JavaWeb】EL表示式&過濾器&監聽器JavaWeb過濾器
- Android掃碼槍監聽封裝Android封裝
- python使用裝飾器實現的事件中心(監聽器)Python事件
- ASP.NET Core中配置監聽URLs的五種方式ASP.NET
- Spring中如何優雅的使用監聽器模式Spring模式
- java鍵盤監聽之視窗監聽的實現Java
- FreeSwtich的監聽功能
- canal同步mysql,監聽單例項,多例項配置MySql單例
- 監聽配置細節引數詳解兩則