[oracle@localhost bin]$ netca -silent -responsefile /home/oracle/database/response/netca.rsp
正在对命令行参数进行语法分析:
参数"silent" = true
参数"responsefile" = /home/oracle/database/response/netca.rsp
完成对命令行参数进行语法分析。
Oracle Net Services 配置:
#
# An unexpected error has been detected by HotSpot Virtual Machine:
#
# SIGSEGV (0xb) at pc=0x00007fe6b5594c2d, pid=14041, tid=140629913499456
#
# Java VM: Java HotSpot(TM) 64-Bit Server VM (1.5.0_17-b03 mixed mode)
# Problematic frame:
# C [libclntsh.so.11.1+0x628c2d] snlinGetAddrInfo+0x1b1
#
# An error report file with more information is saved as hs_err_pid14041.log
#
# If you would like to submit a bug report, please visit:
# http://java.sun.com/webapps/bugreport/crash.jsp
#
/u01/app/oracle/product/11.2.0/db_1/bin/netca: 行 178: 14041 已放弃 $JRE $JRE_OPTIONS -classpath $CLASSPATH oracle.net.ca.NetCA $*
错误的原因是由于默认的主机名导致的,修改2处
[root@localhost ~]# cat /etc/sysconfig/network
# Created by anaconda
NETWORKING=yes
HOSTNAME=test11g
GATEWAY=192.168.8.124
[root@localhost ~]# cat /etc/hosts
127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4 test11g
::1 localhost localhost.localdomain localhost6 localhost6.localdomain6
对应好hostname,在这里我增加了一个test11g
执行如下命令:
hostname test11g
让oracle用户退出重新登录就可以正常启动netca了
[oracle@test11g ~]$ netca -silent -responsefile /home/oracle/database/response/netca.rsp
正在对命令行参数进行语法分析:
参数"silent" = true
参数"responsefile" = /home/oracle/database/response/netca.rsp
完成对命令行参数进行语法分析。
Oracle Net Services 配置:
完成概要文件配置。
Oracle Net 监听程序启动:
正在运行监听程序控制:
/u01/app/oracle/product/11.2.0/db_1/bin/lsnrctl start LISTENER
监听程序控制完成。
监听程序已成功启动。
监听程序配置完成。
成功完成 Oracle Net Services 配置。退出代码是0