While install oracle 10g on CentOS 5.4, I met a problem. Installation hang at 65%, it seems that related with “ons.config.tmp”.
After checking the error log of installation in$ORACLE_BASE/oraInventory/logs(/opt/oracle/oraInventory/logs is in my case), I found tons of this message:
“Caught UnknownHostException: bogon: bogon”
I guess this may cause by the hostname issue, so issue hostname
[oracle@localhost logs]$ hostname
bogon
After change hostname to localhost from bogon as root, problem seems to be resolved.
[root@localhost logs]# hostname localhost
[root@localhost logs]# hostname
localhost
After change hostname, the installation process pass very quickly.
I have check in document..
[oracle@localhost conf]$ pwd
/opt/oracle/102/opmn/conf
It says that, 3 parameters(localport, remoteport, nodes) should always in the file, but after check mine ons.config, I can’t see nodes parameter in this file.And only this parameter related with hostname.
[oracle@localhost conf]$ cat ons.config
localport=6199
remoteport=6248
loglevel=3
What’s wrong? I can’t find a answer right now, but change hostname may be a solution for this problem.
---------------updated-----------------——
It’s possible that VMWare will automated change host name to bogon and the workaround will be add “hostname localhost” the end of /etc/sysconfig/network, so that host name will not always change to bogon when you reboot the centos.
Note: this hostname issue will cause an error while you’re trying to startup the database:
[oracle@bogon ~]$ sqlplus / as sysdba
SQL*Plus: Release 10.2.0.1.0 – Production on Tue Oct 19 20:28:14 2010
Copyright (c) 1982, 2005, Oracle. All rights reserved.
Connected to an idle instance.
SQL> startup
ORA-00600: internal error code, arguments: [keltnfy-ldmInit], [46], [1], [], [], [], [], []