0% found this document useful (0 votes)
71 views18 pages

M4 EBS 12.2 Start Stop Ed5

Oracle Apps DBA Course - EBS_12.2_Start_Stop

Uploaded by

nooralam1964
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
71 views18 pages

M4 EBS 12.2 Start Stop Ed5

Oracle Apps DBA Course - EBS_12.2_Start_Stop

Uploaded by

nooralam1964
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 18

Oracle E-Business Suite R12

Start Stop

[Edition5]
[Last Update 170319]

For any issues/help contact : support@k21academy.com

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

1. Oracle concurrent manager start/stop


http://docs.oracle.com/cd/E26401_01/doc.122/e22953/T174296T575591.htm#52124
7
2. How to start/stop services in Oracle Applications R12
http://onlineappsdba.com/index.php/2010/03/16/how-to-start-stop-services-in-oracle-
applications-r12-application-database-tier/
3. Oracle Apps R12.2 Log files location every Apps DBA must know.
http://onlineappsdba.com/index.php/2015/10/25/r12-2-log-files-location-apps-every-
oracle-apps-dba-r12-must-know/

If you need any more document links then contact us at support@k21academy.com

4 support@k21academy.com
3 ENVIRONMENT DETAILS (MUST READ)

This section covers key points that you must remember for hands on

1. Application tier user as applmgr and Database tier User as oracle


2. Database home directory as /u01/oracle/PRD122/12.1.0
3. Apps instance directory as /u01/oracle/PRD122
4. Password for Weblogic user and other users when prompted is Welcome1 unless
specifically mentioned.
5. Default password for apps is apps and for system is manager.
6. We are going to use port pool 0 for Run Edition and 1 for Patch Edition
7. While sourcing the env file after installation, please put one space after dot and then
name of environment file.

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 .

4.1 Order of Start/Stop


For Startup , you must first Start Database Tier (using user oracle) and then Application
Tier (using user applmgr)

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.

4.2.1 START DATABASE TIER

Note: For Database Tier, there is Database Listener and then actual Database .

1. Login to database user oracle.

su – oracle

2. Set Environment File

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.

3. Start Database Listener as (in our case database instance is PRD122)

lsnrctl start PRD122

4. Start database tier as(in our case database instance is PRD122)

sqlplus “/as sysdba”


SQL> startup
SQL> exit

7 support@k21academy.com
4.2.2 START APPLICATION TIER

1. Login to application user applmgr

su – applmgr

2. Set environment file.

Note: ENV file EBSapp.env will be created in $ORACLE_BASE (/u01/oracle/PRD122 )


when you apply latest AD & TXK patches in Patching Activity Guide

After Patching Guide you use EBSapp.env and before that you use ENV file from
$ORACLE_BASE/fs1/EBSapps/appl/APPS<SID>_<hostname>.env)

Copy this file from /u01/oracle/PRD122/fs1/EBSapps/appl/APPSPRD122_ebs03.env to


user’s $HOME (In my case SID is PRD122 and hostname is ebs03)

Note: To source the env file, Please put space after dot(.) and then name of the env
file.

. APPSPRD122_ebs03.env

3. Start applicaton as (In my case password of apps user is apps)

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

4.3.1 STOP APPLICATION TIER

1. Login to application user applmgr

su – applmgr

2. Set environment file.

Note: ENV file EBSapp.env will be created in $ORACLE_BASE (/u01/oracle/PRD122 )


when you apply latest AD & TXK patches in Patching Activity Guide

After Patching Guide you use EBSapp.env and before that you use ENV file from
$ORACLE_BASE/fs1/EBSapps/appl/APPS<SID>_<hostname>.env )

Copy this file from /u01/oracle/PRD122/fs1/EBSapps/appl/APPSPRD122_ebs03.env to


user’s $HOME (In my case SID is PRD122 and hostname is ebs03)

. 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

4.3.2 STOP DATABASE TIER

1. Login to database`user oracle.

su – oracle

2. Set Environment File.

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

3. Stop database tier as(in our case database instance is PRD122)

lsnrctl stop PRD122


sqlplus “/as sysdba”

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

5.1 adalnctl.sh: exiting with


status 1

Issue: While starting application services, apps listener is not starting

Starting Apps listener.

adalnctl.sh version 120.3.12020000.4

Checking for FNDFS executable.


Starting listener process APPS_PROD122.

adalnctl.sh: exiting with status 1

adalnctl.sh: check the logfile


/u01/oracle/PROD122/fs1/inst/apps/PROD122_1612ebs26/logs/appl/admin/log/adalnctl.txt
for more information ...

Error in logs:
/u01/oracle/PROD122/fs1/inst/apps/PROD122_1612ebs26/logs/appl/admin/log/adalnctl.txt

Starting /u01/oracle/PROD122/fs1/EBSapps/10.1.2/bin/tnslsnr: please wait...

TNSLSNR for Linux: Version 10.1.0.5.0 - Production


System parameter file is
/u01/oracle/PROD122/fs1/inst/apps/PROD122_1612ebs26/ora/10.1.2/network/admin/listen
er.ora
Log messages written to
/u01/oracle/PROD122/fs1/inst/apps/PROD122_1612ebs26/logs/ora/10.1.2/network/apps_p
rod122.log

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

Listener failed to start. See the error message(s) above...

01/17/17-17:32:36 :: adalnctl.sh: exiting with status 1

Cause: TNS-12542: TNS: address already in use

Fix:

1. Check whether port is listening or not as

[applmgr@1612ebs26 ~]$ netstat -an | grep 1636


tcp 0 0 0.0.0.0:1636 0.0.0.0:* LISTEN
[applmgr@1612ebs26 ~]$ su -
Password:
[root@1612ebs26 ~]# lsof -i :1636
COMMAND PID USER FD TYPE DEVICE SIZE NODE NAME
tnslsnr 1691 applmgr 8u IPv4 580273 TCP *:cncp (LISTEN)

2. As port is already listening so kill the process in which port is listening as

[root@1612ebs26 ~]# kill -9 1691


[root@1612ebs26 ~]# lsof -i :1636

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)

4. Start Apps listener again as

cd $ADMIN_SCRIPTS_HOME
[applmgr@1612ebs26 scripts]$ ./adalnctl.sh start

5.2 Issue on starting OPMN


Managed server
Issue:

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

adapcctl.sh: exiting with status 0

adapcctl.sh: check the logfile


/u01/oracle/PRD12222/fs1/inst/apps/PRD12222_iamdemo12/logs/appl/admin/log/adapc
ctl.txt for more information ...

2. And when wechecked under


/u01/oracle/PRD12222/fs1/FMW_Home/webtier/instances, the EBS-web_PRD12222
directory is not there

Cause: For some reason the domain was not created properly by rapid install and
hence the issue is occurring.

Fix: Performed the below steps to fix the issue

15 support@k21academy.com
On Database tier

1. Login to the DB Tier

2. Source the environment

3. Ensure that database and listener are up and running

On Application tier

1. Connect to applmgruser

2. Source RUN file system environment

3. Stop all middle tier services using $ADMIN_SCRIPTS_HOME/adstpall.sh

4. Ensure that no process is running from RUN file system

5. Take a backup of context file. Update s_adminservertimeout context


variable value to 4000. Run AutoConfig

a) Take a backup of the adxmlctx.tmp file.

cp /stage/oracle/ebs/12.2.0/ startCD/Disk1/rapidwiz/etc/adxmlctx.tmp
adxmlctx.tmp_020416

b) Modify below parameter“s_adminservertimeout”with value4000 of


adxmlctx.tmp file

<timeout oa_var="s_adminservertimeout" osd="unix"


default="4000">%s_adminservertimeout%</timeout>

6. Execute below command:

$FND_TOP/bin/txkrun.pl -script=ChkEBSDependecies -server=ALL_SERVERS

7. Recreate the domain by following below steps:

cd $FND_TOP/patch/115/bin

16 support@k21academy.com
perl txkEBSDomainConfig.pl

8. Below prompts are shown by the script:

Enter the full path of Applications Context File [DEFAULT -


/u01/oracle/PRD12222/fs1/inst/apps/PRD12222_iamdemo12/appl/admin]:

Enter the server start mode for the domain [DEFAULT - prod]: prod
Enter the APPS schema password :apps
Enter weblogic admin server password : Welcome1

You should see below output:

9. Start all middle tier services using $ADMIN_SCRIPTS_HOME/adstrtal.sh

10. This will fix the issue in run filesystem. To propagate the change to patch filesystem
run fs_clone.

11. Access the EBS URL: http://hostname:port

5.3 ORA-00704: bootstrap


process failure

Issue: While starting database after upgrade to 11.2.0.4


17 support@k21academy.com
Error message while starting Database:
SQL> startup
ORACLE instance started.

Total System Global Area 2137886720 bytes


Fixed Size 2254952 bytes
Variable Size 452986776 bytes
Database Buffers 1660944384 bytes
Redo Buffers 21700608 bytes
Database mounted.
ORA-01092: ORACLE instance terminated. Disconnection forced
ORA-00704: bootstrap process failure
ORA-39700: database must be opened with UPGRADE option
Process ID: 3958
Session ID: 1 Serial number: 5

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

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy