ACFS启动报错acfsload start line 42: /lib/acfstoolsdriver.sh: No such file or directory

测试环境Oracle 11.2.0.4 想测试ACFS文件系统执行如下命令报错:

[root@wsgwa1 ~]# /u01/app/11.2.0/grid/bin/acfsload start 
/u01/app/11.2.0/grid/bin/acfsload: line 42: /lib/acfstoolsdriver.sh: No such file or directory
/u01/app/11.2.0/grid/bin/acfsload: line 42: exec: /lib/acfstoolsdriver.sh: cannot execute: No such file or directory

匹配MOS

acfsload fails with /lib/acfstoolsdriver.sh: No such file or directory (Doc ID 1908430.1)    
Oracle Database - Enterprise Edition - Version 11.2.0.4 and later

SYMPTOMS
11.2.0.4.2 oracle restart environment.
Trying to load acfs driver throws below error 

# <Grid Infrastructure home>/bin/acfsload
<Grid Infrastructure home>/bin/acfsload: line 42: /lib/acfstoolsdriver.sh: No such file or directory
<Grid Infrastructure home>bin/acfsload: line 42: exec: /lib/acfstoolsdriver.sh: cannot execute: No such file or directory
and if I copy the file to destination , then also bellow files
/bin/clsecho, /bin/clsecho.bin, /perl/bin/perl 
I copy these file from DB_HOME or GRID_HOME, then 
acfsload start -s
ACFS-9125: ADVM/ACFS is not supported on this OS: 'Linux'

 

You see the acfs driver is supported and installed but not loaded:

[root@test~]# uname -a
Linux test 2.6.39-400.17.1.el6uek.x86_64 #1 SMP Fri Feb 22 18:16:18 PST 2013 x86_64 x86_64 x86_64 GNU/Linux
[root@test~]# acfsdriverstate installed
ACFS-9203: true
[root@test~]# acfsdriverstate version
ACFS-9325: Driver OS kernel version = 2.6.39-400.3.0.el6uek.x86_64(x86_64).
ACFS-9326: Driver Oracle version = 130707.
[root@test~]# acfsdriverstate supported
ACFS-9200: Supported
[root@test~]# acfsdriverstate loaded
ACFS-9204: false

CAUSE
Script file $ORACLE_HOME/lib/acfstoolsdriver.sh is being called in $ORACLE_HOME/bin/acfsload
And acfsload script , the ORACLE_HOME path is unable to resolve to correct path as the environment variable ORA_CRS_HOME is not set
Edit  file  $ORACLE_HOME/bin/acfsload  to make below change in first like
From
---------
ORA_CRS_HOME=%ORA_CRS_HOME%
To:
------
ORA_CRS_HOME=<full path of $ORACLE_HOME>
Note: Please consult Oracle support before making any change with these scripts.

vi /u01/app/11.2.0/grid/bin/acfsload 
#ORA_CRS_HOME=%ORA_CRS_HOME%
ORA_CRS_HOME=/u01/app/11.2.0/grid

 

posted @ 2020-08-17 21:24  绿茶有点甜  阅读(546)  评论(0)    收藏  举报