Oracle11.2.0.4(ForLinux6)修改监听默认端口号
作者:互联网
关键字 Oracle11.2.0.4 单实例 修改端口号
注意:网上点击量最多的帖子,要修改local_listener参数,绝对没必要。
(1)停止
su - oracle
$ lsnrctl status
--记录
$ lsnrctl stop
(2)修改listener.ora
su - oracle
$ cp ./product/11.2.0/network/admin/listener.ora ./product/11.2.0/network/admin/listener.ora_BAK20211113
$ vi ./product/11.2.0/network/admin/listener.ora
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = Aapp510)(PORT = 1522))
)
)
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(GLOBAL_DBNAME = aaadb)
(ORACLE_HOME = /home/db/oracle/product/11.2.0)
(SID_NAME = aaadb)
)
)
(3)启动
lsnrctl start
lsnrctl status
--记录
标签:Oracle11.2,lsnrctl,0.4,11.2,listener,SID,product,端口号,ora 来源: https://blog.csdn.net/lihb_ccb/article/details/121308361