昨天才装的数据库,今天一起就报错:
[oracle@oel5 ~]$ sqlplus '/as sysdba'
SQL*Plus: Release 10.2.0.1.0 - Production on Wed Aug 29 13:35:23 2012
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], [], [], [], [], []
SQL>
在网上查了一下,是因为主机名的问题。但我仔细想了一下,也没有改过主机名。
最后找到解决问题的办法:
编辑/etc/hosts文件:
# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1 centos localhost.localdomain localhost
::1 localhost6.localdomain6 localhost6
192.168.0.84 oel5 ######添加这一行
至于为什么这样,我没理解。
如果你修改了主机名,一定要在/etc/sysconfig/network和/etc/hosts两个文件都做修改。