r.log Listening Endpoints Summary... (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=ocm2.localdomain)(PORT=1521))) (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC0))) Services Summary... Service "PLSExtProc" has 1 instance(s). Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service... The command completed successfully [oracle@ocm2 bin]$ sqlplus "/as sysdba"
SQL*Plus: Release 10.2.0.2.0 - Production on Tue Jul 22 18:20:30 2014
Copyright (c) 1982, 2005, Oracle. All Rights Reserved.
Connected to an idle instance.
SYS@EMREP> startup ORACLE instance started.
Total System Global Area 285212672 bytes Fixed Size 1260420 bytes Variable Size 125830268 bytes Database Buffers 155189248 bytes Redo Buffers 2932736 bytes Database mounted. Database opened. SYS@EMREP> exit Disconnected from Oracle Database 10g Enterprise Edition Release 10.2.0.2.0 - Production With the Partitioning, Oracle Label Security, OLAP and Data Mining options [oracle@ocm2 bin]$
2.切换路径并启动OMS [oracle@ocm2 bin]$ cd /u01/app/oracle/OracleHomes/oms10g/bin/ [oracle@ocm2 bin]$ pwd /u01/app/oracle/OracleHomes/oms10g/bin [oracle@ocm2 bin]$ ./emctl start oms Oracle Enterprise Manager 10g Release 10.2.0.1.0 Copyright (c) 1996, 2005 Oracle Corporation. All rights reserved. opmnctl: opmn started Starting HTTP Server ... Starting Oracle Management Server ... Checking Oracle Management Server Status ... Oracle Management Server is Up. [oracle@ocm2 bin]$
3.切换路径启动OracleAS Web Cache [oracle@ocm2 bin]$ pwd /u01/app/oracle/OracleHomes/oms10g/opmn/bin [oracle@ocm2 bin]$ ./opmnctl status
Processes in Instance: EnterpriseManager0.ocm2.localdomain -------------------+--------------------+---------+--------- ias-component | process-type | pid | status -------------------+--------------------+---------+--------- DSA | DSA | N/A | Down HTTP_Server | HTTP_Server | 17072 | Alive LogLoader | logloaderd | N/A | Down dcm-daemon | dcm-daemon | 17039 | Alive OC4J | home | N/A | Down OC4J | OC4J_EMPROV | N/A | Down OC4J | OC4J_EM | 17116 | Alive WebCache | WebCache | N/A | Down WebCache | WebCacheAdmin | N/A | Down
[oracle@ocm2 bin]$ ./opmnctl startproc ias-component=WebCache opmnctl: starting opmn managed processes... [oracle@ocm2 bin]$ ./opmnctl status
Processes in Instance: EnterpriseManager0.ocm2.localdomain -------------------+--------------------+---------+--------- ias-component | process-type | pid | status -------------------+--------------------+---------+--------- DSA | DSA | N/A | Down HTTP_Server | HTTP_Server | 17072 | Alive LogLoader | logloaderd | N/A | Down dcm-daemon | dcm-daemon | 17039 | Alive OC4J | home | N/A | Down OC4J | OC4J_EMPROV | N/A | Down OC4J | OC4J_EM | 17116 | Alive WebCache | WebCache | 17205 |
Alive WebCache | WebCacheAdmin | 17197 |
Alive
[oracle@ocm2 bin]$
4.切换路径并启动agent
[oracle@ocm2 bin]$ pwd /u01/app/oracle/OracleHomes/agent10g/bin [oracle@ocm2 bin]$ ./emctl start agent Oracle Enterprise Manager 10g Release 10.2.0.1.0. Copyright (c) 1996, 2005 Oracle Corporation. All rights reserved. Starting agent ..... started. [oracle@ocm2 bin]$
最后确认ias-component全部已经启动 [oracle@ocm2 bin]$ cd /u01/app/oracle/OracleHomes/oms10g/opmn/bin/ [oracle@ocm2 bin]$ ./opmnctl status
Processes in Instance: EnterpriseManager0.ocm2.localdomain -------------------+--------------------+---------+--------- ias-component | process-type | pid | status -------------------+------ |