• 静默安装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

  • 相关阅读:
    [Typescript Challenges] 1. Easy Pick
    [Typescript Challenges] 5. Easy Length of Tuple
    AcWing 903. 昂贵的聘礼
    AcWing 1126. 最小花费
    AcWing 1127 香甜的黄油
    AcWing 1128. 信使
    AcWing 340. 通信线路
    AcWing 920. 最优乘车
    AcWing 1135. 新年好
    当你不再需要通过别人的认可来证明自己的时候,你就真的强大了。
  • 原文地址:https://www.cnblogs.com/chuanzhang053/p/8716740.html
Copyright © 2020-2023  润新知