Tuesday, July 23, 2013

What happens if we remove the _pages under $COMMON_TOP in R12

In 11i after removing the class files under $COMMON_TOP/_pages new class files are created automatically when the JSP page is called from a browser session and JSP
In R12 if we done the same thing the login screen will hang or it shows blank page
Temporary Solution: compile the jsp pages using below command
Bash$ perl $FND_TOP/patch/115/bin/ojspCompile.pl --compile --flush -p 2
Once completion of above command the new class files are created under $COMMON_TOP/_pages
Permanent solution:
When we check the Application context file it shows like below
<jsp_debug_parameters oa_var="s_jsp_main_mode">justrun</jsp_debug_parameters>
1. We have to change the s_jsp_main_mode from justrun to recompile in the context file.
2. Run the autoconfig to change the values related configuration files
3. How check whether autoconfig completed successfully or not
·         check in application context file
      <jsp_debug_parameters oa_var="s_jsp_main_mode">recompile</jsp_debug_parameters>
·         check the configuration file $INST_TOP/ora/10.1.3/j2ee/oacore/application-deployments/oacore/html/orion-web.xml .
                    <param-name>main_mode</param-name>
                    <param-value>recompile</param-value>
Once completion of above activity the new class files are created under $COMMON_TOP/_pages

 Note:  on production recommended method is manual 'ojspcompile.pl'

Wednesday, July 10, 2013

Patching Issues

 The below opatch issues we can get source or Cloned instance

-bash-3.00$ pwd
/u01/oradb/db/tech_st/11.2.0/OPatch
-bash-3.00$ opatch lsinventory
OPatch failed with error code 104
Solution:
Step 1:-check the oraInst.loc file has created or not at OS Level under /var/opt/oracle/
If not, copy the oraInst.loc from $ORACLE_HOME to /var/opt/oracle/ directory.
Note: /var/opt is Solaris platform .Remaining platforms may be different at OS level
-bash-3.00$cp $ORACLE_HOME /orainst.loc /var/opt/oracle
vi /var/opt/oracle/oraInst.loc
inventory_loc=$ORACLE_HOME/admin/oui/<SID>_<hostname>/oraInventory
Suppose if oraInst.loc file exist but we are getting the error. Then
Step 2:-
-bash-3.00$opatch lsinventory -invPtrLoc $ORACLE_HOME/oraInst.loc
OPatch succeeded.
If above command also not working then
Step3:-we check the files ContentsXML, install. Platform,
logs and oraInstaller.properties are exist or not below location /u01/oradb/db/tech_st/11.2.0/admin/oui/<SID>_<hostname>/oraInventory
If not, copy from source instance to above location.
Step 4: if files are exist then
-bash-3.00$ cd ContentsXML
-bash-3.00$ ls
comps.xml inventory.xml libs.xml
-bash-3.00$ view inventory.xml
<?xml version="1.0" standalone="yes" ?>
<!-- Copyright (c) 1999, 2008, Oracle. All rights reserved. -->
<!-- Do not modify the contents of this file by hand. -->
<INVENTORY>
<VERSION_INFO>
<SAVED_WITH>11.2.0.3.0</SAVED_WITH>
<MINIMUM_VER>2.1.0.6.0</MINIMUM_VER>
</VERSION_INFO>
<HOME_LIST>
<HOME NAME="TEST1_DB__u01_oradb_db_tech_st_11_2_0" LOC="/u01/oradb/db/tech_st/11.2.0" TYPE="O" IDX="1"/>
</HOME_LIST>
</INVENTORY>
Note: here <HOME NAME> we have to provide the our instance name and Oracle home details


After applying  ATG_PF.C.DELTA.7 patch while accessing the login page on webauth or sso level getting the error as Requested resource or page is not allowed in this site
24690680:Patch R12.ATG_PF.C.delta.7: R12.ATG_PF.C.DELTA.7

Sol: Login to sysadmin user local login level
change the profile option from Security: Allowed Resources from CONFIG to ALL
then try to login webuth or SSO level
 




Monday, July 8, 2013

Oracle Apps DBA Issues-2

Q: - while installing R12 we get the error “Rapidwiz fails with error: RC-20200: Fatal: Could not find Unzip” on Solaris.
Solution: unzip the p8639046_R12_GENERIC.zip in stage area. Rapidwiz wants high version to unzip.

Q: - While installing R12 we get the error “RW-50016:ERROR :-{0} was not create” on post install steps at login page level .
Solution: we have to recreate the dbc file by using adgendbc.sh then we click the retry button on screen
Note: first we have to run the Autoconfig on db tier. If it successful no need to create dbc file.
If it fails we have to create the dbc file using adgendbc.sh.

Q: while upgrading from 12.1.1 to 12.1.2 we get the error “ORA-04030: out of process memory “
Solution: - We have to run the adpatch again very less number of workers.
Note: While we applying 7303030 patch default it shows 64 workers. I have given the 30 workers but i got the above error then again we run the adpatch freshly using 12 workers and resolved the issue. So during upgradation we have to enter the vey less number of worker


Q: adcfgclone.pl error:RC-50014: Fatal: Execution of AutoConfig was failed in R12.


When we check the log file we can see the error like below
AutoConfig could not successfully instantiate the following files:

Directory: /u01/oradb/db/tech_st/11.1.0/appsutil/install/TEST1_<hostname>

adcrdb.sh INSTE8

AutoConfig is exiting with status 1

RC-50014: Fatal: Execution of AutoConfig was failed

Raised by oracle.apps.ad.clone.ApplyDatabase
Solution: we have to copy the adcrdb.sh file ($ORACLE_HOME/appsutil/template) from Source to target ($ORACLE_HOME/appsutil/template) then we run the adcfgclone.pl dbTier again.
Note: Normally adcrdb.sh file is missed if we provide the wrong apps password on target


Friday, July 5, 2013

Change forms Mode Socket to Servlet in R12

Run the following command to enable Forms Socket Mode on Forms/web nodes (Place correct context file name and Forms port value)
-bash-3.2$ $FND_TOP/bin/txkrun.pl -script=ChangeFormsMode -contextfile=$CONTEXT_FILE -mode=servlet -runautoconfig=yes
*** ALL THE FOLLOWING FILES ARE REQUIRED FOR RESOLVING RUNTIME ERRORS
*** Log File = /u02/oraapps/inst/apps/TEST1_<hostname>/logs/appl/rgf/TXK/txkChangeFormsMode_Wed_May_29_13_38_03_2013.log
Program : /u02/oraapps/apps/apps_st/appl/fnd/12.0.0/patch/115/bin/txkChangeFormsMode.pl started @ Wed May 29 13:38:03 2013
*** Log File = /u02/oraapps/inst/apps/TEST1_<hostname>/logs/appl/rgf/TXK/txkChangeFormsMode_Wed_May_29_13_38_03_2013.log
Arguments passed: -contextfile=/u02/oraapps/inst/apps/TEST1_<hostname>/appl/admin/TEST1_<hostname>.xml -mode=servlet -runautoconfig=yes -port=NA
Enter the apps schema password:?
-----------
Values used
-----------
Context File : /u02/oraapps/inst/apps/TEST1_<hostname>/appl/admin/TEST1_<hostname>.xml
Mode : servlet
Port : NA
Run AutoConfig : yes
********************************
Backing up context file....
********************************
Context file backed up at: /u02/oraapps/inst/apps/TEST1_<hostname>/logs/appl/rgf/TXK/Wed_May_29_13_38_03_2013/TEST1_<hostname>.xml
********************************
Changing to Servlet Mode.......
********************************
Updating context Variable s_forms_servlet_serverurl....
Updated context Variable s_forms_servlet_serverurl to /forms/lservlet
Updating context Variable s_frmConnectMode....
Updated context Variable s_frmConnectMode to servlet
Updating context Variable s_formsstatus....
Updated context Variable s_formsstatus to enabled
Updating context Variable s_formsserver_status....
Updated context Variable s_formsserver_status to disabled
Updating context Variable s_formslauncher_path....
Updated context Variable s_formslauncher_path to forms/frmservlet
******************************************************
Running AutoConfig to finish the change of Forms Mode.
******************************************************
################# BEGIN AUTOCONFIG RUN #################
Execute SYSTEM command : /u02/oraapps/apps/tech_st/10.1.3/perl/bin/perl /u02/oraapps/apps/apps_st/appl/ad/12.0.0/bin/adconfig.pl -contextfile=/u02/oraapps/inst/apps/TEST1_<hostname>/appl/admin/TEST1_<hostname>.xml ****************** -log=/u02/oraapps/inst/apps/TEST1_<hostname>/logs/appl/rgf/TXK/acfg_log_Wed_May_29_13_38_03_2013.log
The log file for this session is located at: /u02/oraapps/inst/apps/TEST1_<hostname>/logs/appl/rgf/TXK/acfg_log_Wed_May_29_13_38_03_2013.log
AutoConfig is configuring the Applications environment...
AutoConfig will consider the custom templates if present.
Using CONFIG_HOME location : /u02/oraapps/inst/apps/TEST1_<hostname>
Classpath : /u02/oraapps/apps/apps_st/comn/java/lib/appsborg2.zip:/u02/oraapps/apps/apps_st/comn/java/classes
Using Context file : /u02/oraapps/inst/apps/TEST1_<hostname>/appl/admin/TEST1_<hostname>.xml
Context Value Management will now update the Context file
Updating Context file...COMPLETED
Attempting upload of Context file and templates to database...COMPLETED
Configuring templates from the entire product tops...
Configuring AD_TOP........COMPLETED
Configuring FND_TOP.......COMPLETED
Configuring ICX_TOP.......COMPLETED
Configuring MSC_TOP.......COMPLETED
Configuring IEO_TOP.......COMPLETED
Configuring BIS_TOP.......COMPLETED
Configuring AMS_TOP.......COMPLETED
Configuring CCT_TOP.......COMPLETED
Configuring WSH_TOP.......COMPLETED
Configuring CLN_TOP.......COMPLETED
Configuring OKE_TOP.......COMPLETED
Configuring OKL_TOP.......COMPLETED
Configuring OKS_TOP.......COMPLETED
Configuring CSF_TOP.......COMPLETED
Configuring IGS_TOP.......COMPLETED
Configuring IBY_TOP.......COMPLETED
Configuring JTF_TOP.......COMPLETED
Configuring MWA_TOP.......COMPLETED
Configuring CN_TOP........COMPLETED
Configuring CSI_TOP....... COMPLETED
Configuring WIP_TOP.......COMPLETED
Configuring CSE_TOP.......COMPLETED
Configuring EAM_TOP.......COMPLETED
Configuring FTE_TOP....... COMPLETED
Configuring ONT_TOP.......COMPLETED
Configuring AR_TOP........COMPLETED
Configuring AHL_TOP.......COMPLETED
Configuring OZF_TOP.......COMPLETED
Configuring IES_TOP.......COMPLETED
Configuring CSD_TOP.......COMPLETED
Configuring IGC_TOP.......COMPLETED
AutoConfig completed successfully.
################## END AUTOCONFIG RUN ##################
Log file to change the Forms Mode:
/u02/oraapps/inst/apps/TEST1_<hostname>/logs/appl/rgf/TXK/txkChangeFormsMode_Wed_May_29_13_38_03_2013.log
Program: /u02/oraapps/apps/apps_st/appl/fnd/12.0.0/patch/115/bin/txkChangeFormsMode.pl completed @ Wed May 29 13:42:52 2013
End of /u02/oraapps/apps/apps_st/appl/fnd/12.0.0/patch/115/bin/txkChangeFormsMode.pl : No Errors encountered
After Change socket to servlet mode we can see the status like below
-bash-3.2$ sh adformsrvctl.sh status
couldn't set locale correctly
You are running adformsrvctl.sh version 120.15.12010000.2
Forms Connect Mode is set to Servlet. Please Change Forms Mode to socket and then run this script.
adformsrvctl.sh: exiting with status 1
-bash-3.2$ sh adformsctl.sh status
couldn't set locale correctly
You are running adformsctl.sh version 120.16
Checking status of OPMN managed FORMS OC4J instance...
Processes in Instance: TEST1_<hostname>.<hostname>.<domain>
---------------------------------+--------------------+---------+-----------------------------
ias-component | process-type | pid | status
---------------------------------+--------------------+---------+-------------------------------
OC4JGroup:default_group | OC4J:oafm | 2713 | Alive
OC4JGroup:default_group | OC4J:forms | 2682 | Alive
OC4JGroup:default_group | OC4J:oacore | 2650 | Alive
HTTP_Server | HTTP_Server | 2597 | Alive


Oracle Apps DBA Issues

After logging into the Oracle Applications R12, some users are complaining about the error "You have insufficient privileges” Error but they click the home button it is working fine.

Solution:-
1. Manually run the Compile Security' concurrent program, set the parameter to YES
2. Restart the Middle Tier (Apache).
3. Retest the issue.

After logging into the Oracle Applications R12.1.2,They get the pop up message:"Number of open notifications Please use the workflow worklist to view and respond to your notification"

Solution:-
Each Application user that has notifications will be notified of them upon login if the Sign-On: Notification System
Profile option was set to yes. If you wish to stop getting these messages, request you to do the following:
1. Log into Oracle Applications.
2. using the System Administrator responsibility perform the following navigation:
/Profile /System /
3. Within the Profile window, enter: Sign-On: Notification and click on Find.
4. Using the list of values, this feature can be enabled setting it to Yes or Disabled setting it to No.
5. After changing the setting to No, log out of Applications and back in where the change will be in place.

Active users Request shows completed error in R12.
When we check the log file it shows below error
There was an error trying to initialize the HPI library.
Please check your installation, HotSpot does not work correctly
when installed in the JDK 1.2 Solaris Production Release, or
with any JDK 1.1.x release.
signal chaining not allowed for VM interrupt signal, try -XX:+UseAltSigs.
Program exited with status 1

Solution:-
At application user level go to $ORACLE_HOME/bin and take the backup of reports.sh file .then
vi reports.sh (under #Solaris Sparc we have to modify)
## Default settings
else
## Solaris Sparc
LD_LIBRARY_PATH=$ORACLE_HOME/jdk/jre/lib/sparc:$ORACLE_HOME/jdk/jre/lib/sparc/native_threads:$ORACLE_HOME/lib32:$ORACLE_HOME/lib:/usr/dt/lib:/usr/openwin/lib:${LD_LIBRARY_PATH}; export LD_LIBRARY_PATH
We have to add the $ORACLE_HOME/jdk/jre/lib/sparc/server: to starting of above path then we can see like below
LD_LIBRARY_PATH=$ORACLE_HOME/jdk/jre/lib/sparc/server:$ORACLE_HOME/jdk/jre/lib/sparc:$ORACLE_HOME/jdk/jre/lib/sparc/native_threads:$ORACLE_HOME/lib32:$ORACLE_HOME/lib:/usr/dt/lib:/usr/openwin/lib:${LD_LIBRARY_PATH}; export LD_LIBRARY_PATH
Note: The above solution is applicable on Solaris platform only

How to purge the bne.log file under $BNE_TOP/log in Oracle EBS R12
Solution:-
>bne.log

The core files shows big size under dbs directory in db oracle home
Solution:-
1. First we have to remove the core files under dbs directory by using >core command
2. Set sqlnet.expire_time=0 in $ORACLE_HOME/network/admin/sqlnet.ora on the server.
Restart the listener to ensure that these changes take effect.


Tuesday, July 2, 2013

Change Forms Mode from Servlet to Socket in R12

Run the following command to enable Forms Socket Mode on Forms/web nodes (Place correct context file name and Forms port value)
 -bash-3.2$ $FND_TOP/bin/txkrun.pl -script=ChangeFormsMode -contextfile=$CONTEXT_FILE -mode=socket -port=9000 -runautoconfig=No
*** ALL THE FOLLOWING FILES ARE REQUIRED FOR RESOLVING RUNTIME ERRORS
*** Log File = /u02/oraapps/inst/apps/TEST1_<hostname>/logs/appl/rgf/TXK/txkChangeFormsMode_Wed_May_29_11_30_41_2013.log
Program : /u02/oraapps/apps/apps_st/appl/fnd/12.0.0/patch/115/bin/txkChangeFormsMode.pl started @ Wed May 29 11:30:41 2013
*** Log File = /u02/oraapps/inst/apps/TEST1_<hostname>/logs/appl/rgf/TXK/txkChangeFormsMode_Wed_May_29_11_30_41_2013.log
Arguments passed: -contextfile=/u02/oraapps/inst/apps/TEST1_<hostname>/appl/admin/TEST1_<hostname>.xml -mode=socket -port=9000 -runautoconfig=No-----------
Values used
-----------
Context File   : /u02/oraapps/inst/apps/TEST1_<hostname>/appl/admin/TEST1_<hostname>.xml
Mode           : socket
Port           : 9000
Run AutoConfig : No
Execute SYSTEM command : netstat -a
********************************
Backing up context file....
********************************
Context file backed up at: /u02/oraapps/inst/apps/TEST1_<hostname>/logs/appl/rgf/TXK/Wed_May_29_11_30_41_2013/TEST1_<hostname>.xml
********************************
Changing to Socket Mode.......
********************************
Updating context Variable s_forms_servlet_serverurl....
Updated context Variable s_forms_servlet_serverurl to
Updating context Variable s_frmConnectMode....
Updated context Variable s_frmConnectMode to socket
Updating context Variable s_formsstatus....
Updated context Variable s_formsstatus to disabled
Updating context Variable s_formsserver_status....
Updated context Variable s_formsserver_status to enabled
Updating context Variable s_other_service_group_status....
Updated context Variable s_other_service_group_status to enabled
Updating context Variable s_formsport....
Updated context Variable s_formsport to 9000
Updating context Variable s_formslauncher_path....
Updated context Variable s_formslauncher_path to OA_HTML/frmservlet
*********************************************************************************
You should run Autoconfig to update the runtime configurations to new Forms Mode.
*********************************************************************************
Log file to change the Forms Mode:
 /u02/oraapps/inst/apps/TEST1_<hostname>/logs/appl/rgf/TXK/txkChangeFormsMode_Wed_May_29_11_30_41_2013.log
Program: /u02/oraapps/apps/apps_st/appl/fnd/12.0.0/patch/115/bin/txkChangeFormsMode.pl completed @ Wed May 29 11:31:14 2013
End of /u02/oraapps/apps/apps_st/appl/fnd/12.0.0/patch/115/bin/txkChangeFormsMode.pl : No Errors encountered

   Once we changed to socket mode we have to run the autoconfig
Otherwise we get the below error
-bash-3.2$ sh adformsrvctl.sh status
You are running adformsrvctl.sh  version 120.15.12010000.2
Forms Connect Mode is set to Servlet. Please Change Forms Mode to socket and then run this script.
adformsrvctl.sh: exiting with status 1
.end std out.
couldn't set locale correctly
.end err out.
****************************************************
adstrtal.sh: Exiting with status 1
Once autoconfig Completed we see the status like below
-bash-3.2$ sh adformsrvctl.sh status
couldn't set locale correctly
You are running adformsrvctl.sh  version 120.15.12010000.2
Checking status of FORMS Server (Socket Mode)...
Forms Server (Socket) is running as PID 27321
adformsrvctl.sh: exiting with status 0
-bash-3.2$ sh adformsctl.sh status
couldn't set locale correctly
You are running adformsctl.sh  version 120.16
Not starting the Forms OC4J instance as Forms connect mode is set to socket.
adformsctl.sh: exiting with status 1
  1. How to check application is running servlet or socket mode
For Socket mode          :< URL> //<Port>/OA_HTML/frmservlet
For Servlet mode         : <URL>//<Port>/forms/frmservlet
  For Socket mode we can observe the URL like below in context file
<formslauncher_path oa_var="s_formslauncher_path">OA_HTML/frmservlet</formslauncher_path>
    For Servlet mode we can observe the URL like below in context file 
<formslauncher_path oa_var="s_formslauncher_path">forms/frmservlet</formslauncher_path>
 -bash-3.2$ grep Mode $CONTEXT_FILE
<forms_connect oa_var="s_frmConnectMode">socket</forms_connect> (In socket mode)
 <forms_connect oa_var="s_frmConnectMode">servlet</forms_connect> (in servlet mode)
        

Monday, July 1, 2013

OEM Configuration for Single db in Oracle

 We can execute below command in db level any location.
-bash-3.00$ emca -repos create
STARTED EMCA at Mar 18, 2013 5:16:44 AM
EM Configuration Assistant, Version 11.1.0.7.0 Production
Copyright (c) 2003, 2005, Oracle.  All rights reserved.
Enter the following information:
Database SID: TEST1
Listener port number: 1521
Password for SYS user:
Password for SYSMAN user:
Do you wish to continue? [yes(Y)/no(N)]: Y
Mar 18, 2013 5:17:00 AM oracle.sysman.emcp.EMConfig perform
INFO: This operation is being logged at /u01/oradb/db/tech_st/11.1.0/cfgtool
Mar 18, 2013 5:17:01 AM oracle.sysman.emcp.EMReposConfig invoke
INFO: Dropping the EM repository (this may take a while) ...
Mar 18, 2013 5:56:58 AM oracle.sysman.emcp.EMReposConfig invoke
INFO: Repository successfully dropped
Mar 18, 2013 5:56:58 AM oracle.sysman.emcp.EMReposConfig createRepository
INFO: Creating the EM repository (this may take a while) ...
Mar 18, 2013 6:27:38 AM oracle.sysman.emcp.EMReposConfig invoke
INFO: Repository successfully created
Enterprise Manager Configuration completed successfully
FINISHED EMCA at Mar 18, 2013 6:27:38 AM
-Bash-3.00$ emca -config dbcontrol db
STARTED EMCA at Mar 18, 2013 6:28:55 AM
EM Configuration Assistant, Version 11.1.0.7.0 Production
Copyright (c) 2003, 2005, Oracle.  All rights reserved.
Enter the following information:
Database SID: TEST1
Database Control is already configured for the database TEST1
You have chosen to configure Database Control for managing the database TEST1
This will remove the existing configuration and the default settings and perform a fresh configuration
Do you wish to continue? [Yes(Y)/no (N)]: Y
Listener port number: 1521
Password for SYSMAN user: Email address for notifications (optional):
Outgoing Mail (SMTP) server for notifications (optional):
-----------------------------------------------------------------
You have specified the following settings
Database ORACLE_HOME ................ /u01/oradb/db/tech_st/11.1.0
Local hostname................ AAA.bbb.com
Listener port number ................ 1521
Database SID................ TEST1
Email address for notifications...............
Outgoing Mail (SMTP) server for notifications...............
-----------------------------------------------------------------
Do you wish to continue? [yes(Y)/no(N)]: Y
Mar 18, 2013 6:29:37 AM oracle.sysman.emcp.EMConfig perform
INFO: This operation is being logged at /u01/oradb/db/tech_st/11.1.0/cfgtoollogs/emca/TEST1/emca_2013_03_18_06_28_55.log.
Mar 18, 2013 6:29:40 AM oracle.sysman.emcp.util.DBControlUtil stopOMS
INFO: Stopping Database Control (this may take a while) ...
Mar 18, 2013 6:32:33 AM oracle.sysman.emcp.EMReposConfig uploadConfigDataToRepository
INFO: Uploading configuration data to EM repository (this may take a while) ...
Mar 18, 2013 6:49:46 AM oracle.sysman.emcp.EMReposConfig invoke
INFO: Uploaded configuration data successfully
Mar 18, 2013 6:49:58 AM oracle.sysman.emcp.util.DBControlUtil configureSoftwareLib
INFO: Software library configured successfully.
Mar 18, 2013 6:49:58 AM oracle.sysman.emcp.EMDBPostConfig configureSoftwareLibrary
INFO: Deploying Provisioning archives ...
Mar 18, 2013 6:50:18 AM oracle.sysman.emcp.EMDBPostConfig configureSoftwareLibrary
INFO: Provisioning archives deployed successfully.
Mar 18, 2013 6:50:18 AM oracle.sysman.emcp.util.DBControlUtil secureDBConsole
INFO: Securing Database Control (this may take a while)...
Mar 18, 2013 6:50:40 AM oracle.sysman.emcp.util.DBControlUtil secureDBConsole
INFO: Database Control secured successfully.
Mar 18, 2013 6:50:40 AM oracle.sysman.emcp.util.DBControlUtil startOMS
INFO: Starting Database Control (this may take a while)...
Mar 18, 2013 6:51:56 AM oracle.sysman.emcp.EMDBPostConfig performConfiguration
INFO: Database Control started successfully
Mar 18, 2013 6:51:56 AM oracle.sysman.emcp.EMDBPostConfig performConfiguration
INFO: >>>>>>>>>>> The Database Control URL is https://AAA.bbb.com:5500/em <<<<<<<<<<<
Mar 18, 2013 6:52:06 AM oracle.sysman.emcp.EMDBPostConfig invoke
WARNING:
************************ WARNING ************************
Management Repository has been placed in secure mode wherein Enterprise Manager Data will be encrypted.  The encryption key has been placed in the file: /u01/oradb/db/tech_st/11.1.0/AAA.bbb.com_TEST1/sysman/config/emkey.ora.   Please ensure this file is backed up as the encrypted data will become unusable if this file is lost.
Enterprise Manager Configuration completed successfully
FINISHED EMCA at Mar 18, 2013 6:52:06 AM
_________________________________________________________________________________
Then we have to enable the port 5500 from server side.
Once the port 5500 enabled we will check the URL https://AAA.bbb.com:5500/em in internet explorer (or) chrome it will ask username and password. Then
We will give the SYSMAN username and password
                                                  (Or)
  We will give the SYS username and password as SYSDBA
Once password authentication done we will get the Oracle enterprise manager page.
                                 So Finally OEM Configuration has successfully completed
------------------------------------------------**********************---------------------------------------------------
 Errors:
                           We will get the below errors while implementing OEM.
-bash-3.00$ emca -repos create
First time whenever we implement OEM we have to give above command only to create repository
But sometimes  we will get the error like SYSMAN user already exist .in that situation we have to give the  emca -repos recreate command .
-bash-3.00$ emca -repos recreate
Error2:-
If you get any below error after passing the user name and password
1.       It will take long time to authenticate  (or)
2.        internet explorer cannot display the page error
Check the space for SYSAUX, SYSTEM and TEMP Table space.
Note: -   OEM is consuming very high TEMP tablespace