zoukankan      html  css  js  c++  java
  • 静默安装oracle 11g,环境预检查时报错,SEVERE: [FATAL] PRVF-0002 : 无法检索本地节点名

    环境描述:

      操作系统:Redhat 6.6_x64

      oracle:11.2.0.4 x64

    问题描述

      今天在安装oracle 11g的数据库,在进行预安装环境检查的时候,报下面的错误:

    [oracle@host-10-245-41-38 ~]$ cd ~/database/;./runInstaller -executePrereqs -silent -responseFile ~/db_install.rsp
    正在启动 Oracle Universal Installer...
    
    检查临时空间: 必须大于 120 MB。   实际为 9416 MB    通过
    检查交换空间: 必须大于 150 MB。   实际为 65535 MB    通过
    准备从以下地址启动 Oracle Universal Installer /tmp/OraInstall2018-04-04_06-47-44PM. 请稍候...[oracle@host-10-245-41-38 database]$ [FATAL] PRVF-0002 : 无法检索本地节点名

    问题分析

    1.检查安装时生成的后台日志

    INFO: Setting value for the property:platformcmdmap in the bean:configcmd
    INFO: Setting value for the property:id in the bean:configcmd
    INFO: Setting value for the property:platformcmdmap in the bean:configcmd
    INFO: Setting value for the property:configcmds in the bean:configcmdmappings
    SEVERE: [FATAL] PRVF-0002 : 无法检索本地节点名.
    Refer associated stacktrace #oracle.install.commons.util.exception.DefaultErrorAdvisor:35
    INFO: Advice is ABORT
    SEVERE: Unconditional Exit
    INFO: Adding ExitStatus FAILURE to the exit status set
    INFO: Finding the most appropriate exit status for the current application
    INFO: Exit Status is -1
    INFO: Shutdown Oracle Database 11g 发行版 2 安装程序

    备注:也是同样的无法检索本地节点名字。所以,怀疑和hosts的配置有关系。

    问题解决

    1.将IP地址与主机名的映射写入到/etc/hosts文件中

    [root@host-10-245-41-38 ~]# cat /etc/hosts
    127.0.0.1     localhost localhost.localdomain localhost4 localhost4.localdomain4
    ::1           localhost localhost.localdomain localhost6 localhost6.localdomain6
    10.245.41.38  host-10-245-41-38   #在/etc/hosts文件中,增加此配置。

    2.重启动,安装环境预检查程序,正常。问题解决。

    文档创建时间:2018年4月4日13:23:28

  • 相关阅读:
    chrome headless+selenium+python+(ubuntu 16.04/centos7) 下的实现
    selenium + phantomJS 常用方法总结
    Rabbitmq consumer端超时报错
    python 守护进程
    如何在GitBook中使用Git管理
    Java#Spring框架下注解解析
    Linux 之Ubuntu在VM中安装(桌面版)
    Linux----Ubuntu虚拟机(VMWare)学习
    Python tuple元组学习
    Python 编解码
  • 原文地址:https://www.cnblogs.com/chuanzhang053/p/8716740.html
Copyright © 2011-2022 走看看