
故障问题
LSNRCTL for Linux: Version 11.2.0.4.0 - Production on 21-JUL-2020 14:44:36Copyright (c) 1991, 2013, Oracle. All rights reserved.Starting /u01/app/oracle/product/11.2.0/db_1/bin/tnslsnr: please wait...TNSLSNR for Linux: Version 11.2.0.4.0 - ProductionSystem parameter file is u01/app/oracle/product/11.2.0/db_1/network/admin/listener.oraLog messages written to u01/app/oracle/diag/tnslsnr/oracledb2/listener_orcl/alert/log.xmlListening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=oracledb2)(PORT=1521)))Error listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=172.168.10.2)(PORT=1521)))TNS-12542: TNS:address already in useTNS-12560: TNS:protocol adapter errorTNS-00512: Address already in useLinux Error: 98: Address already in useListener failed to start. See the error message(s) above...
修改监听配置
LISTENER_ORCL =(DESCRIPTION_LIST =(DESCRIPTION =(ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.2.161)(PORT = 1521)))(DESCRIPTION =(ADDRESS = (PROTOCOL = TCP)(HOST = 172.168.10.2)(PORT = 1521))))
[oracle@oracledb2 admin]$ lsnrctl start LISTENER_ORCLLSNRCTL for Linux: Version 11.2.0.4.0 - Production on 21-JUL-2020 14:46:29Copyright (c) 1991, 2013, Oracle. All rights reserved.Starting /u01/app/oracle/product/11.2.0/db_1/bin/tnslsnr: please wait...TNSLSNR for Linux: Version 11.2.0.4.0 - ProductionSystem parameter file is /u01/app/oracle/product/11.2.0/db_1/network/admin/listener.oraLog messages written to /u01/app/oracle/diag/tnslsnr/oracledb2/listener_orcl/alert/log.xmlListening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=192.168.2.161)(PORT=1521)))Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=172.168.10.2)(PORT=1521)))Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=192.168.2.161)(PORT=1521)))STATUS of the LISTENER------------------------Alias LISTENER_ORCLVersion TNSLSNR for Linux: Version 11.2.0.4.0 - ProductionStart Date 21-JUL-2020 14:46:29Uptime 0 days 0 hr. 0 min. 0 secTrace Level offSecurity ON: Local OS AuthenticationSNMP OFFListener Parameter File /u01/app/oracle/product/11.2.0/db_1/network/admin/listener.oraListener Log File /u01/app/oracle/diag/tnslsnr/oracledb2/listener_orcl/alert/log.xmlListening Endpoints Summary...(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=192.168.2.161)(PORT=1521)))(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=172.168.10.2)(PORT=1521)))The listener supports no servicesThe command completed successfully
原因
文章转载自6号见的MindPalace,如果涉嫌侵权,请发送邮件至:contact@modb.pro进行举报,并提供相关证据,一经查实,墨天轮将立刻删除相关内容。




