按照文檔登陸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
127.0.0.1 localhost
#10.45.8.18是我的IP地址, oracle自己定義的名字
10.45.8.18 oracle
3。 儲存關閉後, 重新啟動Oracle Management Server ,提示登陸成功。
4。 在登陸視窗中輸入登陸名稱和密碼登陸。
在CentOS 6.4下安裝Oracle 11gR2(x64)
Oracle 11gR2 在VMWare虛擬機器中安裝步驟
Debian 下 安裝 Oracle 11g XE R2