静默安装oracle 11g,环境预检查时报错,SEVERE: [FATAL] PRVF-0002 : 无法检索本地节点名...

本文介绍在Redhat6.6_x64环境下安装Oracle11g时遇到的预安装环境检查错误[FATAL]PRVF-0002,并提供了解决方案,即通过修改/etc/hosts文件来解决无法检索本地节点名的问题。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

环境描述:

  操作系统: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

转载于:https://www.cnblogs.com/chuanzhang053/p/8716740.html

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值