Oracle EMCA on Linux

Source: Internet
Author: User
Tags reserved

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, 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 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, have 1 handler (s) for the This service ...
Service "Wind" has 2 instance (s).
Instance "Wind", status UNKNOWN, have 1 handler (s) for the This service ...
Instance "Wind", status ready, have 1 handler (s) for the This service ...
Service "Windxdb" has 1 instance (s).
Instance "Wind", status ready, have 1 handler (s) for the This service ...
The command completed successfully
bash-3.2$emca-config Dbcontrol Db-repos recreate

STARTED EMCA at Jul 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.-----

The Local hostname ... enux-wnc-102.ptcts.com, ... and so on.
Listener oracle_home ..../ptc/oracle/product/11.2.0/dbhome_1.-----
Listener port number ....... ..... 1521
Database SID ... wind, and so on ... wind.
e-mail address for notifications .......
Outgoing Mail (SMTP) server for notifications ..... .....

-----------------------------------------------------------------
wish to continue? [Yes (Y)/no (N)]: Y
Jul 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 11:16:29 PM Oracle.sysman.emcp.EMReposConfig invoke
Info:dropping the EM repository (this is a while) ...

Jul 11:20:02 PM Oracle.sysman.emcp.EMReposConfig invoke
Info:repository successfully dropped
Jul 11:20:03 PM oracle.sysman.emcp.EMReposConfig createrepository
Info:creating the EM repository (this is a while) ...





Jul 11:26:38 PM Oracle.sysman.emcp.EMReposConfig invoke
Info:repository successfully created
Jul 11:26:43 PM oracle.sysman.emcp.EMReposConfig uploadconfigdatatorepository
Info:uploading configuration data to EM repository (this could take a while) ...
Jul 11:27:30 PM Oracle.sysman.emcp.EMReposConfig invoke
info:uploaded Configuration Data successfully
Jul 11:27:35 PM oracle.sysman.emcp.util.DBControlUtil configuresoftwarelib
Info:software Library configured successfully.
Jul 11:27:35 PM oracle.sysman.emcp.EMDBPostConfig configuresoftwarelibrary
Info:deploying Provisioning Archives ...
Jul 11:28:03 PM oracle.sysman.emcp.EMDBPostConfig configuresoftwarelibrary
Info:provisioning Archives deployed successfully.
Jul 11:28:03 PM oracle.sysman.emcp.util.DBControlUtil securedbconsole
Info:securing Database Control (This is a while) ...
Jul 11:28:29 PM oracle.sysman.emcp.util.DBControlUtil securedbconsole
Info:database Control secured successfully.
Jul 11:28:29 PM oracle.sysman.emcp.util.DBControlUtil startoms
Info:starting Database Control (This is a while) ...
Jul 11:29:07 PM oracle.sysman.emcp.EMDBPostConfig performconfiguration
Info:database Control started successfully
Jul 11:29:07 PM oracle.sysman.emcp.EMDBPostConfig performconfiguration
INFO: >>>>>>>>>>> The Database Control URL is https://enux-wnc-102.ptcts.com:5501/em <<<<<<<<<<<
Jul 11:29:10 PM Oracle.sysman.emcp.EMDBPostConfig invoke
WARNING:
WARNING ************************

Management Repository have been placed in secure mode wherein Enterprise Manager data would 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 was backed up as the encrypted data would become unusable if this file is lost.

***********************************************************
Enterprise Manager Configuration completed successfully
Finished EMCA at Jul 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, Oracle Corporation. All rights reserved.
https://enux-wnc-102.ptcts.com:5501/em/console/aboutApplication
Oracle Enterprise Manager 11g is running.
------------------------------------------------------------------
Logs is 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, 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

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.