ORA-00600internal error code arguments

煙花丶易冷發表於2016-04-27

今天安裝oracle資料庫的時候一直報00600的錯誤,都搞崩潰了,最後才發現錯的好離譜
        主機名當時修改的是hhhh

  1. @hhhh~]$dbca
  2. 2[Thread-13]WARN emSDK.config-Exceptioningetting localhost
  3. java.net.UnknownHostException:hhhh:hhhh
  4.         at java.net.InetAddress.getLocalHost(InetAddress.java:1191)
  5.         at oracle.sysman.emSDK.conf.TargetInstaller.getLocalHost(TargetInstaller.java:4977)
  6.         at oracle.sysman.emSDK.conf.TargetInstaller.getLocalHost(TargetInstaller.java:4950)
  7.         at oracle.sysman.emcp.ParamsManager.getLocalHost(ParamsManager.java:959)
  8.         at oracle.sysman.emcp.EMDBPostConfig.getEMDProperties(EMDBPostConfig.java:1474)
  9.         at oracle.sysman.emcp.EMDBPostConfig.getEMDProperties(EMDBPostConfig.java:1469)
  10.         at oracle.sysman.emcp.EMDBPostConfig.getRepositoryURL(EMDBPostConfig.java:1448)
  11.         at oracle.sysman.emcp.EMDBPostConfig.getRepositoryURLMessage(EMDBPostConfig.java:1442)
  12.         at oracle.sysman.emcp.EMConfig.getRepositoryURLMessage(EMConfig.java:568)
  13.         at oracle.sysman.assistants.util.em.EMConfiguration.run(EMConfiguration.java:431)
  14.         at java.lang.Thread.run(Thread.java:534)


(注:圖片當時忘截了,這是後期在網上看到的圖,報錯都是一樣的)

[root@hhhh ~]# cat /etc/sysconfig/network
NETWORKING=yes
NETWORKING_IPV6=no
HOSTNAME=hhhh


[root@hhhh ~]# cat /etc/hosts
# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1       localhost
::1             localhost6.localdomain6 localhost6
192.168.200.12 hhh

剛開始還沒發現錯誤,百度搜好多發現網友的原因都是:/etc/hosts檔案錯誤,
最後終於發現hosts檔案主機名少了一個h,,,,,好無語。


[root@hhhh ~]# vi /etc/hosts
# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1       localhost
::1             localhost6.localdomain6 localhost6
192.168.200.12  hhhh
~
~
~
~
~
"/etc/hosts" 5L, 190C written

問題解決。
在此勸誡其他朋友,給主機命名最好起個有意義一點的,避免再發生類似錯誤。

來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/29618264/viewspace-2089404/,如需轉載,請註明出處,否則將追究法律責任。

相關文章