M4 EBS 12.2 Start Stop Ed5
M4 EBS 12.2 Start Stop Ed5
Start Stop
[Edition5]
[Last Update 170319]
1 support@k21academy.com
1 Introduction .........................................................................................................................................................3
2 Documentation Links ........................................................................................................................................4
3 Environment Details (must read) .................................................................................................................5
4 Start/Stop Oracle EBS Services ......................................................................................................................6
4.1 Order of Start/Stop..................................................................................................................................................... 6
4.2 Start EBS ......................................................................................................................................................................... 7
4.2.1 Start Database Tier ............................................................................................................................................................... 7
4.2.2 Start Application Tier .......................................................................................................................................................... 8
4.3 Stop EBS ........................................................................................................................................................................ 10
4.3.1 Stop Application Tier .........................................................................................................................................................10
4.3.2 Stop Database Tier..............................................................................................................................................................11
5 Troubleshooting .............................................................................................................................................. 13
5.1 adalnctl.sh: exiting with status 1 ......................................................................................................................... 13
5.2 Issue on starting OPMN Managed server.......................................................................................................... 15
5.3 ORA-00704: bootstrap process failure ............................................................................................................. 17
2 support@k21academy.com
1 INTRODUCTION
This activity guide cover Start and Stop of Oracle E-Business Suite R12.2 for Apps DBA
Training. This guide covers:
Start and Stop of Oracle AppsDBA
Troubleshooting Start/Stop Issues
3 support@k21academy.com
2 DOCUMENTATION LINKS
4 support@k21academy.com
3 ENVIRONMENT DETAILS (MUST READ)
This section covers key points that you must remember for hands on
If you need any more document links that you can’t find here then contact us as
support@k21academy.com
5 support@k21academy.com
4 START/STOP ORACLE EBS SERVICES
Note: When you first time install EBS R12, services start Automatically. For first time you
will stop Services and then you will Start Services .
For Stopping, you must first stop Application Tier (using user applmgr) and then
Stop Database Tier (using user oracle)
6 support@k21academy.com
4.2 Start EBS
Note: Here you see Hostname ebs03 where as in your case Hostname should be
hostname of your machine that you got by typing hostname on Terminal.
Note: For Database Tier, there is Database Listener and then actual Database .
su – oracle
Note: ENV file for Database is under Database Oracle Home i.e.
/u01/oracle/PRD122/12.1.0 in format SID_hostmame. Copy this file to user’s $HOME
. $HOME/PRD122_ebs03.env
Note: To source the env file, Please put space after dot(.) and then name of the env file
as shown above.
7 support@k21academy.com
4.2.2 START APPLICATION TIER
su – applmgr
After Patching Guide you use EBSapp.env and before that you use ENV file from
$ORACLE_BASE/fs1/EBSapps/appl/APPS<SID>_<hostname>.env)
Note: To source the env file, Please put space after dot(.) and then name of the env
file.
. APPSPRD122_ebs03.env
cd $ADMIN_SCRIPTS_HOME
./adstrtal.sh apps/apps
8 support@k21academy.com
Note: If Service got failed to start then look into log file
/u01/oracle/<PRD122>/fs1/inst/apps/<PRD122_server01>/logs/appl/admin/log/adstrtal.log
9 support@k21academy.com
4.3 Stop EBS
su – applmgr
After Patching Guide you use EBSapp.env and before that you use ENV file from
$ORACLE_BASE/fs1/EBSapps/appl/APPS<SID>_<hostname>.env )
. APPSPRD122_ebs03.env
3. Start applicaton as
cd $ADMIN_SCRIPTS_HOME
./adstpall.sh apps/apps
10 support@k21academy.com
Note: If Service got failed to stop then look into log file
/u01/oracle/<PRD122>/fs1/inst/apps/<PRD122_server01>/logs/appl/admin/log/adstpall.l
og
su – oracle
Note: ENV file for Database is under Database Oracle Home i.e.
/u01/oracle/PRD122/12.1.0 in format SID_hostmame. Copy this file to user’s $HOME
. PRD122_ebs03.env
11 support@k21academy.com
SQL> shutdown immediate
SQL> exit
This finishes Start/Stop EBS Services. In next section we will learn some
troubleshooting.
12 support@k21academy.com
5 TROUBLESHOOTING
Error in logs:
/u01/oracle/PROD122/fs1/inst/apps/PROD122_1612ebs26/logs/appl/admin/log/adalnctl.txt
13 support@k21academy.com
Error listening on: (ADDRESS=(PROTOCOL=TCP)(Host=1612ebs26)(Port=1636))
TNS-12542: TNS:address already in use
TNS-12560: TNS:protocol adapter error
TNS-00512: Address already in use
Linux Error: 98: Address already in use
Fix:
14 support@k21academy.com
3. Comment out below two lines in sqlnet.ora under $TNS_ADMIN at apps tier
tcp.validate_checking = yes
tcp.invited nodes = (1612EBS26.k21technologies.com)
cd $ADMIN_SCRIPTS_HOME
[applmgr@1612ebs26 scripts]$ ./adalnctl.sh start
1. Starting all Application tier services on the run file system and getting the below issue:
sh $ADMIN_SCRIPTS_HOME/adstrtal.sh
Checking status of OPMN managed Oracle HTTP Server (OHS) instance ...
/usr/bin/linux32:
/u01/oracle/PRD12222/fs1/FMW_Home/webtier/instances/EBS_web_PRD12222_O
HS1/bin/opmnctl: No such file or directory
Cause: For some reason the domain was not created properly by rapid install and
hence the issue is occurring.
15 support@k21academy.com
On Database tier
On Application tier
1. Connect to applmgruser
cp /stage/oracle/ebs/12.2.0/ startCD/Disk1/rapidwiz/etc/adxmlctx.tmp
adxmlctx.tmp_020416
cd $FND_TOP/patch/115/bin
16 support@k21academy.com
perl txkEBSDomainConfig.pl
Enter the server start mode for the domain [DEFAULT - prod]: prod
Enter the APPS schema password :apps
Enter weblogic admin server password : Welcome1
10. This will fix the issue in run filesystem. To propagate the change to patch filesystem
run fs_clone.
Fix:
sqlplus / as sysdba
sql>startup upgrade
sql>@$ORACLE_HOME/rdbms/admin/catupgrd.sql
sql>@$ORACLE_HOME/rdbms/admin/utlrp.sql
sql>shut immediate
sql>startup
Reference:
https://community.oracle.com/thread/1114869?start=0
This activity guide completes with Oracle EBS 12.2 start/stop services.
18 support@k21academy.com