Oracle 11gR2 netca 无法启动 报错 默认主机名导致


/u01/Oracle/bin/netca: line 178: 11819 Aborted                 $JRE $JRE_OPTIONS -classpath $CLASSPATH oracle.net.ca.NetCA $*

是由于默认的主机名导致的,修改2处

[oracle@www.bkjia.com ~]$ cat /etc/sysconfig/network

NETWORKING=yes

HOSTNAME=hotDB11g

GATEWAY=192.168.1.1

[oracle@www.bkjia.com ~]$ 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 hotDB11g

再执行

hostname hotDB11g

让oracle用户退出重新登录就可以正常启动netca了。

相关内容