oracle12c安装报错:PRVF-0002的解决方法

网络编程 2021-07-05 16:08www.168986.cn编程入门
本文为大家介绍下如何解决oracle12c安装报错PRVF-0002,具体的排查思路如下,有类似情况的朋友可以参考下
./runInstaller

启动图形化报错

PRVF-0002 : Could not retrieve local nodename.

查看了一下报错信息

[root@test68 OraInstall2013-09-06_04-43-39AM]# cat installActions2013-09-06_04-43-39AM.log

后几行报错

SEVERE: [FATAL] PRVF-0002 : Could not retrieve local nodename.
Refer associated stacktrace #oracle.install.mons.util.exception.DefaultErrorAdvisor:37
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 12c Release 1 Installer

猜测是找不到主机名的对应ip

修改了下/etc/hosts

127.0.0.1 localhost.localdomain localhosttest68
::1 localhost6.localdomain6 localhost6 test68
10.0.5.68 test68

再运行就OK了

Copyright © 2016-2025 www.168986.cn 狼蚁网络 版权所有 Power by