环境描述:

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

最新文章

  1. .net线程池内幕
  2. 制作简单的2D物理引擎(一)——动力学基础
  3. Hadoop 之Impala
  4. 在VS中快速查看文件被谁签出
  5. [ASP.NET]SQL Server 连接字符串和身份验证
  6. tomcat之JNDI数据源配置
  7. haproxy之负载均衡算法
  8. 转:Selenium2.0 click()不生效的解决办法
  9. MYSQL安装(Linux)
  10. PHP headers_sent() 函数
  11. 记录PHP的执行时间
  12. Spring学习之旅(六)Spring AOP工作原理初探
  13. vue引入第三方的js文件
  14. 用C#实现多种方式播放Wav声音
  15. LeetCode OJ 215. Kth Largest Element in an Array
  16. VS2008 试图运行未注册64位调试器组件
  17. 深入理解Java接口和抽象类
  18. Python 开发
  19. 【转载】 深度学习与自然语言处理(1)_斯坦福cs224d Lecture 1
  20. 命令神器:lsof 常用

热门文章

  1. zookeeper 安装 配置集群
  2. python(31) enumerate 的用法
  3. python2 UnicodeDecodeError: 'ascii' codec can't decode byte 0xce in position 7: ordinal not in range(128)
  4. ASP.NET MVC4企业级实战目录
  5. 一款纯css3实现的超炫动画背画特效
  6. 【WPF】C#代码动态改变控件的样式
  7. http://blog.csdn.net/beitiandijun/article/details/41678251
  8. Apache HttpComponents 文件上传例子
  9. HTML——表单与锚点
  10. iOS- 如何将应用集成发短信、发邮件、打电话