如题,listener.ora 里无实质内容。想着可以再设一个动态listener, 使用其它端口1531。于是:
alter system set local_listener='(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=iZwz99epciho04qniq383sZ)(PORT=1531)))';
然后
lsnrctl start listener
怎奈,还是显示启动的是默认的端口是1521的listener
[oracle@iZwz99epciho04qniq383sZ ~]$ lsnrctl start listener
LSNRCTL for Linux: Version 12.1.0.2.0 - Production on 07-JAN-2023 01:14:57
Copyright (c) 1991, 2014, Oracle. All rights reserved.
Starting /u01/app/oracle/product/12.1.0.2/db_1/bin/tnslsnr: please wait...
TNSLSNR for Linux: Version 12.1.0.2.0 - Production
System parameter file is /u01/app/oracle/product/12.1.0.2/db_1/network/admin/listener.ora
Log messages written to /u01/app/oracle/diag/tnslsnr/iZwz99epciho04qniq383sZ/listener/alert/log.xml
Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=iZwz99epciho04qniq383sZ)(PORT=1521)))
Connecting to (ADDRESS=(PROTOCOL=tcp)(HOST=)(PORT=1521))
这是为何?
