Configure the Oracle 10g em Database Console in Linux

Source: Internet
Author: User

1. Start dbconsole

Oracle@www.bkjia.com ~ $ Emctl start dbconsole

If the message is displayed, the command is displayed, which indicates that the Configuration is not configured or the Configuration is not created./opt/oracle/product/10.2.0/Solaris/j2ee/OC4J_DBConsol.

2. Configure dbconsole

Oracle@www.bkjia.com ~ $ Emca-config dbcontrol db

Started emca at Apr 21,200 9 2:21:41 AM
EM Configuration Assistant, Version 10.2.0.1.0 Production
Copyright (c) 2003,200 5, Oracle. All rights reserved.

Enter the following information:
Database SID: orcl
Listener port number: 1521
Password for SYS user:
Password for DBSNMP user:
Password for SYSMAN user:
Email address for communications (optional ):
Outgoing Mail (SMTP) server for communications (optional ):
-----------------------------------------------------------------

You have specified the following settings

Database ORACLE_HOME ....../opt/oracle/product/10.2.0

Database hostname ...... www.bkjia.com
Listener port number... 1521
Database SID ...... orcl
Email address for communications ...............
Outgoing Mail (SMTP) server for communications ...............

-----------------------------------------------------------------
Do you wish to continue? [Yes (Y)/no (N)]: Y
Apr 21,200 9 2:23:52 AM oracle. sysman. emcp. EMConfig perform
INFO: This operation is being logged at/opt/oracle/product/10.2.0/export toollogs/emca/orcl/emca_2009-04-21_02-21-41-AM.log.
Apr 21,200 9 2:24:14 AM oracle. sysman. emcp. util. DBControlUtil secureDBConsole
INFO: Securing Database Control (this may take a while )...
Apr 21,200 9 2:24:35 AM oracle. sysman. emcp. util. DBControlUtil secureDBConsole
INFO: Database Control secured successfully.
Apr 21,200 9 2:24:35 AM oracle. sysman. emcp. util. DBControlUtil startOMS
INFO: Starting Database Control (this may take a while )...
Apr 21,200 9 2:26:15 AM oracle. sysman. emcp. EMDBPostConfig configure mconfiguration
INFO: Database Control started successfully
Apr 21,200 9 2:26:15 AM oracle. sysman. emcp. EMDBPostConfig configure mconfiguration
INFO: >>>>>>>>>> The Database Control URL is https://www.bkjia.com: 5502/em <
Enterprise Manager configuration completed successfully
Finished emca at Apr 21,200 9 2:26:15 AM

3. view the dbconsole status and access address

Oracle@www.bkjia.com ~ $ Emctl status dbconsole

TZ set to PRC
Oracle Enterprise Manager 10g Database Control Release 10.2.0.4.0
Copyright (c) 1996,200 7 Oracle Corporation. All rights reserved.
Https://www.bkjia.com: 5502/em/console/aboutApplication # access address
Oracle Enterprise Manager 10g is running.
------------------------------------------------------------------
Logs are generated in directory/opt/oracle/product/10.2.0/www.bkjia.com _ orcl/sysman/log

4. Delete the Database Control Configuration of the Database.

Oracle@www.bkjia.com ~] $ Emca-deconfig dbcontrol db

5. Common command syntax:

Emca-repos create creates an EM Database

Emca-repos recreate re-creates an EM Database

Emca-repos drop delete an EM Database

Emca-config dbcontrol db configure Database Control of the Database

Emca-deconfig dbcontrol db deletes the Database Control Configuration of a Database

Emca-reconfig ports reconfigure db control and agent ports

Emctl start console to start the EM console service. You need to set the ORACLE_SID environment variable before use.

Emctl stop console to stop the EM console service. You need to set the ORACLE_SID environment variable before use.

Note: You can check the $ ORACLE_HOME/install/portlist. ini file to find the port currently in use by dbcontrol. The default port is dbcontrol http port 1158 and agent port 3938. To reconfigure the port, run the following command:

Emca-reconfig ports-dbcontrol_http_port 1159

Emca-reconfig ports-agent_port 3939

Use the command line tool emctl to start/stop the console service and view the service status.

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.