Emca reconstruction EM in oracle in linux

Source: Internet
Author: User

In linux, emca re-build EM in oracle. If you change the machine name, you can re-create EM. Generally, you do not need to re-configure emca to re-create EM [oracle @ dev ~]. $ Cd/u01/app/oracle/product/11.2.0/dbhome_1/bin www.2cto.com recreate an EM database emca-repos recreate delete an EM database emca-repos drop create an EM database emca-repos when you create a Database to configure the Database Controlemca-config dbcontrol db, you may change the port number after you reconfigure EM, note that the port number is/u01/app/oracle/product/11.2.0/dbhome_1/sysman/config/emca according to the configuration file. propertiesDBCONTROL_HTTP_PORT_MIN = 5500DBCONTROL_HTTP_PORT_MAX = 5519DBCONTROL_HTTP_PORT_DEFAULT = 1158 www.2cto.com Configure the EM port number emca-reconfig ports-dbcontrol_http_port 1158 configure the proxy port number emca-reconfig ports-agent_port 3938. The configured file is in/u01/app/oracle/product/11.2.0/dbhome_1/install/ portlist. ini may have been assigned the port number you want to configure. You can check the log and it will automatically assign you one (you can delete the occupied directory, not tested) /u01/app/oracle/product/11.2.0/dbhome_1/productname/j2ee/OC4J_DBConsole_dev_orcl/u01/app/oracle/product/11.2.0/dbhome_1/dev_orcl reconfigure the host name used by EM, is the domain name corresponding to your host name, in the/etc/hosts file, front. For others, set the ORACLE_SID environment variable first, or set ORACLE_UNQNAME = ORCL (database instance name) view the EM console service status emctl status dbconsole start EM console service emctl start dbconsole stop EM console service emctl stop dbconsole www.2cto.com if the following error occurs, you can reconfigure EM, or copy the previous EM folder and change it to localhost. localdomain is the domain name corresponding to the machine name [oracle @ dev bin] $ emctl status dbconsolesolaris Configuration issue. /u01/app/oracle/product/11.2.0/dbhome_1/productname/j2ee/OC4J_DBConsole_localhost.localdomain_orcl not found. can be copied (dev is the name of the previous machine) /u01/app/oracle/product/11.2.0/dbhome_1/productname/j2ee/users/u01/app/oracle/product/11.2.0/dbhome_1/Solaris/j2ee/OC4J_DBConsole_dev_orcl/u01/ app/oracle/product/11.2.0/dbhome_1/Solaris/j2ee/OC4J_DBConsole_localhost.localdomain_orcl/u01/app/oracle/product/11.2.0/dbhome_1/localhost. localdomain_orclcp-target directory of the rf Source directory

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.