> 데이터 베이스 > MySQL 튜토리얼 > RedHat Linux 5.6 下安装Oracle 11g 时netca报错不能配置监听解决方法

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

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
풀어 주다: 2016-06-07 17:24:26
원래의
1322명이 탐색했습니다.

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 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

본 웹사이트의 성명
본 글의 내용은 네티즌들의 자발적인 기여로 작성되었으며, 저작권은 원저작자에게 있습니다. 본 사이트는 이에 상응하는 법적 책임을 지지 않습니다. 표절이나 침해가 의심되는 콘텐츠를 발견한 경우 admin@php.cn으로 문의하세요.
인기 튜토리얼
더>
최신 다운로드
더>
웹 효과
웹사이트 소스 코드
웹사이트 자료
프론트엔드 템플릿