host # loopback (lo0) name/address ::1 loopback localhost # IPv6 loopback (lo0) name/address xxxxxxxxxxx localhost 发现/etc/hosts 文件中有一个IP地址的别名是localhost,两边都有,将此行删除,并重新运行root.sh
root@KK01:/oraapp/grid/gridhome>./root.sh Performing root user operation for Oracle 11g
The following environment variables are set as: ORACLE_OWNER= grid ORACLE_HOME= /oraapp/grid/gridhome
Enter the full pathname of the local bin directory: [/usr/local/bin]: The contents of "dbhome" have not changed. No need to overwrite. The contents of "oraenv" have not changed. No need to overwrite. The contents of "coraenv" have not changed. No need to overwrite.
Entries will be added to the /etc/oratab file as needed by Database Configuration Assistant when a database is created Finished running generic part of root script. Now product-specific root actions will be performed. Using configuration parameter file: /oraapp/grid/gridhome/crs/install/crsconfig_params User ignored Prerequisites during installation PRKO-2190 : VIP exists for node kk01, VIP name kk01-vip PRCS-1037 : Single Client Access Name VIPs already exist PRCS-1028 : Single Client Access Name listeners already exist OC4J could not be created as it already exists PRCR-1086 : resource ora.oc4j is already registered PRCR-1086 : resource ora.cvu is already registered CRS-2672: Attempting to start 'ora.registry.acfs' on 'kk01' CRS-2676: Start of 'ora.registry.acfs' on 'kk01' succeeded Configure Oracle Grid Infrastructure for a Cluster ... succeeded root@kk01:/oraapp/grid/gridhome>
root@kk02:/oraapp/grid/gridhome>./root.sh Performing root user operation for Oracle 11g
The following environment variables are set as: ORACLE_OWNER= grid ORACLE_HOME= /oraapp/grid/gridhome
Enter the full pathname of the local bin directory: [/usr/local/bin]: Copying dbhome to /usr/local/bin ... Copying oraenv to /usr/local/bin ... Copying coraenv to /usr/local/bin ...
Creating /etc/oratab file... Entries will be added to the /etc/oratab file as needed by Database Configuration Assistant when a database is created Finished running generic part of root script. Now product-specific root actions will be performed. Using configuration parameter file: /oraapp/grid/gridhome/crs/install/crsconfig_params Creating trace directory User ignored Prerequisites during installation User grid has the required capabilities to run
CSSD in realtime mode OLR initialization - successful Adding Clusterware entries to inittab CRS-4402: The CSS daemon was started in exclusive mode but found an active CSS daemon on node kk01, number 1, and is terminating An active cluster was found during exclusive startup, restarting to join the cluster Configure
Oracle Grid Infrastructure for a Cluster ... succeeded root@kk02:/oraapp/grid/gridhome>su - grid grid@kk02:/home/grid>crs_stat -t Name Type Target State Host ------------------------------------------------------------ ora....N1.lsnr ora....er.type ONLINE ONLINE kk01 ora.OCRDG.dg ora....up.type ONLINE ONLINE kk01 ora.asm ora.asm.type ONLINE ONLINE kk01 ora.cvu ora.cvu.type ONLINE ONLINE kk01 ora.gsd ora.gsd.type OFFLINE OFFLINE ora....SM1.asm application ONLINE ONLINE kk01 ora....r01.gsd application OFFLINE OFFLINE ora....r01.ons application ONLINE ONLINE kk01 ora....r01.vip ora....t1.type ONLINE ONLINE kk01 ora....SM2.asm application ONLINE ONLINE kk02 ora....r02.gsd application OFFLINE OFFLINE ora....r02.ons application ONLINE ONL |