copy了一台虚拟机,启动oracle的时候提示
ORA-00600: internal error code, arguments: [keltnfy-ldmInit], [46], [1], [], [], [], [], []
这是因为hostname 和/etc/hosts不一致造成的
# more /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
hosts文件说明
#第一部份:网络IP地址;
#第二部份:主机名或域名;
#第三部份:主机名别名;
# hostname
[oracle@resourceintf bin]$ sqlplus / as sysdba
SQL*Plus: Release 10.2.0.1.0 - Production on Thu Sep 27 15:12:50 2012
Copyright (c) 1982, 2005, Oracle. All rights reserved.
Connected to an idle instance.
SQL> startup
ORACLE instance started.
Total System Global Area 1895825408 bytes
Fixed Size 2021696 bytes
Variable Size 889194176 bytes
Database Buffers 989855744 bytes
Redo Buffers 14753792 bytes
Database mounted.
Database opened.
ORA-00600: internal error code, arguments: [keltnfy-ldmInit], [46], [1], [], [], [], [], []
这是因为hostname 和/etc/hosts不一致造成的
# more /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
hosts文件说明
#第一部份:网络IP地址;
#第二部份:主机名或域名;
#第三部份:主机名别名;
直接在上面的文件里追加
127.0.0.1 resourceintf(hostname的值)
不要删除127.0.0.1 localhost.localdomain localhost
否则listener.ora里面用了localhost,启动的时候会提示
TNS-12537: TNS:connection closed
TNS-12560: TNS:protocol adapter error
TNS-00507: Connection closed
Linux Error: 29: Illegal seek
# hostname
resourceintf
# vi /etc/hosts
重新启动oracle
# su oracle[oracle@resourceintf bin]$ sqlplus / as sysdba
SQL*Plus: Release 10.2.0.1.0 - Production on Thu Sep 27 15:12:50 2012
Copyright (c) 1982, 2005, Oracle. All rights reserved.
Connected to an idle instance.
SQL> startup
ORACLE instance started.
Total System Global Area 1895825408 bytes
Fixed Size 2021696 bytes
Variable Size 889194176 bytes
Database Buffers 989855744 bytes
Redo Buffers 14753792 bytes
Database mounted.
Database opened.
本文介绍了解决Oracle数据库启动时遇到的ORA-00600内部错误的方法。此错误通常由hostname与/etc/hosts文件中记录的主机名不一致引起。文章提供了修改/etc/hosts文件的具体步骤,以确保hostname与该文件中定义的一致,并给出了重启Oracle服务后的成功示例。
345

被折叠的 条评论
为什么被折叠?



