错误如下所示:
[oracle@dbserver1 bin]$ ./emctl upload agent
Oracle Enterprise Manager 10g Release 10.2.0.1.0.
Copyright (c) 1996, 2005 Oracle Corporation. All rights reserved.
---------------------------------------------------------------
EMD upload error: uploadXMLFiles skipped :: OMS version not checked yet..
解决过程:
dbserver2->./emctl secure oms
Oracle Enterprise Manager 10g Release 10.2.0.1.0
Copyright (c) 1996, 2005 Oracle Corporation. All rights reserved.
Enter Enterprise Manager Root Password :
Enter Agent Registration password :
OPMN processes already stopped... Done.
Securing central oms... Started.
Checking Repository... Done.
Checking Em Key... Done.
Checking Repository for an existing Enterprise Manager Root Key... Done.
Fetching Root Certificate from the Repository... Done.
Generating Registration Password Verifier in the Repository... Done.
Generating Oracle Wallet Password for Enterprise Manager OMS... Done.
Generating Oracle Wallet for Enterprise Manager OMS... Done.
Generating Oracle Wallet for iAS HTTP Server... Done.
Updating HTTPS port in emoms.properties file... Done.
Generating HTTPS Virtual Host for Enterprise Manager OMS... Done.
Securing central oms... Ended.
dbserver2->./opmnctl status
Processes in Instance: EnterpriseManager0.dbserver2.domain
-------------------+--------------------+---------+---------
ias-component | process-type | pid | status
-------------------+--------------------+---------+---------
DSA | DSA | N/A | Down
HTTP_Server | HTTP_Server | N/A | Down
LogLoader | logloaderd | N/A | Down
dcm-daemon | dcm-daemon | 17817 | Alive
OC4J | home | N/A | Down
OC4J | OC4J_EM | N/A | Down
OC4J | OC4J_EMPROV | N/A | Down
WebCache | WebCache | N/A | Down
WebCache | WebCacheAdmin | N/A | Down
dbserver2->./opmnctl startall
opmnctl: starting opmn and all managed processes...
dbserver2->./opmnctl status
Processes in Instance: EnterpriseManager0.dbserver2.domain
-------------------+--------------------+---------+---------
ias-component | process-type | pid | status
-------------------+--------------------+---------+---------
DSA | DSA | N/A | Down
HTTP_Server | HTTP_Server | 18157 | Alive
LogLoader | logloaderd | N/A | Down
dcm-daemon | dcm-daemon | 17817 | Alive
OC4J | home | 18156 | Alive
OC4J | OC4J_EM | 18158 | Alive
OC4J | OC4J_EMPROV | 18160 | Alive
WebCache | WebCache | 18174 | Alive
WebCache | WebCacheAdmin | 18166 | Alive
dbserver2->
dbserver2->./opmnctl startproc ias-component='DSA'
opmnctl: starting opmn managed processes...
dbserver2->./opmnctl startproc ias-component='LogLoader'
opmnctl: starting opmn managed processes...
dbserver2->./opmnctl status
Processes in Instance: EnterpriseManager0.dbserver2.domain
-------------------+--------------------+---------+---------
ias-component | process-type | pid | status
-------------------+--------------------+---------+---------
DSA | DSA | 18540 | Alive
HTTP_Server | HTTP_Server | 18157 | Alive
LogLoader | logloaderd | 18615 | Alive
dcm-daemon | dcm-daemon | 17817 | Alive
OC4J | home | 18156 | Alive
OC4J | OC4J_EM | 18158 | Alive
OC4J | OC4J_EMPROV | 18160 | Alive
WebCache | WebCache | 18174 | Alive
WebCache | WebCacheAdmin | 18166 | Alive
dbserver2->
[oracle@dbserver1 bin]$ ./emctl upload agent
Oracle Enterprise Manager 10g Release 10.2.0.1.0.
Copyright (c) 1996, 2005 Oracle Corporation. All rights reserved.
---------------------------------------------------------------
EMD upload completed successfully
[oracle@dbserver1 bin]$