ORA-27054错误解决两例

php中文网
发布: 2016-06-07 16:50:10
原创
1380人浏览过

在Linux系统下,将另一台aix机器上的存储mount到linux下通过nfs,然后在linux下使用expdp导出数据存储在mount到linux下的磁盘上报错

在linux系统下,将另一台aix机器上的存储mount到linux下通过nfs,然后在linux下使用expdp导出数据存储在mount到linux下的磁盘上报错

ORA-27054: NFS file system where the file is created or resides is not mounted with correct options

Additional information: 6

解决访问

Alter system set events '10298 trace name context forever,level 32'

执行这个命令,不需要重新启动,但在下次数据库重新启动后就失效了,需要再次手工执行。

如果想数据库重新启动后,自动执行这个命令,则执行下面的命令:

SQL>alter system set event='10298 trace name context forever,level 32' scope=spfile;

--------------------------------------------------------------------------------

Linux-6-64下安装Oracle 12C笔记

在CentOS 6.4下安装Oracle 11gR2(x64)

Oracle 11gR2 在VMWare虚拟机中安装步骤

Debian 下 安装 Oracle 11g XE R2

--------------------------------------------------------------------------------

-------------------------------另一例-------------------------------

今天在虚拟机环境下做实验,在将RAC环境修改为flashback on时,报出了ORA-27054错误,错误代码如下:

Errors in file /u01/app/oracle/admin/racdb/udump/racdb2_ora_25551.trc:
ORA-38701: Flashback database log 2 seq 1 thread 2: "/u01/flashback/RACDB/flashback/o1_mf_%u_.flb"
ORA-27054: NFS file system where the file is created or resides is not mounted with correct options

从错误描述可以看出,闪回目录是通过nfs文件系统来实现的,而系统挂载nfs时,采用了错误的参数选项,导致oracle报错。上网查资料,通过文档359515.1顺利解决问题。整理部分内容如下:

趣问问AI
趣问问AI

免费可用的国内版chat,AI写作和AI对话

趣问问AI 91
查看详情 趣问问AI
RAC 

In the table below

Binaries is the shared mount points where the Oracle Home and CRS_HOME is installed.

  • Datafiles includes Online Logs, Controlfile and Datafiles
  • Operating System

    Mount options for Binaries Mount options for Oracle Datafiles Mount options for CRS Voting Disk and OCR

    Sun Solaris *

    rw,bg,hard,nointr,rsize=32768,
    wsize=32768,proto=tcp,
    noac,vers=3,suid

    rw,bg,hard,nointr,rsize=32768,
    wsize=32768,proto=tcp,noac,
    forcedirectio, vers=3,suid rw,bg,hard,nointr,rsize=32768,
    wsize=32768,proto=tcp,vers=3,
    noac,forcedirectio

    AIX (5L) **

    rw,bg,hard,nointr,rsize=32768,
    wsize=32768,proto=tcp,vers=3,
    timeo=600

    cio,rw,bg,hard,nointr,rsize=32768,
    wsize=32768,proto=tcp,noac,
    vers=3,timeo=600

    cio,rw,bg,hard,intr,rsize=32768,
    wsize=32768,tcp,noac,
    vers=3,timeo=600

    HPUX 11.23 **** – rw,bg,vers=3,proto=tcp,noac,
    hard,nointr,timeo=600,
    rsize=32768,wsize=32768,suid rw,bg,vers=3,proto=tcp,noac,
    forcedirectio,hard,nointr,timeo=600,
    rsize=32768,wsize=32768,suid rw,bg,vers=3,proto=tcp,noac,
    forcedirectio,hard,nointr,timeo=600
    ,rsize=32768,wsize=32768,suid

    Linux x86
    #

    rw,bg,hard,nointr,rsize=32768,
    wsize=32768,tcp, vers=3,
    timeo=600, actimeo=0

    rw,bg,hard,nointr,rsize=32768,
    wsize=32768,tcp,actimeo=0,
    vers=3,timeo=600

    rw,bg,hard,nointr,rsize=32768,
    wsize=32768,tcp,noac,vers=3,
    timeo=600

    Linux x86-64 # rw,bg,hard,nointr,rsize=32768,
    wsize=32768,tcp,vers=3,
    timeo=600, actimeo=0 rw,bg,hard,nointr,rsize=32768,
    wsize=32768,tcp,actimeo=0,
    vers=3,timeo=600 rw,bg,hard,nointr,rsize=32768,
    wsize=32768,tcp,vers=3,
    timeo=600,noac

    Linux – Itanium rw,bg,hard,nointr,rsize=32768,
    wsize=32768,tcp,vers=3,
    timeo=600, actimeo=0 rw,bg,hard,nointr,rsize=32768,
    wsize=32768,tcp,actimeo=0,
    vers=3,timeo=600 rw,bg,hard,nointr,rsize=32768,
    wsize=32768,tcp,noac,vers=3,
    timeo=600

    * NFS mount option “forcedirectio” is required on Solaris platforms when mounting the OCR/CRS files when using Oracle 10.1.0.4 or 10.2.0.2 or later (Oracle unpublished bug 4466428)
    ** AIX is only supported with NAS on AIX 5.3 TL04 and higher with Oracle 10.2.0.1 and later (NetApp)
    *** NAS devices are only supported with HPUX 11.23 or higher ONLY

    # These mount options are for Linux kernels 2.6 and above for older kernels please check Note 279393.1

    Due to Unpublished bug 5856342, it is necessary to use the following init.ora parameter when using NAS
    with all versions of RAC on Linux (x86 & X86-64 platforms) until 10.2.0.4. This bug is fixed and included in 10.2.0.4 patchset.
    filesystemio_options = DIRECTIO

    Single Instance

    Operating System

    Mount options for Binaries Mount options for Oracle Datafiles

    Sun Solaris *
    (8, 9, 10)

    rw,bg,hard,rsize=32768,
    wsize=32768,vers=3,nointr,
    proto=tcp,suid

    rw,bg,hard,rsize=32768,
    wsize=32768,vers=3,[forcedirectio or llock],
    nointr,proto=tcp,suid

    AIX (5L) **

    rw,bg,hard,rsize=32768,
    wsize=32768,vers=3,intr,
    timeo=600,proto=tcp

    rw,bg,hard,rsize=32768,
    wsize=32768,vers=3,cio,intr,
    timeo=600,proto=tcp

    HPUX 11.23 **** rw,bg,hard,rsize=32768,
    wsize=32768,vers=3,nointr,
    timeo=600,proto=tcp,suid rw,bg,hard,rsize=32768,
    wsize=32768,vers=3,nointr,
    timeo=600,proto=tcp,suid

    Linux x86
    # rw,bg,hard,rsize=32768,
    wsize=32768,vers=3,nointr,
    timeo=600,tcp rw,bg,hard,rsize=32768,
    wsize=32768,vers=3,nointr,
    timeo=600,tcp,actime=0*

    Linux x86-64 # rw,bg,hard,rsize=32768,
    wsize=32768,vers=3,nointr,
    timeo=600,tcp rw,bg,hard,rsize=32768,
    wsize=32768,vers=3,nointr,
    timeo=600,tcp,actime=0*

    Linux – Itanium rw,bg,hard,rsize=32768,
    wsize=32768,vers=3,nointr,
    timeo=600,tcp rw,bg,hard,rsize=32768,
    wsize=32768,vers=3,nointr,
    timeo=600,tcp

    * actime=0 or noac can be used

    参照上文,修改mount参数如下:

    最佳 Windows 性能的顶级免费优化软件
    最佳 Windows 性能的顶级免费优化软件

    每个人都需要一台速度更快、更稳定的 PC。随着时间的推移,垃圾文件、旧注册表数据和不必要的后台进程会占用资源并降低性能。幸运的是,许多工具可以让 Windows 保持平稳运行。

    下载
    来源:php中文网
    本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系admin@php.cn
    最新问题
    开源免费商场系统广告
    热门教程
    更多>
    最新下载
    更多>
    网站特效
    网站源码
    网站素材
    前端模板
    关于我们 免责申明 举报中心 意见反馈 讲师合作 广告合作 最新更新
    php中文网:公益在线php培训,帮助PHP学习者快速成长!
    关注服务号 技术交流群
    PHP中文网订阅号
    每天精选资源文章推送

    Copyright 2014-2025 https://www.php.cn/ All Rights Reserved | php.cn | 湘ICP备2023035733号