[oracle@rhel6 dbs]$ sqlplus /nolog
- SQL*Plus: Release 10.2.0.1.0 - Production on Sat Aug 20 13:59:05 2011
- Copyright (c) 1982, 2005, Oracle. All rights reserved.
- SQL> conn / as sysdba
- Connected to an idle instance.
- SQL> startup nomount
- ORA-00600: internal error code, arguments: [keltnfy-ldmInit], [46], [1], [], [], [], [], []
- SQL> exit
- Disconnected
- [oracle@rhel6 dbs]$
[oracle@rhel6 dbs]$ sqlplus /nolog
SQL*Plus: Release 10.2.0.1.0 - Production on Sat Aug 20 13:59:05 2011
Copyright (c) 1982, 2005, Oracle. All rights reserved.
SQL> conn / as sysdba
Connected to an idle instance.
SQL> startup nomount
ORA-00600: internal error code, arguments: [keltnfy-ldmInit], [46], [1], [], [], [], [], []
SQL> exit
Disconnected
[oracle@rhel6 dbs]$
产生这个问题的根本原因是服务器hostname没有正确配置,通过hostname命令得到的主机名无法ping通,Oracle10g认为主机无法达到所以启动数据库报错。
解决方法:将hostname添加到/etc/hosts文件中,重新启动数据库。
如我的服务器名是redhat1,则我在/etc/hosts中加入
[root@redhat1 ~]# vi /etc/hosts
# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1 localhost.localdomain localhost
::1 localhost6.localdomain6 localhost6
192.168.137.2 redhat1
hostname=rhel6
重启数据库,OK 了