AIX 11gR2 grid root.sh Error: with status:FAIL.Error code is 256
AIX: 11gR2 Grid Infrastructure Installation, root.sh Error: Failed to write the checkpoint:'' with status:FAIL.Error code is 256 (文件 ID 1382505.1)
出現此問題,是由於LIB庫引用了第三方的LIB,從已安裝好的資料庫上考過來即可解決
Oracle Database - Enterprise Edition - Version 11.2.0.1 and later
IBM AIX on POWER Systems (64-bit)
證狀:
Trying to install Grid Infrastructure 11.2.0.3, root.sh fails with:
# root.sh
..
User ignored Prerequisites during installation
Failed to write the checkpoint:'' with status:FAIL.Error code is 256
Undefined subroutine &crsconfig_lib::dieformat called at /oracle/app/11.2.0.3/grid/crs/install/crsconfig_lib.pm line 6135.
rootcrs_.log shows:
2011-11-23 03:43:20: User ignored Prerequisites during installation
2011-11-23 03:43:24: ###### Begin DIE Stack Trace ######
2011-11-23 03:43:24: Package File Line Calling
2011-11-23 03:43:24: --------------- -------------------- ---- ----------
2011-11-23 03:43:24: 1: main rootcrs.pl 375 crsconfig_lib::dietrap
2011-11-23 03:43:24: 2: crsconfig_lib crsconfig_lib.pm 6135 main::__ANON__
2011-11-23 03:43:24: 3: crsconfig_lib crsconfig_lib.pm 6640 crsconfig_lib::set_file_perms
2011-11-23 03:43:24: 4: main rootcrs.pl 457 crsconfig_lib::run_env_setup_modules
2011-11-23 03:43:24: ####### End DIE Stack Trace #######
..
2011-11-23 03:43:24: Failed to write the checkpoint:'' with status:FAIL.Error code is 256
原因:
The problem is caused by clusterware library pointing to non-exist Vendor clusterware library, eg:
$ ls -l /oracle/app/11.2.0.3/grid/lib/libskgxn*
lrwxrwxrwx 1 grid oinstall 33 Nov 23 03:08 /oracle/app/11.2.0.3/grid/lib/libskgxn2.so -> /opt/ORCLcluster/lib/libskgxn2.so
-rwxr-xr-x 1 grid oinstall 159806 Oct 20 23:55 /oracle/app/11.2.0.3/grid/lib/libskgxnr.a
lrwxrwxrwx 1 grid oinstall 33 Nov 23 09:38 /oracle/app/11.2.0.3/grid/lib/libskgxnr.so -> /opt/ORCLcluster/lib/libskgxnr.so
$ ls -l /opt/ORCLcluster
ls: 0653-341 The file /opt/ORCLcluster does not exist.
This is caused by HACMP executable is not removed cleanly when HACMP is deinstalled. When HACMP is installed, it installs the directory /usr/sbin/cluster/utilities along with others. Oracle OUI depends on /usr/sbin/cluster/utilities/cldomain to determine if vendor clusterware exists. If yes, then a symlink of $GRID_HOME/lib/libskgxn2.so will be created pointing to /opt/ORCLcluster/lib/libskgxn2.so (so does libskgxnr.so). /opt/ORCLcluster directory is setup during rootpre.sh if vendor cluster is presented.
In this case, HACMP was first installed, then Veritas software was installed, it caused the /usr/sbin/cluster/utilities/cldomain became a symlink pointing to Veritas clusterware:
$ ls -l /usr/sbin/cluster/utilities/cldomain
lrwxrwxrwx 1 root system 29 Sep 21 13:54 /usr/sbin/cluster/utilities/cldomain -> /opt/VRTSvcs/rac/bin/cldomain
When HACMP was deinstalled later, it removed all other files but left this symlink cldomain, causing Oracle considered vendor clusterware exists and created the symlink of libskgxn2.so and libskgxnr.so during link libraries phase in OUI installation. Further leads to root.sh failure.
解決方案:
1. When deinstalling vendor clusterware, make sure all associated files are removed. In this case, remove the symlink /usr/sbin/cluster/utilities/cldomain
2. Clean up the failed GI installation via $GRID_HOME/deinstall/deinstall command or clean up manually follow DOCUMENT 1364419.1
3. Reinstall Grid Infrastructure
注:如果11.2 繼續想使用裸裝置不想解除安裝第三方叢集軟體如HACMP,可以透過如下方式來解決
scp libskgxn* grid@10.19.242.182:/grid/product/11.2.0/gridhome_1/lib/
libskgxn2.a 100% 156KB 155.9KB/s 00:00
libskgxn2.so 100% 202KB 202.5KB/s 00:00
libskgxnr.a 100% 156KB 155.9KB/s 00:00
libskgxnr.so 100% 202KB 202.5KB/s 00:00
libskgxns.a 100% 13KB 12.6KB/s 00:00
libskgxns.so 100% 14KB 13.9KB/s 00:00
[grid@sokfbcv6a] /grid/product/11.2.0/gridhome_1/lib> scp libskgxn* grid@10.19.242.184:/grid/product/11.2.0/gridhome_1/lib/
The authenticity of host '10.19.242.184 (10.19.242.184)' can't be established.
ECDSA key fingerprint is f6:39:b3:30:20:ad:d8:69:70:a9:c2:be:38:d2:f9:b9.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added '10.19.242.184' (ECDSA) to the list of known hosts.
grid@10.19.242.184's password:
libskgxn2.a 100% 156KB 155.9KB/s 00:00
scp: /grid/product/11.2.0/gridhome_1/lib//libskgxn2.so: No such file or directory ======》如果出現目錄不存,需要建目錄
libskgxnr.a 100% 156KB 155.9KB/s 00:00
scp: /grid/product/11.2.0/gridhome_1/lib//libskgxnr.so: No such file or directory
libskgxns.a 100% 13KB 12.6KB/s 00:00
libskgxns.so
在需要安裝的環境下
[root@togm1b_new] /> chown grid:oinstall /opt/ORCLcluster/lib
[root@togm1b_new] /> chown -R grid:oinstall /opt/ORCLcluster/lib
出現此問題,是由於LIB庫引用了第三方的LIB,從已安裝好的資料庫上考過來即可解決
Oracle Database - Enterprise Edition - Version 11.2.0.1 and later
IBM AIX on POWER Systems (64-bit)
證狀:
Trying to install Grid Infrastructure 11.2.0.3, root.sh fails with:
# root.sh
..
User ignored Prerequisites during installation
Failed to write the checkpoint:'' with status:FAIL.Error code is 256
Undefined subroutine &crsconfig_lib::dieformat called at /oracle/app/11.2.0.3/grid/crs/install/crsconfig_lib.pm line 6135.
rootcrs_
2011-11-23 03:43:20: User ignored Prerequisites during installation
2011-11-23 03:43:24: ###### Begin DIE Stack Trace ######
2011-11-23 03:43:24: Package File Line Calling
2011-11-23 03:43:24: --------------- -------------------- ---- ----------
2011-11-23 03:43:24: 1: main rootcrs.pl 375 crsconfig_lib::dietrap
2011-11-23 03:43:24: 2: crsconfig_lib crsconfig_lib.pm 6135 main::__ANON__
2011-11-23 03:43:24: 3: crsconfig_lib crsconfig_lib.pm 6640 crsconfig_lib::set_file_perms
2011-11-23 03:43:24: 4: main rootcrs.pl 457 crsconfig_lib::run_env_setup_modules
2011-11-23 03:43:24: ####### End DIE Stack Trace #######
..
2011-11-23 03:43:24: Failed to write the checkpoint:'' with status:FAIL.Error code is 256
原因:
The problem is caused by clusterware library pointing to non-exist Vendor clusterware library, eg:
$ ls -l /oracle/app/11.2.0.3/grid/lib/libskgxn*
lrwxrwxrwx 1 grid oinstall 33 Nov 23 03:08 /oracle/app/11.2.0.3/grid/lib/libskgxn2.so -> /opt/ORCLcluster/lib/libskgxn2.so
-rwxr-xr-x 1 grid oinstall 159806 Oct 20 23:55 /oracle/app/11.2.0.3/grid/lib/libskgxnr.a
lrwxrwxrwx 1 grid oinstall 33 Nov 23 09:38 /oracle/app/11.2.0.3/grid/lib/libskgxnr.so -> /opt/ORCLcluster/lib/libskgxnr.so
$ ls -l /opt/ORCLcluster
ls: 0653-341 The file /opt/ORCLcluster does not exist.
This is caused by HACMP executable is not removed cleanly when HACMP is deinstalled. When HACMP is installed, it installs the directory /usr/sbin/cluster/utilities along with others. Oracle OUI depends on /usr/sbin/cluster/utilities/cldomain to determine if vendor clusterware exists. If yes, then a symlink of $GRID_HOME/lib/libskgxn2.so will be created pointing to /opt/ORCLcluster/lib/libskgxn2.so (so does libskgxnr.so). /opt/ORCLcluster directory is setup during rootpre.sh if vendor cluster is presented.
In this case, HACMP was first installed, then Veritas software was installed, it caused the /usr/sbin/cluster/utilities/cldomain became a symlink pointing to Veritas clusterware:
$ ls -l /usr/sbin/cluster/utilities/cldomain
lrwxrwxrwx 1 root system 29 Sep 21 13:54 /usr/sbin/cluster/utilities/cldomain -> /opt/VRTSvcs/rac/bin/cldomain
When HACMP was deinstalled later, it removed all other files but left this symlink cldomain, causing Oracle considered vendor clusterware exists and created the symlink of libskgxn2.so and libskgxnr.so during link libraries phase in OUI installation. Further leads to root.sh failure.
解決方案:
1. When deinstalling vendor clusterware, make sure all associated files are removed. In this case, remove the symlink /usr/sbin/cluster/utilities/cldomain
2. Clean up the failed GI installation via $GRID_HOME/deinstall/deinstall command or clean up manually follow DOCUMENT 1364419.1
3. Reinstall Grid Infrastructure
注:如果11.2 繼續想使用裸裝置不想解除安裝第三方叢集軟體如HACMP,可以透過如下方式來解決
scp libskgxn* grid@10.19.242.182:/grid/product/11.2.0/gridhome_1/lib/
libskgxn2.a 100% 156KB 155.9KB/s 00:00
libskgxn2.so 100% 202KB 202.5KB/s 00:00
libskgxnr.a 100% 156KB 155.9KB/s 00:00
libskgxnr.so 100% 202KB 202.5KB/s 00:00
libskgxns.a 100% 13KB 12.6KB/s 00:00
libskgxns.so 100% 14KB 13.9KB/s 00:00
[grid@sokfbcv6a] /grid/product/11.2.0/gridhome_1/lib> scp libskgxn* grid@10.19.242.184:/grid/product/11.2.0/gridhome_1/lib/
The authenticity of host '10.19.242.184 (10.19.242.184)' can't be established.
ECDSA key fingerprint is f6:39:b3:30:20:ad:d8:69:70:a9:c2:be:38:d2:f9:b9.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added '10.19.242.184' (ECDSA) to the list of known hosts.
grid@10.19.242.184's password:
libskgxn2.a 100% 156KB 155.9KB/s 00:00
scp: /grid/product/11.2.0/gridhome_1/lib//libskgxn2.so: No such file or directory ======》如果出現目錄不存,需要建目錄
libskgxnr.a 100% 156KB 155.9KB/s 00:00
scp: /grid/product/11.2.0/gridhome_1/lib//libskgxnr.so: No such file or directory
libskgxns.a 100% 13KB 12.6KB/s 00:00
libskgxns.so
在需要安裝的環境下
[root@togm1b_new] /> chown grid:oinstall /opt/ORCLcluster/lib
[root@togm1b_new] /> chown -R grid:oinstall /opt/ORCLcluster/lib
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/29446986/viewspace-1729036/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- CUSTOMER INTERFACE STATUS ERROR CODESError
- linux平臺11gR2 grid安裝到執行root.sh時報錯Linux
- 【安裝】AIX安裝單例項11gR2 GRID+DBAI單例
- Oracle:GRID 下 root.sh 指令碼Oracle指令碼
- 【Oracle】11gR2的安裝Grid執行root.sh出現ohasd failed解決方案OracleAI
- 安裝grid時如何回退root.sh
- 11gr2安裝Grid 時 node2 root.sh失敗Start of resource “ora.asm -init” failedASMAI
- Check failed: status == CUDNN_STATUS_SUCCESS (4 vs. 0) CUDNN_STATUS_INTERNAL_ERRORAIDNNError
- oracle 11gR2 RAC for linux x86_64 grid執行root.sh 失敗問題處理OracleLinux
- oracle 11gR2 rac for aix 第二個節點執行root.sh不成功問題處理OracleAI
- error log about AIXErrorAI
- root.sh Fails on the First Node for 11gR2 GI InstallationAI
- Codeforces Round #256 (Div. 2)
- 【轉】How to recover from root.sh on 11.2 Grid Infrastructure FailedASTStructAI
- 重新配置 11gR2 Grid InfrastructureASTStruct
- 解除安裝 11gR2 Grid ClusterWare
- jQuery : ajax獲取Status CodejQuery
- 11.2.0.1 Grid Infrastructure Installation Failed at .... While Running root.shASTStructAIWhile
- Error - RtlWerpReportException failed with status code :-1073741823. Will try to launch the processErrorExceptionAI
- 11gR2 rac安裝別忘記在hosts裡設定localhost,否則安裝grid執行root.sh不成功localhost
- 安裝grid時執行root.sh時的提示內容
- HTTP狀態碼->HTTP Status CodeHTTP
- HTTP狀態碼(HTTP Status Code)HTTP
- Codeforces Round #256 (Div. 2)A-D
- oracle 11gR2 grid 啟動順序圖Oracle
- grid安裝執行root.sh時Timed out waiting for the CRS stack to start - 解除安裝gridAI
- 【ERROR】OPatch failed with error code 73ErrorAI
- 你需要了解的 HTTP Status CodeHTTP
- 11gR2 RAC 使用infiniband 支援AIX 不力AI
- Error bpbrm (pid=909384) client restore EXIT STATUS 5ErrorclientREST
- rabbitMq的status報錯Error: unable to perform an operation on node ‘rabbit……MQErrorORM
- perror error codeError
- oracle 11gR2 rac for aix 5310 安裝OracleAI
- 為11gR2 Grid Infrastructure增加新的public網路ASTStruct
- How to Start 11gR2 Grid Infrastrucure in Exclusive Mode (Doc ID 1364971.1)AST
- 重新配置與解除安裝11gR2 Grid InfrastructureASTStruct
- Oracle grid 11gR2 安裝報錯PRVF-5636Oracle
- zt_Oracle 11gR2 grid infrastructure安裝配置系列OracleASTStruct