在Linux redhat 5.0安装完Oracle11 g 之后,无法使用netca创建监听,运行时报错如下 5
[oracle@localhostbin]$netcaOracleNetServicesConfiguration:##Anunexpectederrorhasbeend...
[oracle@localhost bin]$ netca
Oracle Net Services Configuration:
#
# An unexpected error has been detected by HotSpot Virtual Machine:
#
# SIGSEGV (0xb) at pc=0x00a0d303, pid=10163, tid=3087001280
#
# Java VM: Java HotSpot(TM) Client VM (1.5.0_11-b03 mixed mode)
# Problematic frame:
# C [libc.so.6+0x69303] index+0x63
#
# An error report file with more information is saved as hs_err_pid10163.log
#
# If you would like to submit a bug report, please visit:
# http://java.sun.com/webapps/bugreport/crash.jsp
#
/home/oracle/db/oracle/product/11.0/bin/netca: line 196: 10163 Aborted $JRE -mx64m $SRVM_PROPERTY_DEFS -Dsun.java2d.font.DisableAlgorithmicStyles=true -Dice.pilots.html4.ignoreNonGenericFonts=true -classpath $CLASSPATH oracle.net.ca.NetCA $*
前面安装时都是对的,请回答者不要让我重装试试。 展开
Oracle Net Services Configuration:
#
# An unexpected error has been detected by HotSpot Virtual Machine:
#
# SIGSEGV (0xb) at pc=0x00a0d303, pid=10163, tid=3087001280
#
# Java VM: Java HotSpot(TM) Client VM (1.5.0_11-b03 mixed mode)
# Problematic frame:
# C [libc.so.6+0x69303] index+0x63
#
# An error report file with more information is saved as hs_err_pid10163.log
#
# If you would like to submit a bug report, please visit:
# http://java.sun.com/webapps/bugreport/crash.jsp
#
/home/oracle/db/oracle/product/11.0/bin/netca: line 196: 10163 Aborted $JRE -mx64m $SRVM_PROPERTY_DEFS -Dsun.java2d.font.DisableAlgorithmicStyles=true -Dice.pilots.html4.ignoreNonGenericFonts=true -classpath $CLASSPATH oracle.net.ca.NetCA $*
前面安装时都是对的,请回答者不要让我重装试试。 展开
3个回答
展开全部
是由于默认的主机名导致的,修改2处
[oracle@jc11g ~]$ cat /etc/sysconfig/network
NETWORKING=yes
HOSTNAME=test11g
GATEWAY=192.168.1.254
[oracle@jc11g ~]$ cat /etc/hosts
# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1 localhost.localdomain localhost test11g
再执行
hostname test11g
让oracle用户退出重新登录就可以正常启动netca了
[oracle@jc11g ~]$ cat /etc/sysconfig/network
NETWORKING=yes
HOSTNAME=test11g
GATEWAY=192.168.1.254
[oracle@jc11g ~]$ cat /etc/hosts
# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1 localhost.localdomain localhost test11g
再执行
hostname test11g
让oracle用户退出重新登录就可以正常启动netca了
追问
改过了 可还是不行啊
参考资料: http://www.huomo.cn/database/article-12d2e.html
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
展开全部
我也是出现这个问题 不知道怎么解决
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
展开全部
都是他吗网上找的答案,什么玩意,test11g是个什么东西,你知道不知道
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询