You are on page 1of 25

login as: oracle

oracle@192.168.0.118's password:
Last login: Thu Jul 2 10:55:59 2015 from 192.168.8.197
[oracle@np ~]$ . /u02/oracle/TEST/EBSapps.env run
E-Business Suite Environment Information
---------------------------------------RUN File System
: /u02/oracle/TEST/fs2/EBSapps/appl
PATCH File System
: /u02/oracle/TEST/fs1/EBSapps/appl
Non-Editioned File System : /u02/oracle/TEST/fs_ne
DB Host: np.treetgroup.com Service/SID: TEST
Sourcing the RUN File System ...
[oracle@np ~]$ cd $PATCH_TOP
[oracle@np patch]$ ls
19724468
p17537119_R12_GENERIC.zip
20445842
p19724468_R12.QP.C_R12_GENERIC.zip
21298500
p20445842_R12.PO.D_R12_LINUX (1).zip
adctrl.log
p21298500_R12.PER.C_R12_GENERIC_Debug.zip
checkDBpatch_7448.log README.txt
checkDBpatch.cmd
txk_R1220_DB_base_bugs.xml
checkDBpatch.sh
[oracle@np patch]$ rm -rf checkDBpatch.sh
[oracle@np patch]$ rm -rf checkDBpatch.cmd
[oracle@np patch]$ rm -rf txk_R1220_DB_base_bugs.xml
[oracle@np patch]$ unzip p17537119_R12_GENERIC.zip
Archive: p17537119_R12_GENERIC.zip
replace README.txt? [y]es, [n]o, [A]ll, [N]one, [r]ename: A
inflating: README.txt
inflating: checkDBpatch.cmd
inflating: txk_R1220_DB_base_bugs.xml
inflating: checkDBpatch.sh
[oracle@np patch]$ ls
19724468
p17537119_R12_GENERIC.zip
20445842
p19724468_R12.QP.C_R12_GENERIC.zip
21298500
p20445842_R12.PO.D_R12_LINUX (1).zip
adctrl.log
p21298500_R12.PER.C_R12_GENERIC_Debug.zip
checkDBpatch_7448.log README.txt
checkDBpatch.cmd
txk_R1220_DB_base_bugs.xml
checkDBpatch.sh
[oracle@np patch]$ sqlplus apps/apps1234
SQL*Plus: Release 10.1.0.5.0 - Production on Thu Jul 2 12:53:29 2015
Copyright (c) 1982, 2005, Oracle. All rights reserved.
Connected to:
Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
SQL> @checkDBpatch.sh
SP2-0042: unknown command
SP2-0734: unknown command
SP2-0734: unknown command
SP2-0734: unknown command

"!/bin/sh" - rest of line


beginning "$Header: c..."
beginning "This scrip..."
beginning "exist in a..."

ignored.
- rest of line ignored.
- rest of line ignored.
- rest of line ignored.

SP2-0044: For a list of known commands enter HELP


and to leave enter EXIT.
SP2-0734: unknown command beginning "before sta..." - rest of line ignored.
SP2-0734: unknown command beginning "runProcess..." - rest of line ignored.
SP2-0734: unknown command beginning "LOCAL_TEMP..." - rest of line ignored.
SP2-0734: unknown command beginning "if test ! ..." - rest of line ignored.
SP2-0044: For a list of known commands enter HELP
and to leave enter EXIT.
SP2-0734: unknown command beginning "mkdir -p $..." - rest of line ignored.
Usage: { EXIT | QUIT } [ SUCCESS | FAILURE | WARNING | n |
<variable> | :<bindvariable> ] [ COMMIT | ROLLBACK ]
Disconnected from Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64
bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
[oracle@np patch]$ sqlplus apps/apps1234
SQL*Plus: Release 10.1.0.5.0 - Production on Thu Jul 2 12:54:35 2015
Copyright (c) 1982, 2005, Oracle. All rights reserved.
Connected to:
Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
SQL> exit
Disconnected from Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64
bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
[oracle@np patch]$ sh checkDBpatch.sh
+===============================================================+
|
Copyright (c) 2005, 2014 Oracle and/or its affiliates.
|
|
All rights reserved.
|
|
EBS Technology Codelevel Checker
|
+===============================================================+
Executing Technology Codelevel Checker version: 120.24
Enter the full path to the DB Context file :/u01/oracle/TEST/11.2.0/appsutil/TES
T_np.xml
Bugfix XML file version: 120.0.12020000.23
WARNING: Bugfix XML file ( txk_R1220_DB_base_bugs.xml ) in current directory is
more than 30 days old.
Please check if a newer version is available in patch 17537119.
Proceeding with the checks...
Getting the database release ...
Setting database release to 11.2.0.3
DB connectivity failed.
STARTED Pre-req Patch Testing : Thu Jul 2 12:55:27 PKT 2015
Log file for this session : ./checkDBpatch_17113.log
Got the list of bug fixes to be applied and the ones to be rolled back.
Checking against the DB ORACLE_HOME...

Opatch is at the required version.


Found patch records in the inventory.
All the required one-offs are present in Oracle Database Home
Database not available, results could not be stored.
FINISHED Pre-req Patch Testing : Thu Jul 2 12:55:33 PKT 2015
=========================================================
[oracle@np patch]$ . /u01/oracle/TEST/
11.2.0/
data/
oraInventory/
[oracle@np patch]$ . /u01/oracle/TEST/11.2.0/
admin/
ide/
.patch_storage/
apex/
install/
perl/
appsutil/
instantclient/
plsql/
appsutil.zip
inventory/
precomp/
assistants/
j2ee/
racg/
bin/
javavm/
rdbms/
bug14296972_apply.dbg jdbc/
relnotes/
ccr/
jdev/
root.sh
cdata/
jdk/
root.sh.old
cfgtoollogs/
jlib/
root.sh.old.1
checkpoints/
jpub/
root.sh.ouibak
clone/
ldap/
scheduler/
config/
lib/
slax/
cpu/
log/
sqldeveloper/
crs/
md/
sqlj/
csmig/
mesg/
sqlpatch/
css/
mgw/
sqlplus/
ctx/
network/
srvm/
cv/
nls/
sysman/
dbs/
oc4j/
temp/
dc_ocm/
odbc/
TEST_np.env
deinstall/
olap/
TEST_rp.env
demo/
OPatch/
timingframework/
--More--^C
[oracle@np patch]$ cd /u01/oracle/TEST/
11.2.0/
data/
oraInventory/
[oracle@np patch]$ cd /u01/oracle/TEST/11.2.0/
[oracle@np 11.2.0]$ ls
admin
cv
javavm OPatch_orig
apex
dbs
jdbc
opmn
appsutil
dc_ocm
jdev
oracore
appsutil.zip
deinstall
jdk
oraInst.loc
assistants
demo
jlib
ord
bin
diagnostics
jpub
oui
bug14296972_apply.dbg dv
ldap
owb
ccr
emcli
lib
owm
cdata
EMStage
log
perl
cfgtoollogs
fixTZa.lst
md
plsql
checkpoints
has
mesg
precomp
clone
hpatch
mgw
racg
config
hs
network rdbms
cpu
ide
nls
relnotes
crs
install
oc4j
root.sh
csmig
instantclient odbc
root.sh.old
css
inventory
olap
root.sh.old.1
ctx
j2ee
OPatch root.sh.ouibak

scheduler
slax
sqldeveloper
sqlj
sqlpatch
sqlplus
srvm
sysman
temp
TEST_np.env
TEST_rp.env
timingframework
ucp
uix
usm
utl
wwg
xdk

[oracle@np 11.2.0]$ . TEST_np.env


[oracle@np 11.2.0]$ cd /u02/oracle/TEST/
EBSapps.env fs1/
fs2/
fs_ne/
[oracle@np 11.2.0]$ cd /u02/oracle/TEST/
EBSapps.env fs1/
fs2/
fs_ne/
[oracle@np 11.2.0]$ cd /u02/oracle/TEST/fs_ne/
[oracle@np fs_ne]$ ls
EBSapps inst
[oracle@np fs_ne]$ cd EBSapps/
[oracle@np EBSapps]$ ls
appl log patch
[oracle@np EBSapps]$ cd patch/
[oracle@np patch]$ ls
19724468
checkDBpatch.sh
20445842
p17537119_R12_GENERIC.zip
21298500
p19724468_R12.QP.C_R12_GENERIC.zip
adctrl.log
p20445842_R12.PO.D_R12_LINUX (1).zip
checkDBpatch_17113.log p21298500_R12.PER.C_R12_GENERIC_Debug.zip
checkDBpatch_7448.log README.txt
checkDBpatch.cmd
txk_R1220_DB_base_bugs.xml
[oracle@np patch]$ sh checkDBpatch.sh
+===============================================================+
|
Copyright (c) 2005, 2014 Oracle and/or its affiliates.
|
|
All rights reserved.
|
|
EBS Technology Codelevel Checker
|
+===============================================================+
Executing Technology Codelevel Checker version: 120.24
Enter the full path to the DB Context file :/u01/oracle/TEST/11.2.0/appsutil/TES
T_np.xml
Bugfix XML file version: 120.0.12020000.23
WARNING: Bugfix XML file ( txk_R1220_DB_base_bugs.xml ) in current directory is
more than 30 days old.
Please check if a newer version is available in patch 17537119.
Proceeding with the checks...
Getting the database release ...
Setting database release to 11.2.0.3
DB connectivity successful.
Table to store Technology Codelevel Checker results exists in the database.
STARTED Pre-req Patch Testing : Thu Jul 2 12:56:29 PKT 2015
Log file for this session : ./checkDBpatch_17921.log
Got the list of bug fixes to be applied and the ones to be rolled back.
Checking against the DB ORACLE_HOME...
Opatch is at the required version.
Found patch records in the inventory.
All the required one-offs are present in Oracle Database Home
Stored Technology Codelevel Checker results in the database successfully.

FINISHED Pre-req Patch Testing : Thu Jul 2 12:56:34 PKT 2015


=========================================================
[oracle@np patch]$ . /u02/oracle/TEST/EBSapps.env patch
E-Business Suite Environment Information
---------------------------------------RUN File System
: /u02/oracle/TEST/fs2/EBSapps/appl
PATCH File System
: /u02/oracle/TEST/fs1/EBSapps/appl
Non-Editioned File System : /u02/oracle/TEST/fs_ne
DB Host: np.treetgroup.com Service/SID: TEST
Sourcing the PATCH File System ...
[oracle@np patch]$ adctrl
Copyright (c) 2002, 2012 Oracle Corporation
Redwood Shores, California, USA
AD Controller
Version 12.2.0
NOTE: You may not use this utility for custom development
unless you have written permission from Oracle Corporation.
Your default directory is '/u02/oracle/TEST/fs1/EBSapps/appl'.
Is this the correct APPL_TOP [Yes] ?
AD Controller records your AD Controller session in a text file
you specify. Enter your AD Controller log file name or press [Return]
to accept the default file name shown in brackets.
Filename [adctrl.log] :
************* Start of AD Controller session *************
AD Controller version: 12.2.0
AD Controller started at: Thu Jul 02 2015 13:00:08
APPL_TOP is set to /u02/oracle/TEST/fs1/EBSapps/appl
Reading product information from file...
Reading language and territory information from file...
Reading language information from applUS.txt ...
Enter the ORACLE username of Application Object Library [APPLSYS] :
Enter the ORACLE password of Application Object Library [APPS] :
AD Controller is verifying your username/password.
*** Edition Enabled User ***
The status of various features in this run of AD Controller is:

Feature
-----------------------------CHECKFILE
PREREQ
CONCURRENT_SESSIONS
PATCH_TIMING
PATCH_HIST_IN_DB
SCHEMA_SWAP
JAVA_WORKER
CODELEVEL

Active?
------Yes
Yes
No
Yes
Yes
Yes
Yes
Yes

<-Feature
APPLTOP
-------1
6
2
2
6
1
1
1

version in->
Data model
----------1
6
2
2
6
1
1
1

Flags
----------Y N N Y N Y
Y N N Y N Y
Y Y N Y Y N
Y N N Y N Y
Y N N Y N Y
Y N N Y Y Y
Y N N Y N Y
Y N N Y N Y

AD Controller Menu
--------------------------------------------------1.

Show worker status

2.

Tell worker to restart a failed job

3.

Tell worker to quit

4.

Tell manager that a worker failed its job

5.

Tell manager that a worker acknowledges quit

6.

Restart a worker on the current machine

7.

Exit

Enter your choice [1] : 1

Worker
-----1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17

Control
Code
-------Done
Done
Done
Done
Done
Done
Done
Done
Done
Done
Done
Done
Done
Done
Done
Done
Done

Context
----------------Invoker R120
Invoker R120
Invoker R120
Invoker R120
Invoker R120
Invoker R120
Invoker R120
Invoker R120
Invoker R120
Invoker R120
Invoker R120
Invoker R120
Invoker R120
Invoker R120
Invoker R120
Invoker R120
Invoker R120

Filename
-------------------------adinvrn2.pls
adinvrn2.pls
adinvrn2.pls
adinvrn2.pls
adinvrn2.pls
adinvrn2.pls
adinvrn2.pls
adinvrn2.pls
adinvrn2.pls
adinvrn2.pls
adinvrn2.pls
adinvrn2.pls
adinvrn2.pls
adinvrn2.pls
adinvrn2.pls
adinvrn2.pls
adinvrn2.pls

Status
-------------FAILED
FAILED
FAILED
FAILED
FAILED
FAILED
FAILED
FAILED
FAILED
FAILED
FAILED
FAILED
FAILED
FAILED
FAILED
FAILED
FAILED

18 Done
19 Done
20 Done

Invoker R120
Invoker R120
Invoker R120

adinvrn2.pls
adinvrn2.pls
adinvrn2.pls

Review the messages above, then press [Return] to continue.


AD Controller Menu
--------------------------------------------------1.

Show worker status

2.

Tell worker to restart a failed job

3.

Tell worker to quit

4.

Tell manager that a worker failed its job

5.

Tell manager that a worker acknowledges quit

6.

Restart a worker on the current machine

7.

Exit

Enter your choice [1] : 2


Enter the worker number(s)/range(s) or 'all' for all workers,
or press [Return] to go back to the menu : all
Status
Status
Status
Status
Status
Status
Status
Status
Status
Status
Status
Status
Status
Status
Status
Status
Status
Status
Status
Status
Review

changed to 'Fixed, restart' for worker 1.


changed to 'Fixed, restart' for worker 2.
changed to 'Fixed, restart' for worker 3.
changed to 'Fixed, restart' for worker 4.
changed to 'Fixed, restart' for worker 5.
changed to 'Fixed, restart' for worker 6.
changed to 'Fixed, restart' for worker 7.
changed to 'Fixed, restart' for worker 8.
changed to 'Fixed, restart' for worker 9.
changed to 'Fixed, restart' for worker 10.
changed to 'Fixed, restart' for worker 11.
changed to 'Fixed, restart' for worker 12.
changed to 'Fixed, restart' for worker 13.
changed to 'Fixed, restart' for worker 14.
changed to 'Fixed, restart' for worker 15.
changed to 'Fixed, restart' for worker 16.
changed to 'Fixed, restart' for worker 17.
changed to 'Fixed, restart' for worker 18.
changed to 'Fixed, restart' for worker 19.
changed to 'Fixed, restart' for worker 20.
the messages above, then press [Return] to continue.

AD Controller Menu
--------------------------------------------------1.

Show worker status

FAILED
FAILED
FAILED

2.

Tell worker to restart a failed job

3.

Tell worker to quit

4.

Tell manager that a worker failed its job

5.

Tell manager that a worker acknowledges quit

6.

Restart a worker on the current machine

7.

Exit

Enter your choice [1] : 7


AD Controller is complete.
Errors and warnings are listed in the log file
adctrl.log
and in other log files in the same directory.
[oracle@np patch]$ . /u02/oracle/TEST/EBSapps.env run
E-Business Suite Environment Information
---------------------------------------RUN File System
: /u02/oracle/TEST/fs2/EBSapps/appl
PATCH File System
: /u02/oracle/TEST/fs1/EBSapps/appl
Non-Editioned File System : /u02/oracle/TEST/fs_ne
DB Host: np.treetgroup.com Service/SID: TEST
Sourcing the RUN File System ...
[oracle@np patch]$ history
24 frmcmp_batch Module=testing.fmb Userid=apps/apps1234 Output_File=/u02/ora
cle/TEST/fs2/EBSapps/appl/tgc/12.0.0/forms/US/TGC_MY_FORM Module_Type=FORM Batch
=No Compile_All=special
25 . /u01/oracle/TEST/11.2.0/rdbms/admin/
26 ls
27 cd /u01/oracle/TEST/11.2.0/rdbms/admin/
28 ls
29 sqlplus apps/apps1234
30 . /u01/oracle/TEST/11.2.0/test_np.env
31 sqlplus apps/apps1234
32 sqlplus / as sysdba
33 ls
34 cd /u01/
35 ls
36 cd /u01/
37 ls

38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97

df -h
ls
cd /home/oracle/
ls
. appsStop.sh
. down_apps.sh
cd /u02/oracle/TEST/fs2/
ls
cd /home/oracle/
ls
. dbStop.sh
. down_db.sh
ls
cd /
cd /u01/
ls
cd oracle/
ls
cd TEST/
ls
cd /u02/
ls
cd oracle/
ls
cd TEST/
ls
rm -rf fs1/
rm -rf fs2/
ls
rm -rf EBSapps.env
rm -rf adctrl.log
ls
cd ..
ls
cd ..
ls
cd ..
cd /u01/
ls
cd oracle/
ls
rm -rf TEST/
cd /u01/
ls
mkdir backup
ls
cd /u01/
ls
cd backup/
ls
df -h
unzip U01RP_06_Jun_2015.tar.gz
untar -zxvf U01RP_06_Jun_2015.tar.gz
unzip -zxvf U01RP_06_Jun_2015.tar.gz
unzip U01RP_06_Jun_2015.tar.gz
tar -zxvf U01RP_06_Jun_2015.tar.gz
df -h
ls
cd u01/
ls

98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157

cd oracle/
ls
cd TEST/
ls
c d/
ls
cd /u01/
ls
cd oracle/
ls
cd
ls
cd /u01/
l;s
ls
cd oracle/
ls
cd ..
rm -rf oracle/
ls
cd backup/
ls
cd u01/
ls
mv oracle/ /u01/
ls
cd /u01/
ls
cd oracle/
ls
cd ..
ls
cd ..
ls
cd /u01/
ls
ls -altrh
pwd
cd /u01/
ls
cd ..
ls
chown -R oracle:oinstall u01/
chmod -R 777 u01/
cd /u02/
ls
cd oracle/
ls
rm -rf TEST/
ls
cd ..
ls
reboot
su root
. /u02/oracle/TEST/fs1/
cd /u02/oracle/TEST/fs1/
ls
cd ..
ls
. EBSapps.env

158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217

cd $ADMIN_SCRIPTS_HOME
pwd
ls
cd ..
ls
cd ..
ls
cd ..
ls
cd ..
ls
echo $FILE_EDITION
. EBSapps.env
echo $FILE_EDITION
pwd
echo $ORACLE_HOME
adadmin
vi /u02/oracle/TEST/fs_ne/EBSapps/log/adadmin/log/adadmin.log
adctrl
cd /u01/
ls
. /u02/oracle/TEST/EBSapps.env run
cd $PATCH_TOP
pwd
ls
unzip p19941321_R12.AP.C_R12_GENERIC.zip
ls
adop phase=prepare
adopscanlog -latest=yes
ls
unzip p17537119_R12_GENERIC.zip
ls
pwd
cd /u01/oracle/TEST/
ls
cd 11.2.0/
ls
cd appsutil
ls
cd $PATCH_TOP
ls
. /u01/oracle/TEST/11.2.0/TEST_rp.env
ls
sqlplus apps/apps1234
cd /u01/oracle/TEST/11.2.0/
ls
. test_np.env
cd /u02/oracle/TEST/fs_ne
ls
cd EBSapps/
ls
cd patch/
ls
sh checkDBpatch.sh
. /u02/oracle/TEST/EBSapps.env RUN
adop phase=prepare
adop phase=apply patches=19941321
adop phase=apply patches=19941321 abandon=yes
adopscanlog -latest=yes
. /u02/oracle/TEST/EBSapps.env PATCH

218 adctrl
219 . /u02/oracle/TEST/EBSapps.env RUN
220 adop phase=apply patches=19941321 restart=yes
221 cd $PATCH_TOP
222 ls
223 unzip p20445842_R12.PO.D_R12_LINUX.zip
224 echo $FILE_EDITION
225 ls
226 adop phase=apply patches=20445842
227 adopscanlog -latest=yes
228 pwd
229 cd
230 cat up_apps.sh
231 find /u02/oracle/ -name adwork001.log -print
232 vi /u02/oracle/TEST/fs_ne/EBSapps/log/adop/9/apply_20150602_104656/test_n
p/20445842/log/adwork001.log
233 find /u01/oracle/ -name alert_TEST.log -print
234 find /u01/oracle/ -name alert_test.log -print
235 vi /u01/oracle/TEST/11.2.0/admin/test_np/diag/rdbms/test/test/trace/alert
_test.log
236 echo $FILE_EDITION
237 adop phase=apply patches=20445842 abandon=yes restart=no
238 adopscanlog -latest=yes
239 vi /u01/oracle/TEST/11.2.0/admin/test_np/diag/rdbms/test/test/trace/alert
_test.log
240 adctrl
241 adopscanlog -latest=yes
242 . /u02/oracle/TEST/EBSapps.env PATCH
243 adctrl
244 . /u02/oracle/TEST/EBSapps.env RUN
245 adop phase=apply patches=20445842 abandon=yes restart=no
246 adopscanlog -latest=yes
247 . /u02/oracle/TEST/EBSapps.env PATCH
248 adctrl
249 . /u02/oracle/TEST/EBSapps.env RUN
250 adop phase=apply patches=20445842 restart=yes
251 adopscanlog -latest=yes
252 vi u02/oracle/TEST/fs_ne/EBSapps/log/adop/9/apply_20150602_111451/test_np
/20445842/log/u20445842.lo
253 vi /u02/oracle/TEST/fs_ne/EBSapps/log/adop/9/apply_20150602_111451/test_n
p/20445842/log/u20445842.log
254 vi /u01/oracle/TEST/11.2.0/admin/test_np/diag/rdbms/test/test/trace/alert
_test.log
255 vi /u02/oracle/TEST/fs_ne/EBSapps/log/adop/9/apply_20150602_104656/test_n
p/20445842/log/adwork001.log
256 find /u02/oracle/ -name adwork001.log -print
257 vi /u02/oracle/TEST/fs_ne/EBSapps/log/adop/9/apply_20150602_104656/test_n
p/20445842/log/adwork001.log
258 . /u02/oracle/TEST/EBSapps.env RUN
259 adop phase=apply patches=20445842
260 adop phase=apply patches=20445842 restart=yes
261 adopscanlog -latest=yes
262 sqlplus apps/apps1234
263 . /u02/oracle/TEST/EBSapps.env RUN
264 adop phase=apply patches=20445842 restart=yes
265 adopscanlog -latest=yes
266 find /u02/oracle/ -name adwork001.log -print
267 vi /u02/oracle/TEST/fs_ne/EBSapps/log/adop/9/apply_20150602_104656/test_n
p/20445842/log/adwork001.log
268 ls -alrth /u02/oracle/TEST/fs_ne/EBSapps/log/adop/9/apply_20150602_10465

6/test_np/20445842/log/adwork001.log
269 ls -alrth /u02/oracle/TEST/fs_ne/EBSapps/log/adop/9/apply_20150602_113627
/test_np/20445842/log/adwork001.log
270 vi /u02/oracle/TEST/fs_ne/EBSapps/log/adop/9/apply_20150602_113627/test_n
p/20445842/log/adwork001.log
271 . /u02/oracle/TEST/EBSapps.env PATCH
272 adctrl
273 . /u02/oracle/TEST/EBSapps.env RUN
274 adop phase=apply patches=20445842 restart=no abandon=yes
275 adopscanlog -latest=yes
276 . /u02/oracle/TEST/EBSapps.env PATCH
277 adctrl
278 . /u02/oracle/TEST/EBSapps.env RUN
279 adop phase=apply patches=20445842 restart=yes
280 echo $FILE_EDITION
281 adop phase=finalize
282 adop phase=cutover
283 adop phase=cleanup
284 cd /u01/oracle/TEST/
285 ls
286 cd /u02/oracle/TEST/
287 ls
288 df -h
289 cd ..
290 ls
291 cd ..
292 cd..
293 ls
294 cd ..
295 ls
296 cd /u01/
297 ls
298 cd /u02/oracle/TEST/
299 ls
300 rm -rf fs2/
301 ls
302 rm -rf fs_ne/
303 ls
304 cd fs1/
305 ls
306 rm -rf FMW_Home/
307 ls
308 rm -rf inst/
309 ls
310 cd EBSapps/
311 ls
312 cd /u01/
313 ls
314 cd ..
315 chown -R oracle:oinstall u01/
316 chmod -R 777 u01/
317 chown -R oracle:oinstall u02/
318 ls
319 cd /u01/
320 ls
321 ls -altrh
322 df -h
323 ls
324 ls -altrh
325 rm -rf rp_backup_4_clone/

326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385

rm -rf rp_backup_20_MAY/
df -h
ls
cd /u02/
ls
cd oracle/
ls
cd TEST/
ls
cd fs1/
ls
cd EBSapps/
ls
cd ..
ls
cd ..
ls
cd fs2
ls
cd ..
ls
cd /u02/
. /u02/
ls
cd /u01/
ls
cd backup/
ls
cd /u02/
ls
cd oracle/
ls
cd ..
ls
rm -rf oracle/
ls
cd /u01/
ls
cd backup/
ls
cd /u02/
ls
mkdir backup
cd /u01/
ls
cd backup/
ls
mv U02RP_06_Jun_2015.tar.gz /u02/backup/
ls
cd /u02/
ls
cd backup/
ls
cd /u01/
ls
cd backup/
ls
cd /
cd /u02/
ls

386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445

cd backup/
ls
su root
cd /u01/
ls
cd oracle/
ls
cd TEST/
ls
cd 11.2.0/
ls
cd appsutil
ls
cd clone/
cd b
cd bin/
ls
pwd
perl adcfgclone.pl dbTier
. /u01/oracle/TEST/
. /u01/oracle/TEST/11.2.0/TEST_np.env
sqlplus apps/apps1234
cd /
ls
cd /u02
cd /u01/backup/
ls
df -h
ls
tar -zxvf U02RP_06_Jun_2015.tar.gz
df -h
ls
cd /u01/
ls
cd backup/
ls
rm -rf U01RP_06_Jun_2015.tar.gz
df -f
df -sh
df -h
ls
rm -rf u02/
df -h
cd /
df -h
cd /u02/
ls
cd backup/
ls
tar -zxvf U02RP_06_Jun_2015.tar.gz
ls
cd ..
ls -altrh u02
ls
cd backup/
ls
ls -altrh
ls
cd u02/
ls

446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505

cd oracle/
ls
cd /u02/
ls
cd u01
lscd
cd /u01/
cd backup/
ls
cd .
cd /u02/
ls
cd backup/
ls
df -h
ls
du -sh u02/
ls
rm -rf U02RP_06_Jun_2015.tar.gz
df -H
LS
ls
cd ..
ls
cd /ba
cd /bac
ls
cd backup/
ls
cd u02/
ls
mv oracle/ /u02/
ls
cd ..
ls
rm -rf u02/
ls
cd /u02/
ls
cd backup/
ls
cd ..
ls
rm -rf backup/
ls
cd oracle/
ls
cd TEST/
ls
rm -rf fs_ne/
rm -rf fs2/
ls
rm -rf adop_error_1.log
ls
rm -rf EBSapps.env
ls
cd fs1/
ls
rm -rf FMW_Home/
rm -rf inst/

506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565

ls
cd ..
ls
cd ..
ls
cd TEST/
ls
cd fs1/
ls
cd EBSapps/
ls
cd ..
ls
cd ..
ls
cd /u02/oracle/TEST/
ls
cd /u01/oracle/TEST/
ls
cd 11.2.0/
ls
cd /
cvd
cd /u02/
ls
cd oracle/
ls
cd TEST/
ls
cd fs1/
ls
cd EBSapps/
ls
cd comn/
ls
cd clone/
cd bin/
ls
perl adcfgclone.pl appsTier
. /u02/oracle/TEST/EBSapps.env RUN
echo $FILE_EDITION
ls
pwd
perl adcfgclone.pl appsTier
ls
perl adpreclone.pl appsTier
ls
cd ..
ls
cd ..
ls
cd ..
ls
cd ..
ls
cd inst/
ls
cd apps/
ls
cd TEST_np/

566 ls
567 cd admin/
568 ls
569 c dsc
570 cd scripts/
571 ls
572 PWD
573 pwd
574 perl adpreclone.pl appsTier
575 cd /u02/
576 ls
577 cd oracle/
578 ls
579 cd TEST/
580 ls
581 mkdir fs2
582 ls
583 cd fs1/
584 ls
585 cp -RH EBSapps/ /fs2
586 cp -RH /u02/oracle/TEST/fs1/EBSapps/ /fs2
587 cp -RH /u02/oracle/TEST/fs1/EBSapps/ /u02/oracle/TEST/fs2/
588 cd
589 cd /u02/oracle/TEST/fs2/
590 ls
591 cd EBSapps/
592 ls
593 cd comn/
594 ls
595 cd clone/
596 ls
597 cd bin/
598 LS
599 ls
600 pwd
601 perl adcfgclone.pl appsTier
602 vi /u02/oracle/TEST/fs2/inst/apps/TEST_np/admin/log/clone/ApplyAppsTier_0
6062130.log
603 . /u02/oracle/TEST/fs1/EBSapps/appl/TEST_np.env
604 echo $FILE_EDITion
605 echo $FILE_EDITION
606 echo $CONTEXT_FILE
607 crontab -r
608 crontab -l
609 exit
610 crontab -l
611 exit
612 crontab -l
613 exit
614 cd /u01/
615 ls
616 cd RP_BACKUP_21MAY/
617 ls
618 cd ..
619 ls
620 cd backup/
621 ls
622 df -h
623 ls
624 cd ..

625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684

ls
cd backup/
ls
cd u01/
ls
cd ..
ls
rm -rf u01/
ls
cd /u02/oracle/TEST/
. EBSapps.env run
cd
cd Scripts/
cd $FND_TOP
cd sql/
$ locate wfstatus.sql
locate wfstatus.sql
pwd
echo $FILE_EDITION
sqlplus apps/apps1234
cat wfstatus.sql
exit
. /u02/oracle/TEST/EBSapps.env run
cd $FA_TOP
cd patch/115/import/
ls
cd US/
ls
find faxla*.*
ls -alhrt FAXLAAAD.ldt
ls -alhrt
. /u02/oracle/TEST/EBSapps.env RUN
cd $FA_TOP/patch/115/import/US/
ls
ls -altrh FAXLAAAD.ldt
ls -altrh
locate prefs.ora
. /u02/oracle/TEST/EBSapps.env RUN
echo $ORACLE_HOME
. /u02/oracle/TEST/EBSapps.env run
locate wfengs.pls
cd
/u02/oracle/TEST/fs1/EBSapps/appl/fnd/12.0.0/patch/115/sql/
pwd
cd /u02/oracle/TEST/fs1/EBSapps/appl/fnd/12.0.0/patch/115/sql
strings -a wfengs.pls |grep '$Header'
locate wfengb.pls
cd /u02/oracle/TEST/fs1/EBSapps/appl/fnd/12.0.0/patch/115/sql/
strings -a wfengb.pls |grep '$Header'
locate wfnts.pls
locate wfntfs.pls
cd /u02/oracle/TEST/fs1/EBSapps/appl/fnd/12.0.0/patch/115/sql/
strings -a wfntfs.pls |grep '$Header'
locate wfntfb.pls
cd /u02/oracle/TEST/fs1/EBSapps/appl/fnd/12.0.0/patch/115/sql/
strings -a wfntfb.pls |grep '$Header'
cd $CE_TOP
pwd
ls
cd patch/115/import/US/

685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744

strings -a cebasig.wft |grep '$Header'


WFLOAD apps/apps1234@TEST 0 Y DOWNLOAD test.wft CEBASIG
locate test.wft
pwd
. /u02/oracle/TEST/EBSapps.env run
cd $ORACLE_HOME
pwd
ls
cd tools/admin/
ls
cd ..
ls
cd tools/admin/
ls
ls -alhrt
cd ..
chmod 777 -R admin/
cd admin/
ls
. /u02/oracle/TEST/EBSapps.env RUN
cd $PATCH_TOP
ls
unzip p20445842_R12.PO.D_R12_LINUX\ \(1\).zip
lls
ls
adop phase=prepare
crontab -l
crontab -e
sudo /sbin/chkconfig on
su root
crontab -l
cat etc/oraInst
cd /etc/
ls
vi oraInst.loc
df -h
cd /u01/
ls
cd backup/
ls
cd oracle
ls
cd ..
cd oracle/
ls
df -h
cd ..
cd backup/
ls
pwd
cd /home/oracle/Desktop/
ls
cd /home/oracle/Desktop/
pwd
. /u02/oracle/TEST/EBSapps.env run
cd $FND_TOP
cd sql/
sqlplus apps/apps1234
pwd
sqlplus apps/apps1234

745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804

clear
@wfstat.sql
@@wfstat.sql
pwd
sqlplus apps/apps1234
clear
sqlplus
. /u01/oracle/TEST/
ls
. /u01/oracle/TEST/11.2.0/TEST_np.env
sqlplus
. /u01/oracle/TEST/11.2.0/TEST_np.env
sqlplu
sqlplus
. /u02/oracle/TEST/EBSapps.env run
cd $FND_TOP
pwd
cd sql/
ls
sqlplus
pwd
sqlplus
cd /u02/oracle/TEST/
ls
cd fs1/
ls
. /u02/oracle/TEST/EBSapps.env run
cd $APPL_TOP
ls
. APPSTEST_np.env
$INST_TOP
cd $INST_TOP
ls
cd admin/scripts/
ls
. adstpall.sh apps/apps1234
. /u02/oracle/TEST/EBSapps.env RUN
adop phase=prepare
. /u01/oracle/TEST/11.2.0/TEST_np.env
ls
cd /u02/oracle/TEST/fs_ne/EBSapps/patch/
ls
unzip p17537119_R12_GENERIC.zip
ls
echo $ORACLE_HOME
echo $CONTEXT_FILE
sh checkDBpatch.sh
. /u02/oracle/TEST/EBSapps.env RUN
adop phase=prepare
echo $ORACLE_HOME
ls
adop phase=apply patches=20445842
adopscanlog -latest=yes
. /u02/oracle/TEST/EBSapps.env PATCH
adctrl
. /u02/oracle/TEST/EBSapps.env RUN
adop phase=apply patches=20445842
adop phase=apply patches=20445842 restart=yes
adopscanlog -latest=yes
. /u02/oracle/TEST/EBSapps.env PATCH

805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864

adctrl
. /u02/oracle/TEST/EBSapps.env RUN
adop phase=apply patches=20445842 restart=yes
adopscanlog -latest=yes
. /u02/oracle/TEST/EBSapps.env PATCH
adctrl
. /u02/oracle/TEST/EBSapps.env RUN
adop phase=apply patches=20445842 restart=yes
adop phase=apply patches=20445842 restart=yes workers=16
. /u02/oracle/TEST/EBSapps.env PATCH
adctrl
. /u02/oracle/TEST/EBSapps.env RUN
adop phase=apply patches=20445842 restart=yes
adopscanlog -latest=yes
. /u02/oracle/TEST/EBSapps.env PATCH
adctrl
. /u02/oracle/TEST/EBSapps.env RUN
adop phase=apply patches=20445842 restart=yes
. /u02/oracle/TEST/EBSapps.env PATCH
adctrl
. /u02/oracle/TEST/EBSapps.env RUN
adop phase=apply patches=20445842 abandon=yes
. /u02/oracle/TEST/EBSapps.env RUN
adop phase=apply patches=20445842 restart=no abandon=yes workers=8
. /u02/oracle/TEST/EBSapps.env PATCH
adctrl
. /u02/oracle/TEST/EBSapps.env RUN
adop phase=apply patches=20445842 restart=no abandon=yes workers=8
adopscanlog -latest=yes
adop status
adopscanlog
. /u02/oracle/TEST/EBSapps.env run
echo $FILE_EDITION
cd $APPL_TOP
pwd
ps -ef |grep FNDLIBR
FNDCPASS apps/apps1234 0 Y system/manager ORACLE GL GL1
vi O978590
FNDCPASS apps/apps1234 0 Y system/system1234 ORACLE GL GL1
FNDCPASS apps/apps1234 0 Y system/systemtcl1234 ORACLE GL GL1
cd $INST_TOP
pwd
cd admin/scripts/
ls
. adstrtal.sh apps/apps1234
. /u02/oracle/TEST/EBSapps.env run
ps -ef |grep FNDLIBR
cd $INST_TOP
cd admin/scripts/
ls
. adcmctl.sh status
. /u02/oracle/TEST/EBSapps.env run
cd $FND_TOP
pwd
cd sql/wfstat.sql
cd sql/wfstat.sql
cd sql/
cd wfstat.sql
sqlplus
pwd

865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924

sqlplus
. /u01/oracle/TEST/11.2.0/TEST_np.env
sqlplus
. /u02/oracle/TEST/EBSapps.env RUN
locate wfstat.sql
echo $FILE_EDITION
echo $ORACLE_HOME
cd /u02/oracle/TEST/fs1/EBSapps/appl/fnd/12.0.0/sql/
ls
sqlplus apps/apps1234
ls
ls -altrh
sqlplus apps/apps1234
cat wfstat.sql
sqlplus apps/apps1234
LS -ALTRH
ls- altrh
ls -altrh
@sqlplus apps/apps1234
sqlplus apps/apps1234
ls -altrh
pwd
ls
pwd
ls
pwd
sqlplus apps/apps1234
ls
cd /u01/oracle/TEST/
ls
cd /u02/oracle/
ls
cd TEST/
ls
cd fs_ne/
ls
cd EBSapps/
ls
cd patch/
ls
unzip p19724468_R12.QP.C_R12_GENERIC.zip
ls
. /u02/oracle/TEST/EBSapps.env run
ps -ef |grep FNDLIBR
. /u02/oracle/TEST/EBSapps.env run
cd $APPL_TOP
pwd
ls
. APPSTEST_np.env
FNDCPASS apps/apps1234 0 Y system/systemtcl1234 ORACLE
vi L978593.log
sqlplus
FNDCPASS apps/apps1234 0 Y system/systemtcl1234 ORACLE
FNDCPASS apps/apps1234 0 Y system/systemtcl1234 ORACLE
sqlplus
FNDCPASS apps/apps1234 0 Y system/systemtcl1234 ORACLE
. /u02/oracle/TEST/EBSapps.env run
cd $INST_TOP
./adcmctl.sh status apps/apps1234
ls

GL GL1
FA FA1
CE CE1
ap ap1

925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984

cd admin/scripts/
ls
./adcmctl.sh status apps/apps1234
ps -ef |grep FNDLIBR
kill -9 11706
ps -ef |grep FNDLIBR
./adcmctl.sh status apps/apps1234
./adcmctl.sh stop apps/apps1234
./adcmctl.sh status apps/apps1234
ps -ef |grep FNDLIBR
./adcmctl.sh start apps/apps1234
ps -ef |grep FNDLIBR
. /u02/oracle/TEST/EBSapps.env run
cd $CE_TOP
pwd
ls
cd sql
ls
cd ..
cd bin/
ls
cd ..
cd admin/
ls
cd sql/
ls
cd ..
pwd
locate debug1__cebasigwfb.pls
cd /home/oracle/
ls
sqlplus
. /u02/oracle/TEST/EBSapps.env run
adop phase = abort
adop phase=cleanup cleanup_mode=full
adop phase=fs_clone
cd /home/oracle/
. /u01/oracle/TEST/11.2.0/TEST_np.env
sqlplus
pwd
sqlplus
. /u02/oracle/TEST/EBSapps.env RUN
pwd
cd tgc_data/Customers/
sqlldr apps/apps1234
exit
cd /u02/oracle/TEST/
. EBSapps.env run
cd fs_ne/
ls
cd EBSapps/
ls
cd patch/
ls
adop phase=prepare
. /u02/oracle/TEST/EBSapps.env RUN
cd FS_NE
cd fs_be
cd fs_ne
ls

985 cd $PATCH_TOP
986 ls
987 cd 19724468/
988 ls
989 adop phase=prepare
990 adop phase=apply patches=19724468
991 adop phase=finalize
992 history
993 adop phase=cutover
994 adop phase=cleanup
995 . /u02/oracle/TEST/EBSapps.env run
996 ls
997 cd $PATCH_TOP
998 ls
999 adop phase=prepare
1000 . /u02/oracle/TEST/EBSapps.env run
1001 cd $PATCH_TOP
1002 ls
1003 rm -rf checkDBpatch.sh
1004 rm -rf checkDBpatch.cmd
1005 rm -rf txk_R1220_DB_base_bugs.xml
1006 unzip p17537119_R12_GENERIC.zip
1007 ls
1008 sqlplus apps/apps1234
1009 sh checkDBpatch.sh
1010 cd /u01/oracle/TEST/11.2.0/
1011 ls
1012 . TEST_np.env
1013 cd /u02/oracle/TEST/fs_ne/
1014 ls
1015 cd EBSapps/
1016 ls
1017 cd patch/
1018 ls
1019 sh checkDBpatch.sh
1020 . /u02/oracle/TEST/EBSapps.env patch
1021 adctrl
1022 . /u02/oracle/TEST/EBSapps.env run
1023 history
[oracle@np patch]$

You might also like