问题描述:
1.配置监听器的配置启动不了,即Net Configuration Assistant点击后没有任何反应
2.在cmd界面输入netca报下面错误
Oracle Net Services Configuration:
#
# An unexpected error has been detected by HotSpot Virtual Machine:
#
# SIGSEGV (0xb) at pc=0xa4bf5f4e, pid=11819, tid=3086902976
#
# Java VM: Java HotSpot(TM) Client VM (1.5.0_17-b02 mixed mode)
# Problematic frame:
# C [libclntsh.so.11.1+0x421f4e] snlinGetAddrInfo+0x1b2
#
# An error report file with more information is saved as hs_err_pid11819.log
#
# If you would like to submit a bug report, please visit:
# http://java.sun.com/webapps/bugreport/crash.jsp
网上解决方法:
是由于默认的主机名导致的,修改2处
[oracle@jc11g ~]$ cat /etc/sysconfig/network
NETWORKING=yes
HOSTNAME=test11g
GATEWAY=192.168.1.254
[oracle@jc11g ~]$ cat /etc/hosts
# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1 localhost.localdomain localhost test11g
再执行
hostname test11g
让oracle用户退出重新登录就可以正常启动netca了
因为我是把计算机名改过,所以当我把计算机名字恢复成以前的名字,就发现能够运行了
计算机名也是对的,监听器也是配置了的,打开plsql还是出现没有监听器?
原因是配置了监听器,并没有启动,在cmd->services.msc->找到自己配置的监听器,启动即可