`

oracle.net.common.NetGetEnv.getDNSDomain

 
阅读更多

今天安装LINUX AS 4和ORACLE 10.2,安装成功后,运行netca和dbca系统总是报错,信息如下:
......
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.(Unknown Source)
at oracle.net.ca.NetCA.main(Unknown Source)
......

google搜索后,发现NinGoo的BLOG有相关记载,转载之(http://ningoo.itpub.net/post/2149/230876)我的出错原因是使用DHCP来获得IP地址所致!!

-----------------------------------------------------------------------

修改主机名后,忘记更新/etc/hosts文件的设置,导致运行netca报错。论坛帖子:http://www.itpub.net/671313.html

主要报错如下:

An unexpected exception has been detected in native code outside the VM.
Unexpected Signal : 11 occurred at PC=0xB7500243
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.(Unknown Source)

该错误主要在netca尝试将主机名转换成IP地址的过程中出现异常,又无法从DNS服务器中获得所需要的信息。在VMWare中,如果使用DHCP来获得IP地址,也可能出现该错误。在Google中搜索"oracle.net.common.NetGetEnv.getDNSDomain"可以获得一些有用的信息。

一般在/etc/hosts添加hostname到IP的正确映射,或者配置正确的DNS,可以解决该问题。

分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics