场景:
启动数据库的之后,alter出现了如下错误 :
Errors in file /arp/oraarp/admin/arpdb/udump/arpdb_ora_10338.trc:
ORA-00600: internal error code, arguments: [keltnfy-ldmInit], [46], [1], [], [], [], [], []
USER: terminating instance due to error 600
Instance terminated by USER, pid = 10338
解决方法:
一般来说,就是hosts文件被别人动了,我这里的问题就是hosts被改过了。如下:
cat /etc/hosts
127.0.0.1 localhost
然后,我修改成127.0.0.1 localhost.localdomain localhost,数据库就正常启动了
以下是官方给予的其他可能出现的问题。
-
Check permission on /etc/hosts
$ ls -l /etc/hosts
-rw-r--r-- 2 root root 194 Oct 17 2006 /etc/hosts
-
Check if /etc/hosts file is correctly configured
( all of this on one line ).
-
Check the hostname:
$ hostname
$ ping `hostname`
$ ping `hostname`
-
If you have DNS setup, ping is not a tool to diagnose DNS problem. A better tool to use is nslookup, dnsquery, or dig.
$ nslookup
$ nslookup
$ nslookup
$ nslookup
$ nslookup
-
Check nsswitch.conf
$ more nsswitch.conf
hosts: files dns
hosts: files dns