Sie sind auf Seite 1von 2

Enable EM Database Control for E-Business Suite R12 1.

Source the environment for the 11g ORACLE_HOME $ source /VISION/oracle/VIS/db/tech_st/11.1.0/VIS_visionerp.env 2. Start the database and the listener $ cd $ORACLE_HOME/appsutil/scripts/test_oratest2 $ ./addbctl.sh start $ ./addlnctl.sh start VIS 3. Implement the password file and to overcome any ORA-01031 errors on the database using Note 358201.1, we only need the following commands to be run (You may have to be under HOME/bin to run this command) $ orapwd file=/VISION/oracle/VIS/db/tech_st/11.1.0/dbs/orapwVIS password=manager entries=5 And to Confirm that the SYS user has been granted the SYSDBA role, use v$pwfile_users view $ sqlplus / as sysdba SQL> select * from v$pwfile_users; USERNAME SYSDB SYSOP ---------------- ----------------SYS TRUE TRUE 4. After that we convert our Applications database to work with an SPFile instead of an init.ora. For Instructions you may read "Converting Oracle APPS R12 to start and work with spfile instead of pfil" or refere to the Note 166601.1 for details on how to convert to using an SPFile. 5. As the owner of the 11gR2 ORACLE_HOME, run the following command to create the Enterprise Manager repository:$ emca -config dbcontrol db -repos create Note: You will be asked to Enter values for SID, port number for Listener Please be sure to Enter the values appropriate to your environment, In our test fresh install we use the following values Database SID: VIS Listener port number: 1521 Password for SYS user: sys Password for DBSNMP user: dbsnmp Password for SYSMAN user: sysman Email address for notifications (optional): Outgoing Mail (SMTP) server for notifications (optional): DB Control Not Starting due to Incorrect Timezone (Doc ID 363063.1) SOLUTION ========== 1. check ORACLE_HOME/sysman/admin/supportedtzs.lst and ORACLE_HOME/sysman/admin/nsupportedtzs.lst for a correct value on TZ

2. Comment the line AgentTZRegion="<some value>" in ORACLE_HOME/<hostname>_<SID>/sysman/config/emd.properties 3. export TZ=<chosen time zone from step 1> 4. emctl config agent getTZ 5. emctl config agent updateTZ 6. emctl start dbconsole Note: on 11.1 and higher DB Console, it is enough to run "emctl resettz agent" and then follow the instructions in the output (ie. running th mgmt_target.set_agent_tzrgn procedure) to change or set the correct timezone on the DB Console.

Das könnte Ihnen auch gefallen