VTK-1000:无法连接到Management Server [终于解决]

来源:互联网 发布:snagit mac 破解版 编辑:程序博客网 时间:2024/06/11 06:30
 
重启了一次:打开Enterprise Manager Console 输入后点确定,出现如下信息:
VTK-1000:无法连接到Management Server yhz-5ahjjOo2io5。请验证您已输入Oracle Management
Server的正确主机名和状态。
原来问题是出在:OracleOraHome90ManagementServer服务还没有启动.启动它,问题便解决。一般刚安装Oracle都会碰到这个问题的。
参考资料form:http://www.cublog.cn/u/12270/?u=http://www.cublog.cn/u/12270/showart.php?id=64535如下:
Configuring and Controlling the Management Server
oracle 9i中可以方便的把数据导出为文件,或者从文件导入,即ExportImport。但是需要到OMS下,如果以独立启动模式进入OEM进行ExportImport操作,会提示:
只有在应用程序已连接到Oracle Manager Server(OMS)的情况下才能启动该向导。试图重新启动向导之前,请先启动该应用程序并连接到OMS
然后重新启动OEM,并选择登陆到Oracle Management Server(L),管理员/口令为sysman/oem_tempManagement Server(M)为服务器IP地址。但是提示:
VTK-1000:无法连接到Management Server
                 
请验证您已输入Oracle Management Server的正确主机名和状态。

该错误引起的原因有两种,一是OracleOraHome90ManagementServer还没启动;二是没有输入主机名。
下面介绍一下如何配置和管理OMS,首先介绍一下前文提到的独立启动登陆到Oracle Management Server。前者可以让我们执行一些普通的管理工作,比如管理帐户、数据库对象等,只有后者才能为我们提供备份的功能。不过在登陆到oms之前,你必须首先安装oms服务。
然后确认一下已安装的ORACLE产品,在完全安装的情况下,Oracle的系统服务共有11项:(可以使用OUI查看)
  • Oracle OLAP 9.0.1.0.1
  • Oracle OLAP Agent
  • OracleOraHome90Agent
  • OracleOraHome90ClientCache
  • OracleOraHome90HTTPServer
  • OracleOraHome90ManagementServer(0.5M)
  • OracleOraHome90PagingServer
  • OracleOraHome90SNMPPeerEncapsulator
  • OracleOraHome90SNMPPeerMasterAgent
  • OracleOraHome90TNSListener(5.2M)
  • OracleServiceORACLE(70M)
(注:OraHome90是可以在安装时改变的Oracle的主目录名称,是安装时的默认值)
其中最重要的服务有3个,分别是OracleOraHome90ManagementServerOracleOraHome90TNSListenerOracleServiceORACLE。而与OMS相关的就是OracleOraHome90ManagementServer如果没有该产品,可以使用OUI安装。
安装完成后,你需要配置一个管理资料库,系统将会创建一个名为oemrep的数据库,保存管理信息,其中你需要指定syssystem帐号的密码。如下是引自ORACLE官方网站的摘录,介绍了如何配置和管理OMS,注意因为需要使用DBCA创建管理资料库,所以需要准备足够的空间,如空间不足会提示创建失败,我的经验是准备2GB足够了。
1Starting the Enterprise Manager Configuration Assistant
To start the Enterprise Manager Configuration Assistant, perform the following steps:
·  On Windows NT:
You can start the Enterprise Manager Configuration Assistant from the Windows Start Menu.
You can also start the Enterprise Manager Configuration Assistant from the command line using the command:
emca
·  On UNIX:
You can start the Enterprise Manager Configuration Assistant from the command line using the command:
emca
When you clickFinish, the Enterprise Manager Configuration Assistant starts the Database Configuration Assistant to create the database instance.
When the Database Configuration Assistant allows you to change the passwords for the database, you must change thepasswords; otherwise, you will not be allowed to continue.
Once the instance has been created and the Database Configuration Assistant exits, the Enterprise Manager Configuration Assistant tries to connect to the database using the SYS credentials. Once the connection has been made, theEnterprise Manager Configuration Assistant then creates the repository user and populates the repository schema.
2Starting a Local Management Server On UNIX
To start the Management Server on UNIX, at the command line, enter
% oemctl start oms
3Checking the Status of the Management Server
To quickly check whether a local Management Server is up or down on Windows or UNIX, at the operating system prompt, enter:
% oemctl ping oms
To check the status of a local Management Server on Windows or UNIX, at the operating system prompt, enter:
% oemctl status oms
You will be prompted to enter the username and password of an Oracle Enterprise super administrator.
To check the status of a remote Management Server on Windows or UNIX, at the operating system prompt, enter:
% oemctl status oms sysman/<password>@<hostname of Management Server machine>
For example
% oemctl status oms sysman/sysman@dlsun2305
An example of the output is shown below:
OEMCTL for Windows NT: Version 9.2.0.1.0
Copyright (c) 1998, 2002 Oracle Corporation. All rights reserved.
The Oracle Management Server on host [znripley-pc.ovenbird.com] is functioning pr
operly.
The server has been up for 0 00:00:25.953
Target database session count: 0 (session sharing is off)
Operations queued for processing: 1
Number of OMS systems in domain: 1 (znripley-pc.ovenbird.com)
Number of administrators logged in: 0
Repository session pool depth: 15
Repository session count: 8 in-use and 1 available, pool efficiency: 18%
4Stopping a Local Management Server
To stop a local Management Server, perform the following steps:
On Windows:
1.From the Start menu >Settings >Control Panel, double-click the Services icon.
2.Select the Oracle<Oracle_Home_Name>ManagementServer service.
3.ClickStop to stop the Management Server.
You will be prompted to enter the username and password of an Oracle Enterprise super administrator.
On UNIX:
At the command line, enter
% oemctl stop oms
You will be prompted to enter the username and password of an Oracle Enterprise super administrator.
 
原文出处:nick19842000.cublog.cn
原创粉丝点击