When logging on to the Oracle Management Server according to the document, the first login is successful. If you log on again after shutdown, the following error may occur: domain name resolution error or login denied error. The error is because the current IP address is inconsistent with the IP address configured during Oracle installation.
Solution: Modify the local host file and manually specify the local IP address.
Solution:
1. First, you must create a document. Choose procedure> program> Oracle> Configuration and Migration Tools> Enterprise Manager Congiguration Assistant to create a document.
2. After the creation is successful, the Oracle Management Server Always fails to be started because the current network IP address is dynamically allocated and the windows/system32/drivers/etc/hosts file needs to be modified, add 10.45.8.18 oracle to the end of the file
# 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 shoshould be kept on an individual line. The IP address shold
# Be placed in the first column followed by the corresponding host name.
# The IP address and the host name shocould 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 is my IP address, which is defined by oracle.
10.45.8.18 oracle
3. After saving and disabling, restart the Oracle Management Server and prompt that the logon is successful.
4. Enter the login name and password in the login window.
Install Oracle 11gR2 (x64) in CentOS 6.4)
Steps for installing Oracle 11gR2 in vmwarevm
Install Oracle 11g XE R2 In Debian