oracle 10g 企业管理器无法打开解决方法
今天發(fā)現(xiàn)oracle 10g企業(yè)管理器無(wú)法打開(kāi),于是google,發(fā)現(xiàn)問(wèn)題解決了。本質(zhì)就是重新配置。步驟如下:
C:\Documents and Settings\Administrator>emctl status dbconsole
Environment variable ORACLE_SID not defined. Please define it.
C:\Documents and Settings\Administrator>set oracle_sid=testdb
?
Microsoft Windows XP [版本 5.1.2600]
(C) 版權(quán)所有 1985-2001 Microsoft Corp.
C:\Documents and Settings\Administrator>emctl start dbconsole
Unable to determine local host from URL REPOSITORY_URL=http://10.10.10.84:%EM_UP
LOAD_PORT%/em/upload/
?.
C:\Documents and Settings\Administrator>emctl config
Oracle Enterprise Manager 10g Database Control Release 10.2.0.1.0
Copyright (c) 1996, 2005 Oracle Corporation.? All rights reserved.
Usage ::
? emctl config console <fileloc> [<EM loc>]
????? where <fileloc> contains config entries.
? emctl config [agent] addtarget [-f|-force] <fileloc> [<EM loc>]
????? where <fileloc> contains a definition of target to add,
????? and where -f or -force allows to overwrite an existing target.
????? If -f or -force is not specified, existing targets cannot be overwritten.
? emctl config [agent] addtargets [-f|-force] <fileloc> [<EM loc>]
????? where <fileloc> contains a definition of targets to add
????? and where -f or -force allows to overwrite existing targets.
????? If -f or -force is not specified, existing targets cannot be overwritten.
? emctl config [agent] modifytarget <fileloc> [<EM loc>]
????? where <fileloc> contains a new definition of target to modify
? emctl config [agent] deletetarget <type> <name> [<EM loc>]
????? where <type>,<name> specify target type and name to delete
? emctl config [agent] listtargets? [<EM loc>]
????? lists all targets present in targets.xml
? emctl config [agent] listcentralagents [<EM loc>]
????? lists the central agents this home is associated with
? emctl config [agent] addcentralagent <centralAgentHomePath> [<EM loc>]
????? associates this home with a new central agent
? emctl config [agent] removecentralagent <centralAgentHomePath> [<EM loc>]
????? removes the association of this home with a central agent
? emctl config [agent] setcentralagents <centralAgent1> [<centralAgent2> ...]
????? sets the list of central agents this home is associated with
? emctl config agent addTargetsToRepository <uploadFile> <update_on_dup (true |
false)>
????? uploadFile contains definition for targets
????? update_on_dup decides whether updating duplicate targets
????? This function is for central agent
? <EM loc> is optional and can be used to operate on a different Oracle Home.
? The centralagent commands do not apply in a agent-only home.
C:\Documents and Settings\Administrator>emctl config dbconsole
Unable to determine local host from URL REPOSITORY_URL=http://10.10.10.84:%EM_UP
LOAD_PORT%/em/upload/
?.
C:\Documents and Settings\Administrator>emctl config dbconsole
Unable to determine local host from URL REPOSITORY_URL=http://10.10.10.84:%EM_UP
LOAD_PORT%/em/upload/
?.
C:\Documents and Settings\Administrator>emca -config dbcontrol db
EMCA 開(kāi)始于 2008-7-4 11:43:43
EM Configuration Assistant 10.2.0.1.0 正式版
版權(quán)所有 (c) 2003, 2005, Oracle。保留所有權(quán)利。
輸入以下信息:
數(shù)據(jù)庫(kù) SID: testdb
已為數(shù)據(jù)庫(kù) testdb 配置了 Database Control
您已選擇配置 Database Control, 以便管理數(shù)據(jù)庫(kù) testdb
此操作將移去現(xiàn)有配置和默認(rèn)設(shè)置, 并重新執(zhí)行配置
是否繼續(xù)? [yes(Y)/no(N)]: y
監(jiān)聽(tīng)程序端口號(hào): 1521
SYS 用戶的口令:
DBSNMP 用戶的口令:
SYSMAN 用戶的口令:
SYSMAN 用戶的口令: 通知的電子郵件地址 (可選):
通知的發(fā)件 (SMTP) 服務(wù)器 (可選):
-----------------------------------------------------------------
已指定以下設(shè)置
數(shù)據(jù)庫(kù) ORACLE_HOME ................ D:\oracle\product\10.2.0\db_1
數(shù)據(jù)庫(kù)主機(jī)名 ................ 10.10.10.84
監(jiān)聽(tīng)程序端口號(hào) ................ 1521
數(shù)據(jù)庫(kù) SID ................ testdb
通知的電子郵件地址 ...............
通知的發(fā)件 (SMTP) 服務(wù)器 ...............
-----------------------------------------------------------------
是否繼續(xù)? [yes(Y)/no(N)]: y
2008-7-4 11:44:29 oracle.sysman.emcp.EMConfig perform
信息: 正在將此操作記錄到 D:\oracle\product\10.2.0\db_1\cfgtoollogs\emca\testdb\e
mca_2008-07-04_11-43-42-上午.log。
2008-7-4 11:44:31 oracle.sysman.emcp.util.DBControlUtil stopOMS
信息: 正在停止 Database Control (此操作可能需要一段時(shí)間)...
2008-7-4 11:44:41 oracle.sysman.emcp.util.DBControlUtil startOMS
信息: 正在啟動(dòng) Database Control (此操作可能需要一段時(shí)間)...
2008-7-4 11:45:21 oracle.sysman.emcp.EMDBPostConfig performConfiguration
信息: 已成功啟動(dòng) Database Control
2008-7-4 11:45:21 oracle.sysman.emcp.EMDBPostConfig performConfiguration
警告: 無(wú)法創(chuàng)建 Database Control 快捷方式
2008-7-4 11:45:21 oracle.sysman.emcp.EMDBPostConfig performConfiguration
信息: >>>>>>>>>>> Database Control URL 為http://10.10.10.84:5500/em<<<<<<<<<<<
已成功完成 Enterprise Manager 的配置
EMCA 結(jié)束于 2008-7-4 11:45:21
C:\Documents and Settings\Administrator>emctl start dbconsole
Oracle Enterprise Manager 10g Database Control Release 10.2.0.1.0
Copyright (c) 1996, 2005 Oracle Corporation.? All rights reserved.
http://10.10.10.84:5500/em/console/aboutApplication
Starting Oracle Enterprise Manager 10g Database Control ...請(qǐng)求的服務(wù)已經(jīng)啟動(dòng)。
請(qǐng)鍵入 NET HELPMSG 2182 以獲得更多的幫助。
轉(zhuǎn)載于:https://www.cnblogs.com/yangkunlisi/archive/2011/08/26/2154188.html
創(chuàng)作挑戰(zhàn)賽新人創(chuàng)作獎(jiǎng)勵(lì)來(lái)咯,堅(jiān)持創(chuàng)作打卡瓜分現(xiàn)金大獎(jiǎng)總結(jié)
以上是生活随笔為你收集整理的oracle 10g 企业管理器无法打开解决方法的全部?jī)?nèi)容,希望文章能夠幫你解決所遇到的問(wèn)題。
- 上一篇: Intel系列CPU的流水线技术的发展
- 下一篇: dos下查看机器端口占用情况