不能正常启动OracleOraHome92ManagementServer服务解决啦

Oralce,不能正常启动OracleOraHome92ManagementServer服务解决啦!!Yeah...
2007-04-19 02:16

问题:

在配置Oracle Enterprise Management的过程中,配置好资料档案库后,不能正常启动OracleOraHome92ManagementServer服务,并提示以下错误:
『本地计算机上的OracleOraHome92ManagementServer服务启动后又停止了。一些服务自动停止,如果它们没有什么可做的,例如“性能日志和警报”服务。』

这个问题真是难缠,搞到我装了几个版本的oracle,几个版本的WINDOWS,开始以为是系统问题,从XP换了SERVER 2003依然不行.

后来发现了下面的英文文章,希望的曙光终于来了:

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.1.101        localhost  也可以改成 192.168.1.100   dench   只要你知道HOST是谁,你可改为与你机名相同,像我这里就改为dench.

哈哈,重启,OK.

OracleOraHome92ManagementServer服务等所有服务正常运行!

192.168.1.101        这是我当前计算机的IP地址.

登录OMS时,

Management Server可以用IP地址,也可以用你的HOST名.

已是深夜,把这篇文章献给有这种烦恼的Oracle初学者们,同时传递我的喜悦.有空的话可以向我说声谢谢.呵呵

 
  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 1
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值