This content has been marked as final. Show 6 replies
ORACLE_HOSTNAME is an environment variable. Check your .profile (.bash_profile etc) and see if its being set there. echo $ORACLE_HOSTNAME to se what its set to currently. My bet is that $ORACLE_HOSTNAME is being set somewhere in your environment and simply needs changing to be correct;
I know this as when I was following the www.ORACLE-BASE.com 11g RAC install I used their profile and missed the fact that it was setting ORACLE_HOSTNAME to RAC1!!!!
Let me know how you get on!
Thanks for your reply. I appreciate it.
So far no entries for ORACLE_HOSTNAME in my .bash_profile. No ORACLE_HOST_NAME variable set.
I'm using oracle Enterprise Linux 5.5.
Any other clue?
...Ok - so its not set; then set the environment variable to be your servername before installing; and set it in the .bash_profile on each node;
For example, check out http://www.oracle-base.com/articles/11g/OracleDB11gR2RACInstallationOnOEL5UsingVMwareServer2.php#install_grid_infrastructure
"Login as the oracle user and add the following lines at the end of the .bash_profile file.
# Oracle Settings
TMP=/tmp; export TMP
TMPDIR=$TMP; export TMPDIR
*ORACLE_HOSTNAME=rac1.localdomain; export ORACLE_HOSTNAME*
ORACLE_UNQNAME=RAC; export ORACLE_UNQNAME
Thanks Bob for your insights.
It works after configuring the correct naming conventions from /etc/local/hosts.
This is a Reverse ARP lookup error
You need to have have an r-arp entry in DNS for the host you are installing on to resolve this issue
I think should not uset ORACLE_HOSTNAME.for this you can unset ORACLE_HOSTNAME