[root@rac2 ~]# su - oracle
[oracle@rac2 ~]$ emctl status agent
TZ set to PRC
EM Configuration issue. /u01/oracle/db_1/rac2_racdb2 not found.
[oracle@rac2 ~]$ emctl start agent
TZ set to PRC
EM Configuration issue. /u01/oracle/db_1/rac2_racdb2 not found.
[oracle@rac2 ~]$ cd /u01/oracle/agent10g/bin/
[oracle@rac2 bin]$ ./emctl start agent
Oracle Enterprise Manager 10g Release 5 Grid Control 10.2.0.5.0.
Copyright (c) 1996, 2009 Oracle Corporation. All rights reserved.
Agent is already running
[oracle@rac2 bin]$ ./emctl upload
Oracle Enterprise Manager 10g Release 5 Grid Control 10.2.0.5.0.
Copyright (c) 1996, 2009 Oracle Corporation. All rights reserved.
---------------------------------------------------------------
EMD upload error: uploadXMLFiles skipped :: OMS version not checked yet..
[oracle@rac2 bin]$ ./emctl verifykey
Oracle Enterprise Manager 10g Release 5 Grid Control 10.2.0.5.0.
Copyright (c) 1996, 2009 Oracle Corporation. All rights reserved.
-----------------------------------------------------
verifykey: Successfully Completed communication with agent
EMD pingOMS error: SSL handshake failure between OMS https://omrep.localdomain:1159/em/upload and Agent , err -10
-----------------------------------------------------
[oracle@rac2 bin]$ ./emctl secure agent
Oracle Enterprise Manager 10g Release 5 Grid Control 10.2.0.5.0.
Copyright (c) 1996, 2009 Oracle Corporation. All rights reserved.
Agent successfully stopped... Done.
Securing agent... Started.
Enter Agent Registration Password :
Agent successfully restarted... Done.
Securing agent... Successful.
[oracle@rac2 bin]$ ./emctl start agent
Oracle Enterprise Manager 10g Release 5 Grid Control 10.2.0.5.0.
Copyright (c) 1996, 2009 Oracle Corporation. All rights reserved.
Agent is already running
[oracle@rac2 bin]$ ./emctl upload
Oracle Enterprise Manager 10g Release 5 Grid Control 10.2.0.5.0.
Copyright (c) 1996, 2009 Oracle Corporation. All rights reserved.
---------------------------------------------------------------
EMD upload error: Upload timed out before completion.
Number of files to upload before the upload: 530, total size (MB): 31.91.
Remaining number of files to upload: 530, total size (MB): 31.91.
[oracle@rac2 ~]$ emctl status agent
TZ set to PRC
EM Configuration issue. /u01/oracle/db_1/rac2_racdb2 not found.
[oracle@rac2 ~]$ emctl start agent
TZ set to PRC
EM Configuration issue. /u01/oracle/db_1/rac2_racdb2 not found.
[oracle@rac2 ~]$ cd /u01/oracle/agent10g/bin/
[oracle@rac2 bin]$ ./emctl start agent
Oracle Enterprise Manager 10g Release 5 Grid Control 10.2.0.5.0.
Copyright (c) 1996, 2009 Oracle Corporation. All rights reserved.
Agent is already running
[oracle@rac2 bin]$ ./emctl upload
Oracle Enterprise Manager 10g Release 5 Grid Control 10.2.0.5.0.
Copyright (c) 1996, 2009 Oracle Corporation. All rights reserved.
---------------------------------------------------------------
EMD upload error: uploadXMLFiles skipped :: OMS version not checked yet..
[oracle@rac2 bin]$ ./emctl verifykey
Oracle Enterprise Manager 10g Release 5 Grid Control 10.2.0.5.0.
Copyright (c) 1996, 2009 Oracle Corporation. All rights reserved.
-----------------------------------------------------
verifykey: Successfully Completed communication with agent
EMD pingOMS error: SSL handshake failure between OMS https://omrep.localdomain:1159/em/upload and Agent , err -10
-----------------------------------------------------
[oracle@rac2 bin]$ ./emctl secure agent
Oracle Enterprise Manager 10g Release 5 Grid Control 10.2.0.5.0.
Copyright (c) 1996, 2009 Oracle Corporation. All rights reserved.
Agent successfully stopped... Done.
Securing agent... Started.
Enter Agent Registration Password :
Agent successfully restarted... Done.
Securing agent... Successful.
[oracle@rac2 bin]$ ./emctl start agent
Oracle Enterprise Manager 10g Release 5 Grid Control 10.2.0.5.0.
Copyright (c) 1996, 2009 Oracle Corporation. All rights reserved.
Agent is already running
[oracle@rac2 bin]$ ./emctl upload
Oracle Enterprise Manager 10g Release 5 Grid Control 10.2.0.5.0.
Copyright (c) 1996, 2009 Oracle Corporation. All rights reserved.
---------------------------------------------------------------
EMD upload error: Upload timed out before completion.
Number of files to upload before the upload: 530, total size (MB): 31.91.
Remaining number of files to upload: 530, total size (MB): 31.91.
来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/27677524/viewspace-756486/,如需转载,请注明出处,否则将追究法律责任。
转载于:http://blog.itpub.net/27677524/viewspace-756486/