修改Hostname导致netca出错

news/2024/5/19 0:34:26 标签: dns服务器, exception, signal, vmware, library, thread

修改主机名后,忘记更新/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,可以解决该问题。
 


http://www.niftyadmin.cn/n/1552863.html

相关文章

编译无效对象ORA-00955: name is already used by an existing object

今天编译无效对象遇到这么个情况 SQL> ?/rdbms/admin/utlrp.sql TIMESTAMP -------------------------------------------------------------------------------- COMP_TIMESTAMP UTLRP_BGN 2016-09-19 13:05:39 DOC> The following PL/SQL block invokes UTL_R…

利用rman创建standby(一)

使用rman来创建standby,过程相当简单,主库无需停机。本次试验演示了利用Rman热备,然后restore来创建备库的过程。 1.试验环境SQL> select * from v$version; BANNER----------------------------------------------------------------Or…

impdp导数据中文乱码

impdp导数据,源端和目标端字符集一致,但是在客户端查看时中文都是乱码 客户端为10.2.0.5,安装在Windows2008R2,这是oracle的一个bug,此时注册表中NLS_LANG为空,编辑注册表,修改字符集&#xff…

利用rman创建standby(二)

第1步到第6步和前一个试验一致,这里不再重复。 7.利用rman备份主库 注意同时备库控制文件 C:>rman target / Recovery Manager: Release 9.2.0.1.0 - Production Copyright (c) 1995, 2002, Oracle Corporation. All rights reserved. connected to target…

Nologging操作对standby的影响

一、实验环境SQL> select * from v$version; BANNER----------------------------------------------------------------Oracle9i Enterprise Edition Release 9.2.0.1.0 - ProductionPL/SQL Release 9.2.0.1.0 - ProductionCORE 9.2.0.1.0 ProductionTNS for 32-…

nc设定tnsping超时

nc -w 2 -v 192.168.56.101 1521|grep succ

Oracle9iR2 Data Guard的保护模式

一、三种保护模式最大性能(maximize performance):这是data guard默认的保护模式。primay上的事务commit前不需要从standby上收到反馈信息。该模式在primary故障时可能丢失数据,但standby对primary的性能影响最小。最大可用(maximize availability):在正常情况下&am…

Error 1017 received logging on to the standby

本来想模拟ORA-01031: 权限不足,Error 1031 received logging on to the standby,这个问题是主备密码文件不一致导致的。于是把备库的密码文件备份一下,然后重新创建一份,重启数据库生效,结果报的错和预料的不一样。 …