Monday 13 April 2015

PRVF-0002 : Could not retrieve local nodename


Link which say's
-------------------

http://docs.oracle.com/cd/E11882_01/server.112/e17766/prvfmsg.htm
PRVF-00002: Could not retrieve local nodename 
Cause: Unable to determine local host name using Java network functions. 
Action: Ensure that hostname is defined correctly using the 'hostname' command
 
 
Issue:

While Oracle 12c Installation on Linux (my case Redhat Linux 6 update 4) you could get an error.

Solution 1:

You have not mentioned complete hostname ,just half ,please provide
fully qualified name .

1. check hostname:
cat /etc/sysconfig/network | grep HOSTNAME
HOSTNAME = test.localdomain

2. check hosts:
cat /etc/hosts
127.0.0.1   localhost localhost.localdomain localhost4 localhost4.localdomain4
::1         localhost localhost.localdomain localhost6 localhost6.localdomain6


3. change /etc/hosts like:
127.0.0.1 test test.localdomain
::1 test test.localdomain


4. Run installer

Solution 2:

1. setup system variable like

$ ORACLE_HOSTNAME=test.localdomain
$ export ORACLE_HOSTNAME
 

1 comment: