ORACLE10G修改主机名后的EM(Enterprise Manager)启动问题


       修改主机名从info到info-0073后,ORACLE EM (Enterprise Manager)无法启动,尝试手工解决.
C:\Documents and Settings\Administrator>emctl start dbconsole
Environment variable ORACLE_SID not defined. Please define it.
       按提示设置ORACLE_SID
C:\Documents and Settings\Administrator>set ORACLE_SID=WWMDB
       再测试
C:\Documents and Settings\Administrator>emctl start dbconsole
EM Configuration issue. D:\oracle\product\10.1.0\Db_1/info-0073_WWMDB not found
       按提示将上面info_WWMDB目录改成info-0073_WWMDB,再测试.
C:\Documents and Settings\Administrator>emctl start dbconsole
Oracle Enterprise Manager 10g Database Control Release 10.1.0.2.0
Copyright (c) 1996, 2004 Oracle Corporation.  All rights reserved.
http://info:5500/em/console/aboutApplication
Starting Oracle Enterprise Manager 10g Database Control ...The OracleDBConsolew
The OracleDBConsolewwmdb service could not be started.
A service specific error occurred: 2.
More help is available by typing NET HELPMSG 3547.
       仍有错误,手工修改配置文件.
       修改D:\oracle\product\10.1.0\Db_1\info-0073_wwmdb\sysman\config\emd.properties
agentStateDir=D:/oracle/product/10.1.0/Db_1/info-0073_wwmdb
chronosRoot=D:/oracle/product/10.1.0/Db_1/info-0073_wwmdb/sysman/emd/chronos
REPOSITORY_URL=http://info-0073:5500/em/upload/
emdRootCertLoc=D:/oracle/product/10.1.0/Db_1/info-0073_wwmdb/sysman/config/b64LocalCertificate.txt
internetCertLoc=D:/oracle/product/10.1.0/Db_1/info-0073_wwmdb/sysman/config/b64InternetCertificate.txt
emdWalletSrcUrl=http://info-0073:5500/em/wallets/emd
emdWalletDest=D:/oracle/product/10.1.0/Db_1/info-0073_wwmdb/sysman/config/server
EMD_URL=http://info-0073:1830/emd/main
       修改D:\oracle\product\10.1.0\Db_1\info-0073_wwmdb\sysman\config\emoms.properties
oracle.sysman.db.isqlplusUrl=http\://info-0073\:5560/isqlplus/dynamic
oracle.sysman.db.isqlplusWebDBAUrl=http\://info-0073\:5560/isqlplus/dba/dynamic
oracle.sysman.emSDK.svlt.ConsoleServerHost=info-0073
oracle.sysman.eml.mntr.emdRepServer=info-0073
oracle.sysman.eml.mntr.emdRepConnectDescriptor=(DESCRIPTION\=(ADDRESS_LIST\=(ADDRESS\=(PROTOCOL\=TCP)(HOST\=info-0073)(PORT\=1521)))(CONNECT_DATA\=(SERVICE_NAME\=wwmdb)))
D:\oracle\product\10.1.0\Db_1\info-0073_wwmdb\sysman\emd\targets.xml

 

你可能感兴趣的:(oracle,C++,c,.net,C#)