按照文档登陆Oracle Management Server时,第一次登陆成功,关机后再次登陆可能会出现:域名解析错误或登陆被否决错误。错误原因为当前IP地址与Oracle安装时配置的IP地址不一致。解决办法: 修改本机host文件,手工指定本机IP地址。解决步骤:1。 首先要创建一个资料文档,方法 开始->程序->Oracle->Configuration and Migration Tools -> Enterprise Manager Congiguration Assistant,开始创建2。 创建成功后在启动Oracle Management Server时,总是启动不成功, 原因是当前网络IP是动态分配的, 需要修改windows/system32/drivers/etc/hosts 文件,在该文件末尾加上10.45.8.18 oracle# Copyright (c) 1993-1999 Microsoft Corp. # # This is a sample HOSTS file used by Microsoft TCP/IP for Windows. # # This file contains the mappings of IP addresses to host names. Each # entry should be kept on an individual line. The IP address should # be placed in the first column followed by the corresponding host name. # The IP address and the host name should be separated by at least one # space. # # Additionally, comments (such as these) may be inserted on individual # lines or following the machine name denoted by a "#" symbol. # # For example: # # 102.54.94.97 rhino.acme.com # source server # 38.25.63.10 x.acme.com # x client host