Oracle tnslsnr设置监听口令
1、 su - oracle
2、 在/oracle/product/9.2/network/admin目录下生成listener.ora文件,文件内容如下:
STENER =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
)
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(GLOBAL_DBNAME = keandb)
(ORACLE_HOME = /oracle/product/9.2)
(SID_NAME = keandb)
)
)
3、 lsnrctl
4、 change_password
5、 set password
6、 输入密码后
7、 save_config