• 欢迎访问搞代码网站,推荐使用最新版火狐浏览器和Chrome浏览器访问本网站!
  • 如果您觉得本站非常有看点,那么赶紧使用Ctrl+D 收藏搞代码吧

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

mysql 搞代码 4年前 (2022-01-09) 16次浏览 已收录 0个评论

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

Oracle Net Services 配置:

#
# An unexpected error has been detected by HotSpot Virtual Machine:
#
# SIGSEGV (本文来源[email protected]搞@^&代*@码)网50xb) 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:
#
#
/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


搞代码网(gaodaima.com)提供的所有资源部分来自互联网,如果有侵犯您的版权或其他权益,请说明详细缘由并提供版权或权益证明然后发送到邮箱[email protected],我们会在看到邮件的第一时间内为您处理,或直接联系QQ:872152909。本网站采用BY-NC-SA协议进行授权
转载请注明原文链接:RedHat Linux 5.6 下安装Oracle 11g 时netca报错不能配置监听解决方法

喜欢 (0)
[搞代码]
分享 (0)
发表我的评论
取消评论

表情 贴图 加粗 删除线 居中 斜体 签到

Hi,您需要填写昵称和邮箱!

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址