redhat5.4安装好oracle10gR2以后用DBCA创建数据库,报如下错误:
ORA-00600: internal error code, arguments: [keltnfy-ldmInit], [46], [1], [], [], [], [], []
ERROR:
ORA-03114: not connected to ORACLE
经询问和网上查找以后,发现是hostname的问题:
[root@bogon ~]# hostname
bogon
[root@bogon ~]# less /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
[root@bogon ~]# less /etc/sysconfig/network
NETWORKING=yes
NETWORKING_IPV6=no
HOSTNAME=localhost.localdomain
此处/etc/hosts与/etc/sysconfig/network中的hostname与用命令查处的hostname不一致,导致oracle认为找不到主机。
将2个文件更改以后重启建库,问题解决。
[root@bogon ~]# cat /etc/hosts
# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1 bogon localhost
::1 localhost6.localdomain6 localhost6
[root@bogon ~]# cat /etc/sysconfig/network
NETWORKING=yes
NETWORKING_IPV6=no
HOSTNAME=bogon
[root@bogon ~]# hostname
bogon
ORA-00600: internal error code, arguments: [keltnfy-ldmInit], [46], [1], [], [], [], [], []
ERROR:
ORA-03114: not connected to ORACLE
经询问和网上查找以后,发现是hostname的问题:
[root@bogon ~]# hostname
bogon
[root@bogon ~]# less /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
[root@bogon ~]# less /etc/sysconfig/network
NETWORKING=yes
NETWORKING_IPV6=no
HOSTNAME=localhost.localdomain
此处/etc/hosts与/etc/sysconfig/network中的hostname与用命令查处的hostname不一致,导致oracle认为找不到主机。
将2个文件更改以后重启建库,问题解决。
[root@bogon ~]# cat /etc/hosts
# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1 bogon localhost
::1 localhost6.localdomain6 localhost6
[root@bogon ~]# cat /etc/sysconfig/network
NETWORKING=yes
NETWORKING_IPV6=no
HOSTNAME=bogon
[root@bogon ~]# hostname
bogon
来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/22745099/viewspace-625171/,如需转载,请注明出处,否则将追究法律责任。
转载于:http://blog.itpub.net/22745099/viewspace-625171/