redhat linux 5.6 下安装oracle 11g 时netca报错不能配置监听解决方法

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命令行下输入:
  1. [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

转载于:https://www.cnblogs.com/totozlj/archive/2012/11/04/2754165.html

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值