linux 下 oracle 10.2.0.1 32bit netca报错
現象如下:
今天一同事安裝完數據庫軟件運行netca創(chuàng)建監(jiān)聽時報錯(運行netmgr與dbca均可執(zhí)行成功),
?報錯信息:
[oracle@WEB01A bin]$ netca
?
Oracle Net Services Configuration:
#
# An unexpected error has been detected by HotSpot Virtual Machine:
#
#? SIGSEGV (0xb) at pc=0x002193c3, pid=26410, tid=4160576384
#
# Java VM: Java HotSpot(TM) Client VM (1.4.2_14-b05 mixed mode)
# Problematic frame:
# C? [libc.so.6+0x703c3]? index+0x63
#
# An error report file with more information is saved as hs_err_pid26410.log
#
# If you would like to submit a bug report, please visit:
#?? http://java.sun.com/webapps/bugreport/crash.jsp
#
/usr/appsoft/oracle/product/10.2.0/db_1/bin/netca: line 190: 26410 Aborted?? $JRE -mx64m $SRVM_PROPERTY_DEFS -Dsun.java2d.font.DisableAlgorithmicStyles=true -classpath $CLASSPATH oracle.net.ca.NetCA $*
報錯原因:運行netca時可能需要獲取主機名和相應ip,netca應該是從/etc/hosts/文件中獲取主機名和ip。但本主機的/etc/hosts中配置主機名和ip的記錄有誤,導致necta獲取不到相關信息報錯。
?
解決過程:
?[oracle@WEB01A ~]$hostname
? WEB01A
查看/etc/hosts文件
?# Do not remove the following line, or various programs
?# that require network functionality will fail.
?127.0.0.1??? localhost.localdomain?? localhost
? 192.168.3.1 WEBO1A
?
發(fā)現:運行ifconfig、hostname 都可以得到ip和主機名,且正確。但/etc/hosts文件里的主機名寫錯了,把數字0寫成了字母O了。問題可能出在這里;
解決辦法:將hosts文件中的主機名修改正確后,后netca運行成功。
?
轉載于:https://blog.51cto.com/semiter/1141144
總結
以上是生活随笔為你收集整理的linux 下 oracle 10.2.0.1 32bit netca报错的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: PyCharm设置字体大小与颜色
- 下一篇: linux挂载iso文件