[oracle@std bin]$ /u02/app/product/10.2./db_1/bin/emca -config dbcontrol db -repos createSTARTED EMCA at -Jan- ::
EM Configuration Assistant, Version 10.2.0.1. Production
Copyright (c) , , Oracle. All rights reserved.Enter the following information:
Database SID: ORCL
Listener port number:
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 settingsDatabase ORACLE_HOME ................ /u02/app/product/10.2./db_1Database hostname ................ std
Listener port number ................
Database SID ................ ORCL
Email address for notifications ...............
Outgoing Mail (SMTP) server for notifications ............... -----------------------------------------------------------------
Do you wish to continue? [yes(Y)/no(N)]: Y
-Jan- :: oracle.sysman.emcp.EMConfig perform
INFO: This operation is being logged at /u02/app/product/10.2./db_1/cfgtoollogs/emca/CUUG/emca_2014--26_11---AM.log.
-Jan- :: oracle.sysman.emcp.EMReposConfig createRepository
INFO: Creating the EM repository (this may take a while) ...
-Jan- :: oracle.sysman.emcp.EMReposConfig invoke
INFO: Repository successfully created
-Jan- :: oracle.sysman.emcp.util.DBControlUtil startOMS
INFO: Starting Database Control (this may take a while) ...
-Jan- :: oracle.sysman.emcp.EMDBPostConfig performConfiguration
INFO: Database Control started successfully
-Jan- :: oracle.sysman.emcp.EMDBPostConfig performConfiguration
INFO: >>>>>>>>>>> The Database Control URL is http://std:1158/em <<<<<<<<<<<
Enterprise Manager configuration completed successfully
FINISHED EMCA at -Jan- ::
[oracle@std bin]$ netstat -tulnp|grep
(Not all processes could be identified, non-owned process info
will not be shown, you would have to be root to see it all.)
tcp 0.0.0.0: 0.0.0.0:* LISTEN /java
[oracle@std bin]$ emctl
TZ set to PRC
Oracle Enterprise Manager 10g Database Control Release 10.2.0.1.
Copyright (c) , Oracle Corporation. All rights reserved.
Invalid argumentsUnknown command option
Usage::
Oracle Enterprise Manager 10g Database Control commands:
emctl start| stop| status| setpasswd dbconsole
emctl secure <options> emctl set ssl test|off|on em
emctl set ldap <host> <port> <user dn> <user pwd> <context dn>
emctl blackout options can be listed by typing "emctl blackout"
emctl config options can be listed by typing "emctl config"
emctl secure options can be listed by typing "emctl secure"
emctl ilint options can be listed by typing "emctl ilint"
emctl deploy options can be listed by typing "emctl deploy"
[oracle@std bin]$ emctl status dbconsole
TZ set to PRC
Oracle Enterprise Manager 10g Database Control Release 10.2.0.1.
Copyright (c) , Oracle Corporation. All rights reserved.
http://std:1158/em/console/aboutApplication
Oracle Enterprise Manager 10g is running.
------------------------------------------------------------------
Logs are generated in directory /u02/app/product/10.2./db_1/std_CUUG/sysman/log
[oracle@std bin]$ emctl stop dbconsole
TZ set to PRC
Oracle Enterprise Manager 10g Database Control Release 10.2.0.1.
Copyright (c) , Oracle Corporation. All rights reserved.
http://std:1158/em/console/aboutApplication
Stopping Oracle Enterprise Manager 10g Database Control ...
... Stopped.
[oracle@std ~]$ emca -deconfig dbcontrol db -repos dropSTARTED EMCA at Apr , :: PM
EM Configuration Assistant, Version 11.2.0.0. Production
Copyright (c) , , Oracle. All rights reserved.Enter the following information:
Database SID: ORCL
Listener port number:
Password for SYS user:
Password for SYSMAN user: Do you wish to continue? [yes(Y)/no(N)]: y
Apr , :: PM oracle.sysman.emcp.EMConfig perform
INFO: This operation is being logged at /u02/app/cfgtoollogs/emca/ORCL/emca_2014_04_18_12_37_57.log.
Apr , :: PM oracle.sysman.emcp.EMDBPreConfig performDeconfiguration
WARNING: EM is not configured for this database. No EM-specific actions can be performed.
Apr , :: PM oracle.sysman.emcp.ParamsManager checkListenerStatusForDBControl
WARNING: Error initializing SQL connection. SQL operations cannot be performed
Apr , :: PM oracle.sysman.emcp.EMReposConfig invoke
INFO: Dropping the EM repository (this may take a while) ...
Apr , :: PM oracle.sysman.emcp.EMReposConfig invoke
INFO: Repository successfully dropped
Enterprise Manager configuration completed successfully
FINISHED EMCA at Apr , :: PM