[root@rac1 grid]# /u01/app/oraInventory/orainstRoot.sh
Changing permissions of /u01/app/oraInventory.
Adding read,write permissions for group.
Removing read,write,execute permissions for world.
Changing groupname of /u01/app/oraInventory to oinstall.
The execution of the script is complete.
[root@rac1 grid]# /u01/app/19.25.0/grid/root.sh
Performing root user operation.
The following environment variables are set as:
ORACLE_OWNER= grid
ORACLE_HOME= /u01/app/19.25.0/grid
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.
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.
Relinking oracle with rac_on option
Using configuration parameter file: /u01/app/19.25.0/grid/crs/install/crsconfig_params
The log of current session can be found at:
/u01/app/grid/crsdata/rac1/crsconfig/rootcrs_rac1_2025-01-01_11-11-52PM.log
2025/01/01 23:12:00 CLSRSC-594: Executing installation step 1 of 19: 'ValidateEnv'.
2025/01/01 23:12:00 CLSRSC-594: Executing installation step 2 of 19: 'CheckFirstNode'.
2025/01/01 23:12:02 CLSRSC-594: Executing installation step 3 of 19: 'GenSiteGUIDs'.
2025/01/01 23:12:03 CLSRSC-594: Executing installation step 4 of 19: 'SetupOSD'.
2025/01/01 23:12:03 CLSRSC-594: Executing installation step 5 of 19: 'CheckCRSConfig'.
2025/01/01 23:12:03 CLSRSC-594: Executing installation step 6 of 19: 'SetupLocalGPNP'.
2025/01/01 23:12:14 CLSRSC-594: Executing installation step 7 of 19: 'CreateRootCert'.
2025/01/01 23:12:18 CLSRSC-594: Executing installation step 8 of 19: 'ConfigOLR'.
2025/01/01 23:12:29 CLSRSC-594: Executing installation step 9 of 19: 'ConfigCHMOS'.
2025/01/01 23:12:29 CLSRSC-594: Executing installation step 10 of 19: 'CreateOHASD'.
2025/01/01 23:12:34 CLSRSC-594: Executing installation step 11 of 19: 'ConfigOHASD'.
2025/01/01 23:12:34 CLSRSC-330: Adding Clusterware entries to file 'oracle-ohasd.service'
2025/01/01 23:12:57 CLSRSC-594: Executing installation step 12 of 19: 'SetupTFA'.
2025/01/01 23:12:57 CLSRSC-594: Executing installation step 13 of 19: 'InstallAFD'.
2025/01/01 23:13:25 CLSRSC-594: Executing installation step 14 of 19: 'InstallACFS'.
2025/01/01 23:13:58 CLSRSC-594: Executing installation step 15 of 19: 'InstallKA'.
2025/01/01 23:14:04 CLSRSC-594: Executing installation step 16 of 19: 'InitConfig'.
2025/01/01 23:14:49 CLSRSC-4002: Successfully installed Oracle Trace File Analyzer (TFA) Collector.
[INFO] [DBT-30161] Disk label(s) created successfully. Check /u01/app/grid/cfgtoollogs/asmca/asmca-250101PM111434.log for details.
2025/01/01 23:15:16 CLSRSC-482: Running command: '/u01/app/19.25.0/grid/bin/ocrconfig -upgrade grid oinstall'
CRS-4256: Updating the profile
Successful addition of voting disk 41115d0ca09d4f8ebf194e7a33993b52.
Successful addition of voting disk 0f2b045b9ca84f37bfd2bf5c10dfcd24.
Successful addition of voting disk fc733f16d45a4f05bf4c637f58ef6c8d.
Successfully replaced voting disk group with +DATA.
CRS-4256: Updating the profile
CRS-4266: Voting file(s) successfully replaced
## STATE File Universal Id File Name Disk group
-- ----- ----------------- --------- ---------
1. ONLINE 41115d0ca09d4f8ebf194e7a33993b52 (AFD:DATA1) [DATA]
2. ONLINE 0f2b045b9ca84f37bfd2bf5c10dfcd24 (AFD:DATA2) [DATA]
3. ONLINE fc733f16d45a4f05bf4c637f58ef6c8d (AFD:DATA3) [DATA]
Located 3 voting disk(s).
2025/01/01 23:15:56 CLSRSC-594: Executing installation step 17 of 19: 'StartCluster'.
2025/01/01 23:16:50 CLSRSC-343: Successfully started Oracle Clusterware stack
2025/01/01 23:16:50 CLSRSC-594: Executing installation step 18 of 19: 'ConfigNode'.
PRCT-1011 : Failed to run "crsctl". Detailed error: CRS-4003: Resource 'ora.crsd' is registered.
/bin/sh: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8)
2025/01/01 23:17:24 CLSRSC-180: An error occurred while executing the command '/u01/app/19.25.0/grid/bin/srvctl add cvu'
2025/01/01 23:17:24 CLSRSC-287: FirstNode configuration failed
解决办法:
解决办法:安装英文包 # yum -y install langpacks-en 之后,再去执行,OK. 具体如下:
[root@rac1 grid]# /u01/app/oraInventory/orainstRoot.sh Changing permissions of /u01/app/oraInventory. Adding read,write permissions for group. Removing read,write,execute permissions for world.
Changing groupname of /u01/app/oraInventory to oinstall. The execution of the script is complete. [root@rac1 grid]# /u01/app/19.25.0/grid/root.sh Performing root user operation.
The following environment variables are set as: ORACLE_OWNER= grid ORACLE_HOME= /u01/app/19.25.0/grid
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. Relinking oracle with rac_on option Using configuration parameter file: /u01/app/19.25.0/grid/crs/install/crsconfig_params The log of current session can be found at: /u01/app/grid/crsdata/rac1/crsconfig/rootcrs_rac1_2025-01-01_11-54-58PM.log 2025/01/01 23:55:03 CLSRSC-594: Executing installation step 1 of 19: 'ValidateEnv'. 2025/01/01 23:55:03 CLSRSC-594: Executing installation step 2 of 19: 'CheckFirstNode'. 2025/01/01 23:55:05 CLSRSC-594: Executing installation step 3 of 19: 'GenSiteGUIDs'. 2025/01/01 23:55:06 CLSRSC-594: Executing installation step 4 of 19: 'SetupOSD'. 2025/01/01 23:55:06 CLSRSC-594: Executing installation step 5 of 19: 'CheckCRSConfig'. 2025/01/01 23:55:07 CLSRSC-594: Executing installation step 6 of 19: 'SetupLocalGPNP'. 2025/01/01 23:55:08 CLSRSC-594: Executing installation step 7 of 19: 'CreateRootCert'. 2025/01/01 23:55:12 CLSRSC-594: Executing installation step 8 of 19: 'ConfigOLR'. 2025/01/01 23:55:12 CLSRSC-594: Executing installation step 9 of 19: 'ConfigCHMOS'. 2025/01/01 23:55:13 CLSRSC-594: Executing installation step 10 of 19: 'CreateOHASD'. 2025/01/01 23:55:13 CLSRSC-594: Executing installation step 11 of 19: 'ConfigOHASD'. 2025/01/01 23:55:17 CLSRSC-594: Executing installation step 12 of 19: 'SetupTFA'. 2025/01/01 23:55:17 CLSRSC-594: Executing installation step 13 of 19: 'InstallAFD'. 2025/01/01 23:55:18 CLSRSC-594: Executing installation step 14 of 19: 'InstallACFS'. 2025/01/01 23:55:19 CLSRSC-594: Executing installation step 15 of 19: 'InstallKA'. 2025/01/01 23:55:23 CLSRSC-594: Executing installation step 16 of 19: 'InitConfig'. 2025/01/01 23:55:54 CLSRSC-594: Executing installation step 17 of 19: 'StartCluster'. 2025/01/01 23:55:57 CLSRSC-4002: Successfully installed Oracle Trace File Analyzer (TFA) Collector. 2025/01/01 23:56:45 CLSRSC-343: Successfully started Oracle Clusterware stack 2025/01/01 23:56:45 CLSRSC-594: Executing installation step 18 of 19: 'ConfigNode'. CRS-10409: (:CLSCRED0034:)Credential target already exists. CRS-4000: Command Add failed, or completed with errors. 2025/01/01 23:56:56 CLSRSC-180: An error occurred while executing the command '"/u01/app/19.25.0/grid/bin/crsctl add credmaint -target ons_wallet -path /ons_wallet"' 2025/01/01 23:57:28 CLSRSC-594: Executing installation step 19 of 19: 'PostConfig'. 2025/01/01 23:57:48 CLSRSC-325: Configure Oracle Grid Infrastructure for a Cluster ... succeeded
|