ORA-27125: unable to create shared memory segment
ORA-01034: ORACLE not available
安装结束后,以root用户执行$ORACLE_HOME下的root.sh:
$ su -
# /opt/oracle/product/10.2.0/db_1/root.sh
# exit
cd $ORACLE_HOME/bin
mv oracle oracle.bin
cat >oracle <#!/bin/bash
export DISABLE_HUGETLBFS=1
exec $ORACLE_HOME/bin/oracle.bin $@
EOF
chmod +x oracle
修改后报错如下
ORA-00600: internal error code, arguments: [keltnfy-ldmInit], [46], [1], [], [], [], [], []
linux-xugg:/etc # cat hosts
#
# hosts This file describes a number of hostname-to-address
# mappings for the TCP/IP subsystem. It is mostly
# used at boot time, when no name servers are running.
# On small systems, this file can be used instead of a
# "named" name server.
# Syntax:
#
# IP-Address Full-Qualified-Hostname Short-Hostname
#
#127.0.0.1 localhost
127.0.0.1 linux-xugg
# special IPv6 addresses
::1 localhost ipv6-localhost ipv6-loopback
fe00::0 ipv6-localnet
ff00::0 ipv6-mcastprefix
ff02::1 ipv6-allnodes
ff02::2 ipv6-allrouters
ff02::3 ipv6-allhosts
文件中的一样,将会导致上面描述的错误
ORA-01034: ORACLE not available
安装结束后,以root用户执行$ORACLE_HOME下的root.sh:
$ su -
# /opt/oracle/product/10.2.0/db_1/root.sh
# exit
cd $ORACLE_HOME/bin
mv oracle oracle.bin
cat >oracle <#!/bin/bash
export DISABLE_HUGETLBFS=1
exec $ORACLE_HOME/bin/oracle.bin $@
EOF
chmod +x oracle
修改后报错如下
ORA-00600: internal error code, arguments: [keltnfy-ldmInit], [46], [1], [], [], [], [], []
linux-xugg:/etc # cat hosts
#
# hosts This file describes a number of hostname-to-address
# mappings for the TCP/IP subsystem. It is mostly
# used at boot time, when no name servers are running.
# On small systems, this file can be used instead of a
# "named" name server.
# Syntax:
#
# IP-Address Full-Qualified-Hostname Short-Hostname
#
#127.0.0.1 localhost
127.0.0.1 linux-xugg
# special IPv6 addresses
::1 localhost ipv6-localhost ipv6-loopback
fe00::0 ipv6-localnet
ff00::0 ipv6-mcastprefix
ff02::1 ipv6-allnodes
ff02::2 ipv6-allrouters
ff02::3 ipv6-allhosts
原因:
服务器hostname没有正确配置,通过hostname命令得到的主机名无法ping通,Oracle10g认为主机无法达到所以启动数据库报错。原
来昨天有人更改了主机名,检查一下本机的hosts文件,发现因为修改主机名的时候没有把hosts文件对应的主机名做对应的修改,从
而引发这个错误。
解决方法:
将hostname添加到/etc/hosts文件中,重新启动数据库。
解释:
如果出现这个bug时,启动实例时报ORA-00600: [keltnfy-ldmInit], [46]错误,如果没有创建数据库,将无法创建数据库,同时
sqlplus连接数据库会非常慢,这时大家可以用lsof去看sqlplus进程在干什么。
在10gR2+rhel4u1中,一般不要随便修改机器的名称,如果要修改机器名,稍一不慎重,就有可能会触发ORA-00600: [keltnfy-
ldmInit], [46]这样的错误,查metalink没有找到任何信息,最严重的结果是实例无法启动,如果一定要修改机器名,需要修改的比
较彻底,需要修改/etc/hosts,/etc/sysconfig/network这两个文件,如果忘了将/etc/hosts中127.0.0.1对应的机器修改成network
来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/26188260/viewspace-714566/,如需转载,请注明出处,否则将追究法律责任。
转载于:http://blog.itpub.net/26188260/viewspace-714566/