linux下hostname修改機器名後,刪除oracle實例報錯

linux下hostname修改機器名後,刪除oracle實例報錯

cd /u01/oracle_home/bin/

./dbca報

An unexpected exception has been detected in native code outside the VM 的解決方案

***************************************
An unexpected exception has been detected in native code outside the VM 的解決方案
環境:Linux

***************************************

出現如下的錯誤:
------------------------------------------
Oracle Net Services Configuration:   An unexpected exception has been detected in native

code outside the VM. Unexpected Signal : 11 occurred at PC=0xB7E52093 Function=index+0x63

Library=/lib/tls/libc.so.6   Current Java thread: at

oracle.net.common.NetGetEnv.getDNSDomain(Native Method) at

oracle.net.ca.ConfigureProfile.setDefaultProfileParams(Unknown Source) at

oracle.net.ca.InitialSetup.setupConfigObjects(Unknown Source) at

oracle.net.ca.InitialSetup.<init>(Unknown Source) at oracle.net.ca.NetCA.main(Unknown

Source)   Dynamic libraries: 08048000-08056000 r-xp 00000000 03:06 263311

/u01/oracle/product/10.2.0/db/jdk/jre/bin/java 08056000-08059000 rwxp 0000d000 03:06 263311

/u01/oracle/product/10.2.0/db/jdk/jre/bin/java 08059000-08365000 rwxp 08059000 00:00 0

[heap] a90b4000-a90c3000 r-xp 00000000 03:06 15511 /lib/tls/libresolv-2.3.2.so a90c3000-

a90c4000 rwxp 0000f000 03:06 15511 /lib/tls/libresolv-2.3.2.so   [...]   b7f28000-b7f30000

r-xp 00000000 03:06 263228

/u01/oracle/product/10.2.0/db/jdk/jre/lib/i386/native_threads/libhpi.so b7f30000-b7f31000

rwxp 00007000 03:06 263228

/u01/oracle/product/10.2.0/db/jdk/jre/lib/i386/native_threads/libhpi.so b7f32000-b7f48000

r-xp 00000000 03:06 15468 /lib/ld-2.3.2.so b7f48000-b7f49000 rwxp 00015000 03:06 15468

/lib/ld-2.3.2.so bf833000-bf848000 rwxp bf833000 00:00 0 [stack] ffffe000-fffff000 ---p

00000000 00:00 0 [vdso]   Heap at VM Abort: Heap def new generation total 576K, used 345K

[0xab7b0000, 0xab850000, 0xabc90000) eden space 512K, 60% used [0xab7b0000, 0xab7fd228,

0xab830000) from space 64K, 58% used [0xab840000, 0xab849508, 0xab850000) to space 64K, 0%

used [0xab830000, 0xab830000, 0xab840000) tenured generation total 1408K, used 544K

[0xabc90000, 0xabdf0000, 0xaf7b0000) the space 1408K, 38% used [0xabc90000, 0xabd18148,

0xabd18200, 0xabdf0000) compacting perm gen total 4096K, used 3573K [0xaf7b0000,

0xafbb0000, 0xb37b0000) the space 4096K, 87% used [0xaf7b0000, 0xafb2d678, 0xafb2d800,

0xafbb0000)   Local Time = Tue Oct 23 21:36:23 2007 Elapsed Time = 6 # # The exception

above was detected in native code outside the VM # # Java VM: Java HotSpot? Client VM

(1.4.2_08-b03 mixed mode) # # An error report file has been saved as hs_err_pid9698.log. #

Please refer to the file for further information. #
------------------------------------------------------------------------------

[oracle@standby ~]$ vi /etc/hosts
# Do not remove the following line, or various programs
# that require network functionality will fail.
::1     localhost6.localdomain6 localhost6
127.0.0.1       localhost.localdomain   localhost
192.168.1.71    ww.szjjgc.com 
[oracle@standby ~]$

第一列爲IP,可用ifconfig
第二列爲全局域名: hostname
第三列爲另外取的別名。

發佈了48 篇原創文章 · 獲贊 2 · 訪問量 9萬+
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章