RAC系统重新配置listener后无法启动:
[root@rac02 admin]#
[root@rac01 bin]# ./crs_start ora.rac02.LISTENER1_RAC02.lsnr
Attempting to start `ora.rac02.LISTENER1_RAC02.lsnr` on member `rac02`
Start of `ora.rac02.LISTENER1_RAC02.lsnr` on member `rac02` failed.
rac01 : CRS-1018: Resource ora.rac02.vip (application) is already running on rac02
CRS-0215: Could not start resource 'ora.rac02.LISTENER1_RAC02.lsnr'.
查看listener内容如下:
[root@rac02 admin]# more listener.ora
# listener.ora.rac02 Network Configuration File: /opt/ora10g/product/10.2.0/db_1/network/admin/listener.ora.rac02
# Generated by Oracle configuration tools.
LISTENER1_RAC02 =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(PORT = 1521)(IP = FIRST))
(ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.21.132)(PORT = 1521)(IP = FIRST))
)
)
SID_LIST_LISTENER1_RAC02 =
(SID_LIST =
(SID_DESC =
(SID_NAME = PLSExtProc)
(ORACLE_HOME = /opt/ora10g/product/10.2.0/db_1)
(PROGRAM = extproc)
)
)
原来是重新配置listener时,配置文件出错,正确配置如下:
[root@rac02 admin]# more listener.ora
# listener.ora.rac02 Network Configuration File: /opt/ora10g/product/10.2.0/db_1/network/admin/listener.ora.rac02
# Generated by Oracle configuration tools.
SID_LIST_LISTENER_RAC02 =
(SID_LIST =
(SID_DESC =
(SID_NAME = PLSExtProc)
(ORACLE_HOME = /opt/ora10g/product/10.2.0/db_1)
(PROGRAM = extproc)
)
)
LISTENER_RAC02 =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = vip-rac02)(PORT = 1521)(IP = FIRST))
(ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.21.132)(PORT = 1521)(IP = FIRST))
)
)
改正以后,listener系统启动正常.