_____________________________________________________________________________________ Global Docu: ============ Enterprise Manager Documentation: http://docs.oracle.com/en/enterprise-manager/ Oracle Enterprise Manager Documentation 11g Release 1 (11.1): http://docs.oracle.com/cd/E11857_01/index.htm Tools for Database Administrators: http://docs.oracle.com/cd/E11882_01/server.112/e40540/cncptdba.htm#CNCPT830 Managing Oracle Enterprise Manager Database Control: http://docs.oracle.com/cd/E11882_01/server.112/e25494/dbcontrol.htm#ADMIN13401 _____________________________________________________________________________________ emctl stop dbconsole emca -repos drop emca -config dbcontrol db -repos create emctl status dbconsole emctl start dbconsole _____________________________________________________________________________________ USING EMCA IN SILENT MODE WITH AN INPUT FILE ============================================ Instead of answering a series of prompts when you run EMCA, you can use the -respFile parameter to specify an input file. The input file you create must be in a format similar to the following example: PORT=1521 SID=DB DBSNMP_PWD= SYSMAN_PWD= After you create an EMCA input file, you can use it on the command line as follows, where input_file_path is the full path name of the input file: emca -config dbcontrol db -respFile Source: https://docs.oracle.com/cd/E11882_01/install.112/e48195.pdf _____________________________________________________________________________________ LOCATIONS ========= Configuration: -------------- /app/istp/oracle/1120/db/product/11.2.0.3/sysman/config To modify port: - Modify the file $ORACLE_HOME//sysman/config/emoms.properties Change the ConsoleServerPort property to the new port. - Modify the file $ORACLE_HOME//sysman/config/emd.properties Change the REPOSITORY_URL property. - Modify the file $ORACLE_HOME/oc4j/j2ee//config/http-web-site.xml Change all references of the old port to the new port. - Restart the DB Control process _____________________________________________________________________________________