Upgrade Middelware

classic Classic list List threaded Threaded
24 messages Options
12
Reply | Threaded
Open this post in threaded view
|

Upgrade Middelware

latifa
Hi Erman,

I again need your help for mistake I made and I don't know how to correct it. please find the upgrade document and worknotes  I have done.

Instead of running runinstaller on the PATCH file system (fs2) I have done it on the RUN file system.
 version of opatch should be  11.1.0.9.9 to continue the upgrade.

So I have again tried to rerun runinstaller on the patch file system (which fs2 for me) but it doesn't change any thing.

Thank you in advance for your help.

Regards,
Latifa
Reply | Threaded
Open this post in threaded view
|

Re: Upgrade Middelware

ErmanArslansOracleBlog
Administrator
Hi Latifa,

So you did the FMW upgrade related things in the run filesystem then.
Continue then. Do all the things in the run filesystem, post upgrade etc.. do all of these in run filestem/environment.
After all your work is finished, execute fs_clone...

Note that, doing all of the steps in run filesystem will bring you a downtime.

FMW upgrade should be done following:

Upgrading Oracle Fusion Middleware WebTier of Oracle E-Business Suite Release 12.2 to the latest 11gR1 (11.1.1.x) PatchSet (Doc ID 1590356.1)

However, some steps of this document may be modified for your case;

for instance, starting the admin server should be without forcepatchfs parameter , as you are doing the upgrade directly in run filesytem... So check the steps, and modify/ingore them according to your case.
Reply | Threaded
Open this post in threaded view
|

Re: Upgrade Middelware

latifa

Hi Again Erman,

Thank you very much for your reply.
However, I can't do lsinventory and the version of opatch is: 1.0.0.0.64 rather than 11.1.0.11.0.
My_Upgrade_Middleware_bis.txt

Regards,
Latifa
Reply | Threaded
Open this post in threaded view
|

Re: Upgrade Middelware

ErmanArslansOracleBlog
Administrator
Source the run environment and run the following commmands;

export ORACLE_HOME=$FMW_HOME/webtier
$ORACLE_HOME/OPatch/opatch lsinventory -detail -invPtrLoc $ORACLE_HOME/oraInst.loc
export ORACLE_HOME=$FMW_HOME/oracle_common
$ORACLE_HOME/OPatch/opatch lsinventory -detail -invPtrLoc $ORACLE_HOME/oraInst.loc

update me with the outputs.

You see we use the full path of patch for this.
Reply | Threaded
Open this post in threaded view
|

Re: Upgrade Middelware

latifa
Hi Erman,

please find joined to this e-mail the requested logs.opatch2017-01-20_11-44-35AM_1.logopatch2017-01-20_11-52-08AM_1.log

Thanks in advance
Reply | Threaded
Open this post in threaded view
|

Re: Upgrade Middelware

ErmanArslansOracleBlog
Administrator
So now it is displayed correctly.

However; there is a warning:
"OUI-67076:OracleHomeInventory was not able to create a lock file"

For resolving this OUI-67076 , you can follow the note named: "opatch lsinventory Reports "OUI-67076 : OracleHomeInventory was not able to create a lock file" in Unix (Doc ID 1086853.1)"
Reply | Threaded
Open this post in threaded view
|

Re: Upgrade Middelware

latifa
Hi erman,

It works fine, I could install the patch 21663064. Even I made :
 export PATH=$ORACLE_HOME/Opatch:$PATH

which opatch: it gives : /opt/application/V12/fs1/EBSapps/10.1.2/OPatch/opatch not the WebTier opatch.

I have to put allways: $ORACLE_HOME/OPatch/opatch apply

Thank you very much Erman.

Regards
Latifa
Reply | Threaded
Open this post in threaded view
|

Re: Upgrade Middleware

ErmanArslansOracleBlog
Administrator
Good. Keep going..
Reply | Threaded
Open this post in threaded view
|

Re: Upgrade Middleware

latifa
cutover and cleanup worked fine

Thank you

Latifa
Reply | Threaded
Open this post in threaded view
|

Re: Upgrade Middleware

ErmanArslansOracleBlog
Administrator
Reply | Threaded
Open this post in threaded view
|

Re: Upgrade Middleware

latifa
Hi Erman,

Actually fs2 is the RUN file system.

Should I do from this file system and with this option:

adop phase=fs_clone force=yes

Regards,
Latifa




Reply | Threaded
Open this post in threaded view
|

Re: Upgrade Middleware

ErmanArslansOracleBlog
Administrator
just execute adop phase=fs_clone (after sourcing the run filesystem)

Info: fs_clone - Recreates the patch edition file system as an exact copy of the run edition file system.

2017-01-20 20:32 GMT+03:00 latifa [via Erman Arslan's Oracle Forum] <[hidden email]>:
Hi Erman,

Actually fs2 is the RUN file system.

Should I do from this file system and with this option:

adop phase=fs_clone force=yes

Regards,
Latifa







If you reply to this email, your message will be added to the discussion below:
http://erman-arslan-s-oracle-forum.2340467.n4.nabble.com/Upgrade-Middelware-tp1947p1959.html
To start a new topic under Middleware / Weblogic, email [hidden email]
To unsubscribe from Erman Arslan's Oracle Forum, click here.
NAML



--

Erman Arslan, MBA 

Applications and Database Operations Manager

Oracle Certified Expert, Certified Exadata and Linux Administrator


Author,  Practical Oracle E-Business Suite

Blog:     ermanarslan.blogspot.com

Forum:  http://ermanarslan.blogspot.com/p/forum.html


Mobile: 05301567803

Reply | Threaded
Open this post in threaded view
|

Re: Upgrade Middleware

latifa
Thank you for the reply.
Reply | Threaded
Open this post in threaded view
|

Re: Upgrade Middleware

latifa

Hi Erman,

fs_clone failed with following error:

You are running adadminsrvctl.sh version 120.10.12020000.10

Environment file /opt/application/V12/fs1/EBSapps/appl/APPSDBOFINP_udkfinp03.env is not found.
/opt/application/V12/fs1/inst/apps/DBOFINP_udkfinp03/admin/scripts/adadminsrvctl.sh[161]: : cannot open
    [UNEXPECTED]Error occurred running "sh /opt/application/V12/fs1/inst/apps/DBOFINP_udkfinp03/admin/scripts/adadminsrvctl.sh  stop -nopromptmsg"
    [UNEXPECTED]Error running adadminsrvctl command


[STATEMENT] Please run adopscanlog utility, using the command

"adopscanlog -latest=yes"

to get the list of the log files along with snippet of the error message corresponding to each log file.


adop exiting with status = 2 (Fail)

should I rerun fs_clone with force=yes ?

Regards,
Latifa
Reply | Threaded
Open this post in threaded view
|

Re: Upgrade Middleware

latifa
Hi again,

there is no appl in this directory !!

opfinbac@udkfinp03:/opt/application/V12/fs2/inst/apps/DBOFINP_udkfinp03/admin/scripts$ ls /opt/application/V12/fs1/EBSapps
comn

Regards,
Latifa


Reply | Threaded
Open this post in threaded view
|

Re: Upgrade Middleware

latifa
Hi Erman,

I run the fs_clone with option force=yes

But it doesn't solve the problem;

Please find joined the logs of the previous and the last adop fs_clone.

Thanks in advance for your help.

Regards,
Latifa

adop_20170120_204707.log
adop_20170120_233152.log
Reply | Threaded
Open this post in threaded view
|

Re: Upgrade Middleware

ErmanArslansOracleBlog
Administrator
What do you mean by "there is no appl in this directory !!" ?

Please send me the following:

1)ls -al /opt/application/V12/fs1/EBSapps/appl/APPSDBOFINP_udkfinp03.env

2)ls -al /opt/application/V12/fs1/EBSapps/appl

3)adopscanlog -latest=yes
Reply | Threaded
Open this post in threaded view
|

Re: Upgrade Middleware

latifa
Hi Erman,

Last login: Sat Jan 21 00:19:37 2017 from 10.128.173.32
Oracle Corporation      SunOS 5.11      11.3    March 2016
You have mail.
-bash: /opt/application/V12/fs1/EBSapps/appl/APPSDBOFINP_udkfinp03.env: No such file or directory

  E-Business Suite Environment Information
  ----------------------------------------
  RUN File System           : /opt/application/V12/fs2/EBSapps/appl
  PATCH File System         : /opt/application/V12/fs1/EBSapps/appl
  Non-Editioned File System : /opt/application/V12/fs_ne


  DB Host: prdc1pdb01.dalkia.net  Service/SID: DBOFINP


  Sourcing the RUN File System ...

opfinbac@udkfinp03:~$ ^C
opfinbac@udkfinp03:~$ /opt/application/V12/fs1/EBSapps^C
opfinbac@udkfinp03:~$ cd /opt/application/V12/fs1/EBSapps
opfinbac@udkfinp03:/opt/application/V12/fs1/EBSapps$ ls -l
total 3
drwxr-xr-x   3 opfinbac gpfinbac       3 Jan 21 00:11 comn
opfinbac@udkfinp03:/opt/application/V12/fs1/EBSapps$

There is only comn ...

3. adopscanlog_201701211642.txt


Thank you

Regards,
Latifa

Reply | Threaded
Open this post in threaded view
|

Re: Upgrade Middleware

ErmanArslansOracleBlog
Administrator
I think it is the txkADOPPreparePhaseSynchronize.pl run, that is failing, which causes all of these issues.

Anyways; here is a document for you.

FSClone fails while running txkADOPPreparePhaseSynchronize.pl (Doc ID 2094689.1)

Check the document above and if it is the same as your case, then apply the solution..
If not, more logs should be checked. (logs under the directory named: /opt/application/V12/fs_ne/EBSapps/log/adop/13/fs_clone_20170120_233152/DBOFINP_udkfinp03)
Reply | Threaded
Open this post in threaded view
|

Re: Upgrade Middleware

latifa
Hi Erman,

Applying the Doc ID doesn't solve the issue.

However, I found an error in the FSCloneApplyAppsTier_01210012.log :

FSCloneApplyAppsTier_01210012.log

You do not have sufficient permissions to access the inventory '/opt/application/V12/oraInventory/oraInventory_avt11119'. Installation cannot continue. It is required that the primary group of the install user is same as the inventory owner group. Make sure that the install user is part of the inventory owner group and restart the installer.: Permission denied

.end err out.

ERROR: Failed to deregister Oracle Home Name=OH756045817 location=/opt/application/V12/fs1/FMW_Home/Oracle_EBS-app1

START: Inside exitClone....
Updating status INCOMPLETE for ApplyfmwTechStack

START: Updating status INCOMPLETE for action ApplyfmwTechStack

END: Updated status INCOMPLETE for action ApplyfmwTechStack

>>> I changed the user oforaInventory/oraInventory_avt11119 which was root but it doesn't solve. But why it needs this directory, it's backup ?

Regards,
Latifa
12