启动“OracleOraHome92ManagementServer管理服务器服务”时,提示
“本地计算机上的OracleOraHome92ManagementServer启动后又停止了,一些服务自动停止,如果他们没有什么可做的,例如性能日志和警报服务 !”,
后来发现了下面的英文文章,希望的曙光终于来了:
1. You also need to set up your environment so that the local host name can be resolved without the need to look up DNS. To do this, edit the C:/WINNT/System32/Drivers/Etc/Hosts file. Add the IP address and fully qualified host name for your computer after the localhost line currently in the file. Save your work and close the file.
Comment out the localhost one and go with the new one:
# 127.0.0.1 localhost
888.8.8.8 srv01
2. If you have used a previous version of this OBE before, you must remove your NTOEM user from User Manager.
3. Reboot your machine.
认真阅读一下大概了解到要更改localhost的IP地址:
2000中的:C:/WINNT/System32/Drivers/Etc/Hosts
XP或者是2003中的:C:/WINDOW/System32/Drivers/Etc/Hosts
用记事本打开看到:
# 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
上面的英文大概意思是:
告诉你如何设置HOST,The IP address and the host name should be separated by at least one
space:IP地址和主机名要用空格分开.
Additionally, comments (such as these) may be inserted on individual
lines or following the machine name denoted by a '#' symbol:
这一句是说注释可以另起一行写或者用#号标明.
后来我把127.0.0.1 localhost 改成 192.168.0.121 localhost 也可以改成 192.168.0.122 ora92dataserver 只要你知道HOST是谁,你可改为与你机名相同,像我这里就改为ora92dataserver .
哈哈,重启,OK.
OracleOraHome92ManagementServer服务等所有服务正常运行!
192.168.0.122 这是我当前计算机的IP地址.
登录OMS时,
Management Server可以用IP地址,也可以用你的HOST名.