Oracle 11gR2 netca 無法啟動 報錯 預設主控件名導致

來源:互聯網
上載者:User

/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了。

相關文章

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.