热门标签 | HotTags
当前位置:  开发笔记 > 编程语言 > 正文

Oracle数据库使用NFS存储,启动报错提示无法锁定文件

Oracle报错信息:SQLgt;startupgt;ORA-10997:anotherstartupshutdownoperationofthisinstanceinprogressgt;ORA

Oracle报错信息: SQLgt; startup gt; ORA-10997: another startup/shutdown operation of this instance inprogress gt; ORA

Oracle报错信息:

SQL> startup

> ORA-10997: another startup/shutdown operation of this instance inprogress

> ORA-09968: unable to lock file

> Linux-x86_64 Error: 37: No locks available

> Additional information: 64

message文件报错信息:(192.168.0.200为netapp存储地址)

> Jun 6 18:21:19 eccdemo sm-notify[3707]: Unable to notify bogon, giving up

> Jun 6 18:39:18 eccdemo rpc.statd[3705]: No canonical hostname found for 192.168.0.200

> Jun 6 18:39:18 eccdemo rpc.statd[3705]: STAT_FAIL to eccdemo for SM_MON of 192.168.0.200

> Jun 6 18:39:18 eccdemo kernel: lockd: cannot monitor 192.168.0.200

> Jun 6 18:39:33 eccdemo rpc.statd[3705]: No canonical hostname found for 192.168.0.200

> Jun 6 18:39:33 eccdemo rpc.statd[3705]: STAT_FAIL to eccdemo for SM_MON of 192.168.0.200

> Jun 6 18:39:33 eccdemo kernel: lo

> ckd: cannot monitor 192.168.0.200

解决办法:

按照oracle官方文档,需要增加挂载参数

mount -t nfs -o rw,bg,hard,rsize=32768,wsize=32768,vers=3,nointr,timeo=600,tcp,actimeo=0 192.168.0.200:/vol/oraclenfs /oracle

具体挂载参数需要参考官方文档,每个版本是不一样的。

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

  • nfsvers and vers are identical on those OS platforms that has nfsvers. The ver option is an alternative to the nfsvers option. It is included for compatibility with other operating systems

  • Please note that the mount options on each of the following cells are applicable only to those type of files listed in the column heading.

  • For RMAN backup sets, image copies, and Data Pump dump files, the "NOAC" mount option should not be specified - that is because RMAN and Data Pump do not check this option and specifying this can adversely affect performance.

  • 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

    Windows Not Supported Not Supported Not Supported

    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,actimeo=0,
    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,noac,vers=3,
    timeo=600,actimeo=0

    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,actimeo=0

    * 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
    **** As per BUG 11812928, the 'intr' & 'nointr' are deprecated in OEL 5.6 kernels and up including Oracle Linux 6. It is harmless to still include it, but the "NFS: ignoring mount option: nointr" will appears. This message can be ingnored.


    # 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, forcedirectio

    Windows Not Supported Not Supported

    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,actimeo=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,actimeo=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


    推荐阅读
    • 本文讨论了在数据库打开和关闭状态下,重新命名或移动数据文件和日志文件的情况。针对性能和维护原因,需要将数据库文件移动到不同的磁盘上或重新分配到新的磁盘上的情况,以及在操作系统级别移动或重命名数据文件但未在数据库层进行重命名导致报错的情况。通过三个方面进行讨论。 ... [详细]
    • Skywalking系列博客1安装单机版 Skywalking的快速安装方法
      本文介绍了如何快速安装单机版的Skywalking,包括下载、环境需求和端口检查等步骤。同时提供了百度盘下载地址和查询端口是否被占用的命令。 ... [详细]
    • 一、Hadoop来历Hadoop的思想来源于Google在做搜索引擎的时候出现一个很大的问题就是这么多网页我如何才能以最快的速度来搜索到,由于这个问题Google发明 ... [详细]
    • 学习SLAM的女生,很酷
      本文介绍了学习SLAM的女生的故事,她们选择SLAM作为研究方向,面临各种学习挑战,但坚持不懈,最终获得成功。文章鼓励未来想走科研道路的女生勇敢追求自己的梦想,同时提到了一位正在英国攻读硕士学位的女生与SLAM结缘的经历。 ... [详细]
    • 本文介绍了数据库的存储结构及其重要性,强调了关系数据库范例中将逻辑存储与物理存储分开的必要性。通过逻辑结构和物理结构的分离,可以实现对物理存储的重新组织和数据库的迁移,而应用程序不会察觉到任何更改。文章还展示了Oracle数据库的逻辑结构和物理结构,并介绍了表空间的概念和作用。 ... [详细]
    • 本文介绍了在Hibernate配置lazy=false时无法加载数据的问题,通过采用OpenSessionInView模式和修改数据库服务器版本解决了该问题。详细描述了问题的出现和解决过程,包括运行环境和数据库的配置信息。 ... [详细]
    • Metasploit攻击渗透实践
      本文介绍了Metasploit攻击渗透实践的内容和要求,包括主动攻击、针对浏览器和客户端的攻击,以及成功应用辅助模块的实践过程。其中涉及使用Hydra在不知道密码的情况下攻击metsploit2靶机获取密码,以及攻击浏览器中的tomcat服务的具体步骤。同时还讲解了爆破密码的方法和设置攻击目标主机的相关参数。 ... [详细]
    • 本文介绍了在Win10上安装WinPythonHadoop的详细步骤,包括安装Python环境、安装JDK8、安装pyspark、安装Hadoop和Spark、设置环境变量、下载winutils.exe等。同时提醒注意Hadoop版本与pyspark版本的一致性,并建议重启电脑以确保安装成功。 ... [详细]
    • 知识图谱——机器大脑中的知识库
      本文介绍了知识图谱在机器大脑中的应用,以及搜索引擎在知识图谱方面的发展。以谷歌知识图谱为例,说明了知识图谱的智能化特点。通过搜索引擎用户可以获取更加智能化的答案,如搜索关键词"Marie Curie",会得到居里夫人的详细信息以及与之相关的历史人物。知识图谱的出现引起了搜索引擎行业的变革,不仅美国的微软必应,中国的百度、搜狗等搜索引擎公司也纷纷推出了自己的知识图谱。 ... [详细]
    • 本文详细介绍了Linux中进程控制块PCBtask_struct结构体的结构和作用,包括进程状态、进程号、待处理信号、进程地址空间、调度标志、锁深度、基本时间片、调度策略以及内存管理信息等方面的内容。阅读本文可以更加深入地了解Linux进程管理的原理和机制。 ... [详细]
    • Webmin远程命令执行漏洞复现及防护方法
      本文介绍了Webmin远程命令执行漏洞CVE-2019-15107的漏洞详情和复现方法,同时提供了防护方法。漏洞存在于Webmin的找回密码页面中,攻击者无需权限即可注入命令并执行任意系统命令。文章还提供了相关参考链接和搭建靶场的步骤。此外,还指出了参考链接中的数据包不准确的问题,并解释了漏洞触发的条件。最后,给出了防护方法以避免受到该漏洞的攻击。 ... [详细]
    • 本文介绍了Linux系统中正则表达式的基础知识,包括正则表达式的简介、字符分类、普通字符和元字符的区别,以及在学习过程中需要注意的事项。同时提醒读者要注意正则表达式与通配符的区别,并给出了使用正则表达式时的一些建议。本文适合初学者了解Linux系统中的正则表达式,并提供了学习的参考资料。 ... [详细]
    • Ubuntu 9.04中安装谷歌Chromium浏览器及使用体验[图文]
      nsitionalENhttp:www.w3.orgTRxhtml1DTDxhtml1-transitional.dtd ... [详细]
    • 如何在服务器主机上实现文件共享的方法和工具
      本文介绍了在服务器主机上实现文件共享的方法和工具,包括Linux主机和Windows主机的文件传输方式,Web运维和FTP/SFTP客户端运维两种方式,以及使用WinSCP工具将文件上传至Linux云服务器的操作方法。此外,还介绍了在迁移过程中需要安装迁移Agent并输入目的端服务器所在华为云的AK/SK,以及主机迁移服务会收集的源端服务器信息。 ... [详细]
    • 全面介绍Windows内存管理机制及C++内存分配实例(四):内存映射文件
      本文旨在全面介绍Windows内存管理机制及C++内存分配实例中的内存映射文件。通过对内存映射文件的使用场合和与虚拟内存的区别进行解析,帮助读者更好地理解操作系统的内存管理机制。同时,本文还提供了相关章节的链接,方便读者深入学习Windows内存管理及C++内存分配实例的其他内容。 ... [详细]
    author-avatar
    c_陈可儿
    这个家伙很懒,什么也没留下!
    PHP1.CN | 中国最专业的PHP中文社区 | DevBox开发工具箱 | json解析格式化 |PHP资讯 | PHP教程 | 数据库技术 | 服务器技术 | 前端开发技术 | PHP框架 | 开发工具 | 在线工具
    Copyright © 1998 - 2020 PHP1.CN. All Rights Reserved | 京公网安备 11010802041100号 | 京ICP备19059560号-4 | PHP1.CN 第一PHP社区 版权所有