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!
...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