• 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
  • 相关阅读:
    转载高效的MySQL分页 枫
    [笔记]NFC笔记——WUP_REQ 和 WUP_RES 消息结构
    [笔记]NFC笔记——PSL_REQ 和 PSL_RES 消息结构
    [笔记]C语言中二级指针简单例子
    [笔记]NFC协议规范学习笔记汇总
    [笔记]C语言中预定义符 __FILE__, __LINE__, __FUNCTION__, __DATE__, __TIME__ 的使用演示
    [笔记]如何限制用户在5分钟之后才能重复同样操作
    [笔记]NFC笔记——ATR_RES 消息结构
    简单的具备自动检测行为的文本框控件
    多重AutoComplete的Textbox
  • 原文地址:https://www.cnblogs.com/lvcha001/p/13520192.html
Copyright © 2020-2023  润新知