Oracle emca on linux
Posted tang88seng
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Oracle emca on linux相关的知识,希望对你有一定的参考价值。
http://blog.csdn.net/haibusuanyun/article/details/16338591
bash-3.2$ lsnrctl status
LSNRCTL for Linux: Version 11.2.0.1.0 - Production on 16-JUL-2017 23:12:16
Copyright (c) 1991, 2009, Oracle. All rights reserved.
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1)))
STATUS of the LISTENER
------------------------
Alias LISTENER
Version TNSLSNR for Linux: Version 11.2.0.1.0 - Production
Start Date 15-JUN-2017 16:11:15
Uptime 31 days 7 hr. 1 min. 1 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Listener Parameter File /ptc/oracle/product/11.2.0/dbhome_1/network/admin/listener.ora
Listener Log File /ptc/oracle/product/11.2.0/dbhome_1/log/diag/tnslsnr/enux-wnc-102/listener/alert/log.xml
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC1)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=enux-wnc-102.ptcts.com)(PORT=1521)))
Services Summary...
Service "PLSExtProc" has 1 instance(s).
Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
Service "wind" has 2 instance(s).
Instance "wind", status UNKNOWN, has 1 handler(s) for this service...
Instance "wind", status READY, has 1 handler(s) for this service...
Service "windXDB" has 1 instance(s).
Instance "wind", status READY, has 1 handler(s) for this service...
The command completed successfully
bash-3.2$ emca -config dbcontrol db -repos recreate
STARTED EMCA at Jul 16, 2017 11:13:16 PM
EM Configuration Assistant, Version 11.2.0.0.2 Production
Copyright (c) 2003, 2005, Oracle. All rights reserved.
Enter the following information:
Database SID: wind
Listener port number: 1521
Listener ORACLE_HOME [ /ptc/oracle/product/11.2.0/dbhome_1 ]:
Password for SYS user:
Password for DBSNMP user:
Password for SYSMAN user:
Email address for notifications (optional):
Outgoing Mail (SMTP) server for notifications (optional):
-----------------------------------------------------------------
You have specified the following settings
Database ORACLE_HOME ................ /ptc/oracle/product/11.2.0/dbhome_1
Local hostname ................ enux-wnc-102.ptcts.com
Listener ORACLE_HOME ................ /ptc/oracle/product/11.2.0/dbhome_1
Listener port number ................ 1521
Database SID ................ wind
Email address for notifications ...............
Outgoing Mail (SMTP) server for notifications ...............
-----------------------------------------------------------------
Do you wish to continue? [yes(Y)/no(N)]: Y
Jul 16, 2017 11:16:27 PM oracle.sysman.emcp.EMConfig perform
INFO: This operation is being logged at /ptc/oracle/cfgtoollogs/emca/wind/emca_2017_07_16_23_13_15.log.
Jul 16, 2017 11:16:29 PM oracle.sysman.emcp.EMReposConfig invoke
INFO: Dropping the EM repository (this may take a while) ...
Jul 16, 2017 11:20:02 PM oracle.sysman.emcp.EMReposConfig invoke
INFO: Repository successfully dropped
Jul 16, 2017 11:20:03 PM oracle.sysman.emcp.EMReposConfig createRepository
INFO: Creating the EM repository (this may take a while) ...
Jul 16, 2017 11:26:38 PM oracle.sysman.emcp.EMReposConfig invoke
INFO: Repository successfully created
Jul 16, 2017 11:26:43 PM oracle.sysman.emcp.EMReposConfig uploadConfigDataToRepository
INFO: Uploading configuration data to EM repository (this may take a while) ...
Jul 16, 2017 11:27:30 PM oracle.sysman.emcp.EMReposConfig invoke
INFO: Uploaded configuration data successfully
Jul 16, 2017 11:27:35 PM oracle.sysman.emcp.util.DBControlUtil configureSoftwareLib
INFO: Software library configured successfully.
Jul 16, 2017 11:27:35 PM oracle.sysman.emcp.EMDBPostConfig configureSoftwareLibrary
INFO: Deploying Provisioning archives ...
Jul 16, 2017 11:28:03 PM oracle.sysman.emcp.EMDBPostConfig configureSoftwareLibrary
INFO: Provisioning archives deployed successfully.
Jul 16, 2017 11:28:03 PM oracle.sysman.emcp.util.DBControlUtil secureDBConsole
INFO: Securing Database Control (this may take a while) ...
Jul 16, 2017 11:28:29 PM oracle.sysman.emcp.util.DBControlUtil secureDBConsole
INFO: Database Control secured successfully.
Jul 16, 2017 11:28:29 PM oracle.sysman.emcp.util.DBControlUtil startOMS
INFO: Starting Database Control (this may take a while) ...
Jul 16, 2017 11:29:07 PM oracle.sysman.emcp.EMDBPostConfig performConfiguration
INFO: Database Control started successfully
Jul 16, 2017 11:29:07 PM oracle.sysman.emcp.EMDBPostConfig performConfiguration
INFO: >>>>>>>>>>> The Database Control URL is https://enux-wnc-102.ptcts.com:5501/em <<<<<<<<<<<
Jul 16, 2017 11:29:10 PM oracle.sysman.emcp.EMDBPostConfig invoke
WARNING:
************************ WARNING ************************
Management Repository has been placed in secure mode wherein Enterprise Manager data will be encrypted. The encryption key has been placed in the file: /ptc/oracle/product/11.2.0/dbhome_1/enux-wnc-102.ptcts.com_wind/sysman/config/emkey.ora. Please ensure this file is backed up as the encrypted data will become unusable if this file is lost.
***********************************************************
Enterprise Manager configuration completed successfully
FINISHED EMCA at Jul 16, 2017 11:29:10 PM
bash-3.2$
bash-3.2$
bash-3.2$ emctl status dbconsole
Oracle Enterprise Manager 11g Database Control Release 11.2.0.1.0
Copyright (c) 1996, 2009 Oracle Corporation. All rights reserved.
https://enux-wnc-102.ptcts.com:5501/em/console/aboutApplication
Oracle Enterprise Manager 11g is running.
------------------------------------------------------------------
Logs are generated in directory /ptc/oracle/product/11.2.0/dbhome_1/enux-wnc-102.ptcts.com_wind/sysman/log
bash-3.2$ emctl start dbconsole
Oracle Enterprise Manager 11g Database Control Release 11.2.0.1.0
Copyright (c) 1996, 2009 Oracle Corporation. All rights reserved.
https://enux-wnc-102.ptcts.com:5501/em/console/aboutApplication
- An instance of Oracle Enterprise Manager 11g Database Control is already running.
以上是关于Oracle emca on linux的主要内容,如果未能解决你的问题,请参考以下文章
Oracle安装-------实例化EM 配置文件时出错问题 ( 转 )