Chinaunix首页 | 论坛 | 博客
  • 博客访问: 217617
  • 博文数量: 57
  • 博客积分: 1376
  • 博客等级: 中尉
  • 技术积分: 658
  • 用 户 组: 普通用户
  • 注册时间: 2010-05-09 09:51
文章分类

全部博文(57)

文章存档

2012年(1)

2011年(56)

分类: Oracle

2011-02-26 21:16:02

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], [], [], [], [], []

阅读(2290) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~