前天割完一套rac下得DG,两节点的数据库都没起来,手动startup结果如下:
[oracle@mssdb1 ~]$ sqlplus / as sysdba SQL*Plus: Release 11.2.0.4.0 Production on Sat Aug 11 00:57:39 2018 Copyright (c) 1982, 2013, Oracle. All rights reserved. Connected to an idle instance. SQL> startup nomount ORA-00119: invalid specification for system parameter REMOTE_LISTENER ORA-00132: syntax error or unresolved network name 'mssdb-scan:1821' SQL>
检查了CRS资源,rac节点资源,都没问题,最后发现是识别不了hosts文件,原来配置节点信息的时候直接用的是IP,而不是别名,查看hosts文件的权限,更改权限后解决。
[root@mssdb2 ~]# ls -l /etc/hosts -rw-r----- 1 root root 675 Aug 10 16:47 /etc/hosts [root@mssdb2 ~]# chmod 644 /etc/hosts
