手机版
你好,游客 登录 注册
背景:
阅读新闻

RedHat Linux 5.6 下安装Oracle 11g 时netca报错不能配置监听解决方法

[日期:2012-12-23] 来源:Linux社区  作者:totozlj [字体:大 中 小]

Oracle Net Services 配置:

#
# An unexpected error has been detected by HotSpot Virtual Machine:
#
#  SIGSEGV (0xb) at pc=0xa43ea4d4, pid=4341, tid=3086784720
#
# Java VM: Java HotSpot(TM) Client VM (1.5.0_17-b02 mixed mode)
# Problematic frame:
# C  [libnnz11.so+0x3c4d4]
#
# An error report file with more information is saved as hs_err_pid4341.log
#
# If you would like to submit a bug report, please visit:
# http://java.sun.com/webapps/bugreport/crash.jsp
#
/u01/oracle/bin/netca: line 178:  4341 已放弃              $JRE $JRE_OPTIONS -classpath $CLASSPATH oracle.net.ca.NetCA $*

解决办法:

在hosts文件中的127.0.0.1 后面添加对应的主机名,如:

vi /etc/hosts

127.0.0.1 localhost.localdomain localhost rhel5.6

解决办法:

1. 退出oracle,用root登陆;

2. root命令行下输入:

[root@localhost ~]# xhost local:oracle non-network local connections being added to access control list

屏幕提示

xhost:    bad hostname "non-network"
xhost:    bad hostname"local"
xhost:    bad hostname "connetcions"
xhost:    bad hostname "being"
xhost:    bad hostname "added"
xhost:    bad hostname "access"
xhost:    bad hostname "control"
xhost:    bad hostname "list"

3. 再试试su oracle
[root@localhost ~]# su - oracle

linux
相关资讯       Oracle 11g  Oracle 11g监听配置 
本文评论   查看全部评论 (0)
表情: 表情 姓名: 字数

       

评论声明
  • 尊重网上道德,遵守中华人民共和国的各项有关法律法规
  • 承担一切因您的行为而直接或间接导致的民事或刑事法律责任
  • 本站管理人员有权保留或删除其管辖留言中的任意内容
  • 本站有权在网站内转载或引用您的评论
  • 参与本评论即表明您已经阅读并接受上述条款