字符集导致19c集群安装故障

在db1上执行/u01/app/19.0.0/grid_1/root.sh时报错,导致安装失败

root@db1 \~# /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@db1 \~#

root@db1 \~# /u01/app/19.0.0/grid_1/root.sh

Performing root user operation.

The following environment variables are set as:

ORACLE_OWNER= grid

ORACLE_HOME= /u01/app/19.0.0/grid_1

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.

Relinking oracle with rac_on option

Using configuration parameter file: /u01/app/19.0.0/grid_1/crs/install/crsconfig_params

The log of current session can be found at:

/u01/app/grid/crsdata/db1/crsconfig/rootcrs_db1_2023-11-09_07-47-46PM.log

2023/11/09 19:48:04 CLSRSC-594: Executing installation step 1 of 19: 'SetupTFA'.

2023/11/09 19:48:04 CLSRSC-594: Executing installation step 2 of 19: 'ValidateEnv'.

2023/11/09 19:48:04 CLSRSC-363: User ignored prerequisites during installation

2023/11/09 19:48:05 CLSRSC-594: Executing installation step 3 of 19: 'CheckFirstNode'.

2023/11/09 19:48:06 CLSRSC-594: Executing installation step 4 of 19: 'GenSiteGUIDs'.

2023/11/09 19:48:06 CLSRSC-594: Executing installation step 5 of 19: 'SetupOSD'.

2023/11/09 19:48:06 CLSRSC-594: Executing installation step 6 of 19: 'CheckCRSConfig'.

2023/11/09 19:48:06 CLSRSC-594: Executing installation step 7 of 19: 'SetupLocalGPNP'.

2023/11/09 19:48:14 CLSRSC-594: Executing installation step 8 of 19: 'CreateRootCert'.

2023/11/09 19:48:17 CLSRSC-594: Executing installation step 9 of 19: 'ConfigOLR'.

2023/11/09 19:48:24 CLSRSC-4002: Successfully installed Oracle Trace File Analyzer (TFA) Collector.

2023/11/09 19:48:28 CLSRSC-594: Executing installation step 10 of 19: 'ConfigCHMOS'.

2023/11/09 19:48:28 CLSRSC-594: Executing installation step 11 of 19: 'CreateOHASD'.

2023/11/09 19:48:31 CLSRSC-594: Executing installation step 12 of 19: 'ConfigOHASD'.

2023/11/09 19:48:31 CLSRSC-330: Adding Clusterware entries to file 'oracle-ohasd.service'

2023/11/09 19:48:50 CLSRSC-594: Executing installation step 13 of 19: 'InstallAFD'.

2023/11/09 19:48:53 CLSRSC-594: Executing installation step 14 of 19: 'InstallACFS'.

2023/11/09 19:48:57 CLSRSC-594: Executing installation step 15 of 19: 'InstallKA'.

2023/11/09 19:49:00 CLSRSC-594: Executing installation step 16 of 19: 'InitConfig'.

ASM has been created and started successfully.

DBT-30001 Disk groups created successfully. Check /u01/app/grid/cfgtoollogs/asmca/asmca-231109PM074930.log for details.

2023/11/09 19:50:57 CLSRSC-482: Running command: '/u01/app/19.0.0/grid_1/bin/ocrconfig -upgrade grid oinstall'

CRS-4256: Updating the profile

Successful addition of voting disk 7f1d97ff75994fb9bf479a86de5c88fd.

Successful addition of voting disk e6a9289977864f97bff72339a81b8023.

Successful addition of voting disk f3a091aaab154fdabfce577c4cf87aec.

Successful addition of voting disk bd4480c2e9874f5abfb6ae72d63481fb.

Successful addition of voting disk 968c0a02ac2d4f9dbf0eb8a89e49540a.

Successfully replaced voting disk group with +CRS.

CRS-4256: Updating the profile

CRS-4266: Voting file(s) successfully replaced

STATE File Universal Id File Name Disk group


  1. ONLINE 7f1d97ff75994fb9bf479a86de5c88fd (/dev/mapper/asm-crs1) CRS

  2. ONLINE e6a9289977864f97bff72339a81b8023 (/dev/mapper/asm-crs2) CRS

  3. ONLINE f3a091aaab154fdabfce577c4cf87aec (/dev/mapper/asm-crs3) CRS

  4. ONLINE bd4480c2e9874f5abfb6ae72d63481fb (/dev/mapper/asm-crs4) CRS

  5. ONLINE 968c0a02ac2d4f9dbf0eb8a89e49540a (/dev/mapper/asm-crs5) CRS

Located 5 voting disk(s).

2023/11/09 19:52:15 CLSRSC-594: Executing installation step 17 of 19: 'StartCluster'.

2023/11/09 19:53:24 CLSRSC-343: Successfully started Oracle Clusterware stack

2023/11/09 19:53:24 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)

2023/11/09 19:53:59 CLSRSC-180: An error occurred while executing the command '/u01/app/19.0.0/grid_1/bin/srvctl add cvu'

2023/11/09 19:53:59 CLSRSC-287: FirstNode configuration failed

清理环境后再次执行

root@db1 \~# /u01/app/19.0.0/grid_1/root.sh

/bin/sh: warning: setlocale: LC_ALL: cannot change locale (en_US.utf8): No such file or directory

Performing root user operation.

The following environment variables are set as:

ORACLE_OWNER= grid

ORACLE_HOME= /u01/app/19.0.0/grid_1

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.

/bin/sh: warning: setlocale: LC_ALL: cannot change locale (en_US.utf8): No such file or directory

/bin/sh: warning: setlocale: LC_ALL: cannot change locale (en_US.utf8): No such file or directory

/bin/sh: warning: setlocale: LC_ALL: cannot change locale (en_US.utf8): No such file or directory

Relinking oracle with rac_on option

perl: warning: Setting locale failed.

perl: warning: Please check that your locale settings:

LANGUAGE = (unset),

LC_ALL = "en_US.utf8",

LC_CTYPE = "en_US.utf8",

LANG = "en_US.UTF-8"

are supported and installed on your system.

perl: warning: Falling back to the standard locale ("C").

Using configuration parameter file: /u01/app/19.0.0/grid_1/crs/install/crsconfig_params

The log of current session can be found at:

/u01/app/grid/crsdata/db1/crsconfig/rootcrs_db1_2023-11-09_08-52-21PM.log

sh: warning: setlocale: LC_ALL: cannot change locale (en_US.utf8): No such file or directory

sh: warning: setlocale: LC_ALL: cannot change locale (en_US.utf8): No such file or directory

sh: warning: setlocale: LC_ALL: cannot change locale (en_US.utf8): No such file or directory

sh: warning: setlocale: LC_ALL: cannot change locale (en_US.utf8): No such file or directory

sh: warning: setlocale: LC_ALL: cannot change locale (en_US.utf8): No such file or directory

sh: warning: setlocale: LC_ALL: cannot change locale (en_US.utf8): No such file or directory

/bin/sh: warning: setlocale: LC_ALL: cannot change locale (en_US.utf8): No such file or directory

sh: warning: setlocale: LC_ALL: cannot change locale (en_US.utf8): No such file or directory

sh: warning: setlocale: LC_ALL: cannot change locale (en_US.utf8): No such file or directory

sh: warning: setlocale: LC_ALL: cannot change locale (en_US.utf8): No such file or directory

sh: warning: setlocale: LC_ALL: cannot change locale (en_US.utf8): No such file or directory

sh: warning: setlocale: LC_ALL: cannot change locale (en_US.utf8): No such file or directory

sh: warning: setlocale: LC_ALL: cannot change locale (en_US.utf8): No such file or directory

sh: warning: setlocale: LC_ALL: cannot change locale (en_US.utf8): No such file or directory

sh: warning: setlocale: LC_ALL: cannot change locale (en_US.utf8): No such file or directory

sh: warning: setlocale: LC_ALL: cannot change locale (en_US.utf8): No such file or directory

2023/11/09 20:52:23 /bin/sh: warning: setlocale: LC_ALL: cannot change locale (en_US.utf8): No such file or directory

CLSRSC-732: The Oracle home /u01/app/19.0.0/grid_1 does not exist on the nodes db1 db2.

sh: warning: setlocale: LC_ALL: cannot change locale (en_US.utf8): No such file or directory

Died at /u01/app/19.0.0/grid_1/crs/install/crsinstall.pm line 3557.

解决办法:安装英文包

yum -y install langpacks-en

安装后再次执行成功

root@db1 \~# /u01/app/oraInventory/orainstRoot.sh

/bin/sh: warning: setlocale: LC_ALL: cannot change locale (en_US.utf-8)

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@db1 \~# /u01/app/19.0.0/grid_1/root.sh

Performing root user operation.

The following environment variables are set as:

ORACLE_OWNER= grid

ORACLE_HOME= /u01/app/19.0.0/grid_1

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.0.0/grid_1/crs/install/crsconfig_params

The log of current session can be found at:

/u01/app/grid/crsdata/db1/crsconfig/rootcrs_db1_2023-11-09_08-56-18PM.log

2023/11/09 20:56:24 CLSRSC-594: Executing installation step 1 of 19: 'SetupTFA'.

2023/11/09 20:56:24 CLSRSC-594: Executing installation step 2 of 19: 'ValidateEnv'.

2023/11/09 20:56:24 CLSRSC-363: User ignored prerequisites during installation

2023/11/09 20:56:24 CLSRSC-594: Executing installation step 3 of 19: 'CheckFirstNode'.

2023/11/09 20:56:25 CLSRSC-594: Executing installation step 4 of 19: 'GenSiteGUIDs'.

2023/11/09 20:56:26 CLSRSC-594: Executing installation step 5 of 19: 'SetupOSD'.

2023/11/09 20:56:26 CLSRSC-594: Executing installation step 6 of 19: 'CheckCRSConfig'.

2023/11/09 20:56:26 CLSRSC-594: Executing installation step 7 of 19: 'SetupLocalGPNP'.

2023/11/09 20:56:33 CLSRSC-594: Executing installation step 8 of 19: 'CreateRootCert'.

2023/11/09 20:56:36 CLSRSC-594: Executing installation step 9 of 19: 'ConfigOLR'.

2023/11/09 20:56:44 CLSRSC-4002: Successfully installed Oracle Trace File Analyzer (TFA) Collector.

2023/11/09 20:56:47 CLSRSC-594: Executing installation step 10 of 19: 'ConfigCHMOS'.

2023/11/09 20:56:48 CLSRSC-594: Executing installation step 11 of 19: 'CreateOHASD'.

2023/11/09 20:56:51 CLSRSC-594: Executing installation step 12 of 19: 'ConfigOHASD'.

2023/11/09 20:56:51 CLSRSC-330: Adding Clusterware entries to file 'oracle-ohasd.service'

2023/11/09 20:57:09 CLSRSC-594: Executing installation step 13 of 19: 'InstallAFD'.

2023/11/09 20:57:13 CLSRSC-594: Executing installation step 14 of 19: 'InstallACFS'.

2023/11/09 20:57:16 CLSRSC-594: Executing installation step 15 of 19: 'InstallKA'.

2023/11/09 20:57:20 CLSRSC-594: Executing installation step 16 of 19: 'InitConfig'.

ASM has been created and started successfully.

DBT-30001 Disk groups created successfully. Check /u01/app/grid/cfgtoollogs/asmca/asmca-231109PM085750.log for details.

2023/11/09 20:59:36 CLSRSC-482: Running command: '/u01/app/19.0.0/grid_1/bin/ocrconfig -upgrade grid oinstall'

CRS-4256: Updating the profile

Successful addition of voting disk b11ff7f2d3ac4f37bf5dd6423f2b0a45.

Successful addition of voting disk 3703e23deef74fbcbf970c80214d5c40.

Successful addition of voting disk d513dbe326224f25bf957bc3deb7a1dc.

Successful addition of voting disk acaa23e4bac04f82bffb3e2f822733f8.

Successful addition of voting disk b1fc29fa960b4f13bfba5ebc87857563.

Successfully replaced voting disk group with +CRS.

CRS-4256: Updating the profile

CRS-4266: Voting file(s) successfully replaced

STATE File Universal Id File Name Disk group


  1. ONLINE b11ff7f2d3ac4f37bf5dd6423f2b0a45 (/dev/mapper/asm-crs1) CRS

  2. ONLINE 3703e23deef74fbcbf970c80214d5c40 (/dev/mapper/asm-crs2) CRS

  3. ONLINE d513dbe326224f25bf957bc3deb7a1dc (/dev/mapper/asm-crs3) CRS

  4. ONLINE acaa23e4bac04f82bffb3e2f822733f8 (/dev/mapper/asm-crs4) CRS

  5. ONLINE b1fc29fa960b4f13bfba5ebc87857563 (/dev/mapper/asm-crs5) CRS

Located 5 voting disk(s).

2023/11/09 21:00:57 CLSRSC-594: Executing installation step 17 of 19: 'StartCluster'.

2023/11/09 21:02:06 CLSRSC-343: Successfully started Oracle Clusterware stack

2023/11/09 21:02:07 CLSRSC-594: Executing installation step 18 of 19: 'ConfigNode'.

2023/11/09 21:03:01 CLSRSC-594: Executing installation step 19 of 19: 'PostConfig'.

INFO DBT-30001 Disk groups created successfully. Check /u01/app/grid/cfgtoollogs/asmca/asmca-231109PM090305.log for details.

2023/11/09 21:03:33 CLSRSC-325: Configure Oracle Grid Infrastructure for a Cluster ... succeeded

root@db1 \~#

相关推荐
不会就选b7 分钟前
linux之进程管理(二)--替换
linux·运维·服务器
倔强的石头10612 分钟前
【Linux指南】动静态库系列(二):从源码复用到目标文件复用:为什么需要把 .o 打包成库
linux·运维·服务器
woshihuanglaoshi15 分钟前
数据迁移与版本管理 - Flutter在鸿蒙平台实现数据库升级策略
数据库·学习·flutter·华为·harmonyos·鸿蒙·鸿蒙系统
java_logo2 小时前
Apache Doris Docker 部署指南:实时分析数据库实战
数据库·docker·apache·doris·apache doris·轩辕镜像·docker部署doris
广州灵眸科技有限公司10 小时前
xfce桌面触摸校准:基于灵眸科技EASY-EAl-Orin-Nano
数据库·windows·科技
Cloud云卷云舒12 小时前
云卷云舒:从Oracle/MySQL迁移到HaishanDB:迁移评估工具核心技术拆解
mysql·oracle·ai-native·haishandb·信创数据库替换
憧憬成为web高手12 小时前
皮卡丘靶场速通--sql 2
数据库·sql·mybatis
HLC++12 小时前
Linux的进程间通信
android·linux·服务器
段一凡-华北理工大学13 小时前
向量数据库实战:选型、调优与落地~系列文章12:文本分块策略实战:chunk_size 怎么选?重叠多少?
开发语言·数据库·后端·oracle·rust·工业智能体·高炉智能化