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:
#
#
/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 hostnamelocal
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
,