Remove old OHOME after upgrade

Oracle GI 11.2.0.1/11.2.0.3 - standalone ASM, no RAC
Oracle db 11.2.0.1
Oracle Linux 5.6 x86-64
This last weekend I upgraded my GI from 11.2.0.1 to 11.2.0.2.0
Old home was /u01/app/oracle/product/11.2.0/grid
New home is /u01/app/oracle/product/11.2.0.2/grid
database home is /u01/app/oracle/product/11.2.0/db_1
Now I would like to clean up by deleting the old GI home, and am testing on a sandbox under VBox. Same system as I used to test the upgrade procedure, and it looks as close to the live box as I can get it.
Of course, with 11g, the OUI doesn't do installs any more, and the supplied deinstall file also has issues.
Found MOS note 883743.1, downloaded linux.x64_11203_deinstall.zip and unzipped it, then ran that deinstall.
The deinstall failed, and the really surprising thing is it complained that a whole bunch of files in the old home are still in use ..
oracle:vbdwprd$
oracle:vbdwprd$ ./deinstall -home /u01/app/oracle/product/11.2.0/grid
Location of logs /u01/app/oraInventory/logs/
############ ORACLE DEINSTALL & DECONFIG TOOL START ############
######################### CHECK OPERATION START #########################
## [START] Install check configuration ##
Checking for existence of the Oracle home location /u01/app/oracle/product/11.2.0/grid
Oracle Home type selected for deinstall is: Oracle Grid Infrastructure for a Standalone Server
Oracle Base selected for deinstall is: /u01/app/oracle
Checking for existence of central inventory location /u01/app/oraInventory
Checking for existence of the Oracle Grid Infrastructure home /u01/app/oracle/product/11.2.0.2/grid
Checking for sufficient temp space availability on node(s) : 'vbdwprod.vbdomain'
## [END] Install check configuration ##
Traces log file: /u01/app/oraInventory/logs//crsdc.log
Network Configuration check config START
Network de-configuration trace file location: /u01/app/oraInventory/logs/netdc_check2013-02-05_11-25-55-AM.log
Network Configuration check config END
Asm Check Configuration START
ASM de-configuration trace file location: /u01/app/oraInventory/logs/asmcadc_check2013-02-05_11-25-57-AM.log
ASM was not detected in the Oracle Home
######################### CHECK OPERATION END #########################
####################### CHECK OPERATION SUMMARY #######################
Oracle Grid Infrastructure Home is: /u01/app/oracle/product/11.2.0.2/grid
The cluster node(s) on which the Oracle home deinstallation will be performed are:null
Oracle Home selected for deinstall is: /u01/app/oracle/product/11.2.0/grid
Inventory Location where the Oracle home registered is: /u01/app/oraInventory
The home being deconfigured is NOT a configured Grid Infrastructure home (/u01/app/oracle/product/11.2.0.2/grid)
ASM was not detected in the Oracle Home
Do you want to continue (y - yes, n - no)? [n]: y
A log of this session will be written to: '/u01/app/oraInventory/logs/deinstall_deconfig2013-02-05_11-25-47-AM.out'
Any error messages from this session will be written to: '/u01/app/oraInventory/logs/deinstall_deconfig2013-02-05_11-25-47-AM.err'
######################## CLEAN OPERATION START ########################
ASM de-configuration trace file location: /u01/app/oraInventory/logs/asmcadc_clean2013-02-05_11-26-02-AM.log
ASM Clean Configuration END
Network Configuration clean config START
Network de-configuration trace file location: /u01/app/oraInventory/logs/netdc_clean2013-02-05_11-26-02-AM.log
De-configuring Listener configuration file...
Listener configuration file de-configured successfully.
De-configuring Naming Methods configuration file...
Naming Methods configuration file de-configured successfully.
De-configuring Local Net Service Names configuration file...
Local Net Service Names configuration file de-configured successfully.
De-configuring backup files...
Backup files de-configured successfully.
The network configuration has been cleaned up successfully.
Network Configuration clean config END
Setting the force flag to false
Setting the force flag to cleanup the Oracle Base
Oracle Universal Installer clean START
Detach Oracle home '/u01/app/oracle/product/11.2.0/grid' from the central inventory on the local node : Done
Failed to delete the directory '/u01/app/oracle/product/11.2.0/grid/auth/crs/vbdwprod'. The directory is in use.
Failed to delete the directory '/u01/app/oracle/product/11.2.0/grid/auth/crs'. The directory is not empty.and so on .. to end with
Failed to delete the directory '/u01/app/oracle/product/11.2.0/grid/ctss'. The directory is not empty.
Failed to delete the directory '/u01/app/oracle/product/11.2.0/grid'. The directory is not empty.
Delete directory '/u01/app/oracle/product/11.2.0/grid' on the local node : Failed <<<<
The Oracle Base directory '/u01/app/oracle' will not be removed on local node. The directory is in use by Oracle Home '/u01/app/oracle/product/11.2.0/dwprd'.
Oracle Universal Installer cleanup was successful.
Oracle Universal Installer clean END
## [START] Oracle install clean ##
Clean install operation removing temporary directory '/tmp/deinstall2013-02-05_11-25-45AM' on node 'vbdwprod'
## [END] Oracle install clean ##
######################### CLEAN OPERATION END #########################
####################### CLEAN OPERATION SUMMARY #######################
The home being deconfigured is NOT a configured Grid Infrastructure home (/u01/app/oracle/product/11.2.0.2/grid)
Successfully detached Oracle home '/u01/app/oracle/product/11.2.0/grid' from the central inventory on the local node.
Failed to delete directory '/u01/app/oracle/product/11.2.0/grid' on the local node.
Oracle Universal Installer cleanup was successful.
Oracle deinstall tool successfully cleaned up temporary directories.
############# ORACLE DEINSTALL & DECONFIG TOOL END #############So where do I go from here?

Sebastian Solbach (DBA Community) wrote:
Hi,
This is a known issue (listed in Readme)
http://docs.oracle.com/cd/E11882_01/readmes.112/e22488/toc.htm#CHDDJCFH
Where did you find that particular document?
I just now double checked the 'readme' docs that came with the 11.2.0.2 media I had downloaded and was working with. The download comprised of 3 (of 7) zip files. The first 2 for the database, and #3 for GI. Of course the 2 db files unzip to a common 'database' directory, and the GI unzips to its own 'grid' directory. Each unzipped directory has its own readme, and neither matches the part number of what you cited. (readme from Database is p/n E15732-03; from Grid is p/n E15732-03). Nor could I find anything about that issue in either of the readmes I have.
You can either use the workaround stated there.
However checking for notes in MOS you find:
How to Deinstall Old Clusterware Home Once Upgrade to Newer Version is Complete (Doc ID 1346305.1)
How to Proceed from Failed Upgrade to 11gR2 Grid Infrastructure on Linux/Unix (Doc ID 969254.1)
So you don't deinstall the old home, but you "simply" delete it.
Ok. Just as I used a vm to practice the upgrade, I've been using it to practice the cleanup. After reviewing my work some more, I see that it reported a 'detach' on the inventory. So I double checked the inventory.xml and see that it now lists the old 11.2.0 home as "removed". Also see this note in the MOS doc I was working from (note 883743.1), stating " Check if Oracle Home folder is deleted or not. If not then you have to remove it manually."
Still leaves me wondering why the desinstaller reported that it couldn't delete files/directories. Here's a sampling of the messages. Note the variety
Failed to delete the directory '/u01/app/oracle/product/11.2.0/grid/auth/crs/vbdwprod'. The directory is in use.
Failed to delete the directory '/u01/app/oracle/product/11.2.0/grid/auth/crs'. The directory is not empty.
Failed to delete the file '/u01/app/oracle/product/11.2.0/grid/crs/init/ohasd'. The file is in use.
Failed to delete the file '/u01/app/oracle/product/11.2.0/grid/crs/template/appvip.type'. The file is in use.Note especially that last one .. a file in the 'samples' directory is in use?!?!?! there were a total of 18 files in this samples directory that were reported "in use". And yet when I ran that list against fuser and lsof, they both returned nothing.
At least I now have a working solution.
Thanks to you and Pierre for your assistance.
Please make sure you moved all files... I had custom failover scripts build, which I had placed under $GI_HOME/crs/public.
These are not copied during the upgrade, so after I deleted the old home, I had to recreate the scripts and to reregister the resources...
Regards
Sebastian
Regards
Sebastian

Similar Messages

  • Can't open old mail after upgrade to yosemite

    can't open old mail after upgrade to yosemite OS X 10.10. My old mail was version 6.6. The new version is 8.0. What to do??

    How are you trying to open it, and what exactly happens?

  • TS4118 Can I retrieve to do list from old calendar after upgrading to mountain lion?

    Can I retrieve "to do list" from old calendar after upgrading to mountain lion?

    Hello MacMystie,
    Thank you for using Apple Support Communities. 
    If you have a recent backup with the old "to do list" you can use the following article will provide information on recovering information from a backup. 
    Recovering iCloud contacts, calendars, and bookmarks from an iTunes backup of an iOS device - Apple Support
    Regards,
    Jeff D. 

  • Removing NFS mounts after upgrade

    In Tiger, I had set up a number of static NFS mounts to a Linux server using NetInfo. After upgrading to Leopard, these static links are no longer working, but the newly created automounts using Directory Utility work fine. I've been trying to remove the old entries using dscl without success. I have a number of entries in /Local/Default/Mounts, eg:
    $ dscl localhost -read /Local/Default/Mounts/doobage:\/home\/michael
    dsAttrTypeNative:type: nfs
    AppleMetaNodeLocation: /Local/Default
    GeneratedUID: B719E4FA-33F7-449A-AD63-0452515F0FF2
    RecordName: doobage:/home/michael
    RecordType: dsRecTypeStandard:Mounts
    VFSLinkDir: /server/michael
    I've tried deleting these using the dscl -delete command, eg:
    $ sudo dscl localhost -delete /Local/Default/Mounts/doobage:\/home\/michael
    Password:
    delete: Invalid Path
    <dscl_cmd> DS Error: -14009 (eDSUnknownNodeName)
    I suspect that I'm simply using the wrong key name, however, there aren't any examples of deletion in the dscl man page. Can someone please point out where I'm going wrong?
    Thanks,
    -Michael

    Try to escape the Slash with a double backslash.
    Message was edited by: sica187

  • Elements 5 will not start from the windows old file after upgrading from vista to win 7

    Elements 5 will not start from windows.old after upgrading from vista to win 7

    Ideally there should not be any impact of OS change, but officially PSE5 is not supported on Win7.
    What exactly happens ? Can you see the processes running in Task-manager?

  • Can't use my old HDD after upgrading with new one,old is GPT protected

    Hi everyone! First of all I would like to thank you in advance!
    Recently I upgraded my old HDD on my MacBookPro. I made a clone of the old disk, installed the new one in the MBP and putted the old one in external enclosure. Now I'm trying to use the old disk with the enclosure, but it doesn't appear in Finder, it appears in Disk Tools, but I can not perform any actions on it. I tried to erase it, but with no success! The old disk is GPT protected and I don't know what to do. Tried to erase it with Windows and Linux with no success neither. I know the enclosure works because it recognize every other disk, but my old one is untouchable to my Mac OS! I'm looking for possible ideas on how to make my old HDD usable with the enclosure?

    Can't really help with your Internet issues, but I can put you on the path to leaning more about Macs.
    If you're a former Windows user, there many resources on Apple's web site to get yourself familiar with how Macs and OS X work.
    Here ard a few areas to spend time with
    http://www.apple.com/support/macbasics/
    http://www.apple.com/support/imac/intel/
    http://support.apple.com/videos/
    http://www.apple.com/support/lion/
    http://www.apple.com/support/osx/
    For the video tutorials, in the video search box, just type in OS X. You'll get a list of OS X video tutorials to watch  as you learn to use your iMac.
    Start with the Anatomy of a Mac video first, Then the Finder Basics video second. After you have watched and put to use these two videos, you can watch any other OS X video you want in any order.
    Here is a free eBook download of David Pogue's OS X Snow Leopard The Missing Manual here. While OS X 10.7 LIon and OS X 10.8 Mountain Lion work a bit differently than OS X 10.6 Snow Leopard, there are many things that still apply.
    http://it-ebooks.info/book/337/
    Good Luck!

  • Help clearing out old programs after upgrade

    Before upgrading from 10.5 to 10.6, I had moved my application shortcuts into subfolders (i.e. Office Apps, Multi-media, etc). The upgrade did not find them and these icons remain in those folders. When I try to launch the Apple programs, a message states that this is an old version and cannot run.
    How do I safely remove those old programs?

    Here's Uninstalling Apps.
    DALE

  • How do you remove AppleSoftwareUpdate.msi after upgrading to windows7

    Uninstalled itunes before upgrading to windows7 from vista, now unable to re-install due to it being unable to find asu.msi

    now unable to re-install due to it being unable to find asu.msi
    Unfortunately, this sort of trouble has gotten more complicated to deal with ever since Microsoft pulled the Windows Installer CleanUp utility from their Download Center on June 25. First we have to find a copy of the utility.
    Let's try Googling. (Best not to use Bing, I think.) Look for a working download site for at least version 3.0 of the Windows Installer CleanUp utility. After downloading the utility installer file (msicuu2.exe), scan the file for malware, just in case. (I use the free version of Malwarebytes AntiMalware to do single-file scans for that.)
    If the file is clean, to install the utility, doubleclick the msicuu2.exe file you've downloaded.
    Now run the utility ("Start > All Programs > Windows Install Clean Up"). In the list of programs that appears in CleanUp, select any Apple Software Update entries and click "Remove".
    Quit out of CleanUp, restart the PC and try installing iTunes again. Does the install go through properly now?
    (If you do find a clean download site for the correct version of CleanUp, please don't tell me where it is. Without wishing to sound paranoid (although I grant it does sound paranoid), there is a non-zero chance that posting links to download locations for the utility here at Discussions leads to that download location being shut down.)

  • For All Those Who Miss The Old Layout After Upgrad...

    So yeah, I feel your pain but I've found a kind of workaround that will give you some of the missing layout features you miss from the previous versions of Skype, including the compact view and opening chats in new windows.
    To do so, follow these steps.
    Log into Skype, (obviously).
    On the page that appears click VIEW.
    Then click on SPLIT WINDOW.
    Then close the second window that appears.
    Please be sure to tell anyone you know about this topic and to reply to keep others aware of the workaround.
    It should also be noted that you'll still be running 6.21 or 6.22, so any changes to the client itself will still be in effect and some of the minor cosmetic changes, (such as borders and colour schemed), will still be present too, but fundamentally it will look and work like previous versions.
    Admin's: please feel free to pin this topic if a great deal of people find it helpful, I definately think that others would be happy with this help.
    Solved!
    Go to Solution.

    There's also a really useful blog article that summarizes how you can tweak the new layout: http://blogs.skype.com/2014/11/13/getting-to-grips-with-the-2014-skype-layout/
    NanaTeppler wrote:
    I just upgraded to version 6.22.0.107. My chat window for IMs now has blue text on a lighter blue background. Now some of us are old and decrepit and find this difficult to see. Is there a way to change the chat area text back to black on a white background?
    Currently there's no option to deactivate the blue chat bubble background, but we've heard the feedback from quite a few users and are looking into how we can improve the readability.
    Follow the latest Skype Community News
    ↓ Did my reply answer your question? Accept it as a solution to help others, Thanks. ↓

  • Use old iPhone after upgrade?

    I bought a new iPhone and transferred my data as described here http://support.apple.com/kb/HT2109, and new iPhone is working great. Is it necessary to erase all data on the old iPhone? Can I continue to use the old iPhone as an iPod Touch, keeping all my old apps and music on it? What will happen next time I sync it to iTunes? Will there be any mix up between the two phones?

    "Does this mean that when I buy an app on one device that it will also be available on the other one after syncing both of them to iTunes?"
    Yes, as long as they sync using your iTunes account, you can d/l apps to many iPhone/Tounch devices.

  • Restoring old Iphone after upgrade

    I just upgraded to 3GS and want to restore the details of the old iphone across to the new handset but during setup I received a message saying that this could not be done as the software was too old and that I would need to update the software first and then restore the old iphone to the new. The software is now up to date but I don't know how to go back and restore the old iphone. Can anyone help?
    Just to be sure I haven't got it completely wrong, My calendar, contacts, notes, apps etc are all synced but my language settings and text messages and stock settings etc are not, these things are transferable, right? It is possible that restore facility only extends to certain things. Any help to resolve this would be greatly appreciated.

    Thanks Phil. Actually what I am looking for is some advice on how to find the option for 'recreating' the old iphone on the new one. I already had the option once but had to update the software first, now that I have done that I don't know how to go back and do it.
    I really appreciate your help.

  • [SOLVED] Trying to load old kernel after upgrade

    Hi, apologies in advance for asking this if it's a repeating situation but I searched and read for the better part of the day with no avail.
    I updated to kernel 3.1.9 today and everything compiles fine, with no errors. After reboot is when it fails to load user specific modules, which I think I narrowed down to /lib/modules/3.1.8. That would make sense because with uname -r it is still showing 3.1.8 after -Syu and reboot but everything else is configured for 3.1.9. I checked the menu.lst and it is pointed to initramfs and the build of that was reported successful. I don't have any kernel .deps from AUR and I was updating with packer anyways. There is one error being reported in xorg.conf that Nvidia driver fails to load and no driver available even though it compiled without issue. Anyways I'm not sure what info to post for you to help me out, but I'll be glad to if you let me know.
    Thank guys.
    Oh and for the meantime I just downgraded the kernel and everything works fine. I know I could just stay on this setup and be good but I installed Arch specifically to challenge myself and learn.
    Last edited by quantumfunk (2012-01-14 21:58:58)

    Hi thanks for your response. I made sure to have /boot mounted during the upgrade but it did not alter the outcome.
    It is in fact failing to load ACPI modules after the update. If that might be of some assistance.
    I'm still reading as much as I can find, maybe you can point me in the direction of a thread that could help?
    So far I'm following this one https://bbs.archlinux.org/viewtopic.php?id=114003 to no avail.
    Last edited by quantumfunk (2012-01-14 20:02:26)

  • Unlock my old 3G after upgrade?

    Searched the discussions and found old answers to this question. Hoping to get a more current answer.
    I just upgraded my AT&T account to a new iPhone 4. This leaves me with my old 3GS. Considering potential uses for my old iPhone. I want to use it as my international phone when I travel by acquiring SIM cards from carriers in countries I visit. I have read that I will need to unlock the phone to do this. Is this possible? Can I do it myself or do I need it done by AT&T or Apple?
    I don't know much about SIM cards. I assume each card will include a phone number from the carrier. ?? Do SIM cards also provide data service? Will I be able to tether my laptop to the iPhone?

    Go back and read all those old answers you found, they are still very relevant and acurate.
    Neither AT&T or Apple will unlock a US sold iPhone for any reason.

  • Droping old tablespace after upgrade

    Hi All,
    I have finished upgrading ERP6 from ERP5.
    In guide it asks to drop the old tablespace.
    I have a tablespace PSAP<SID>640 which is showing 0% used.
    There is new tablespace PSAP<SID>700 has been added there and it is filled
    So when I was trying to drop the tablespace throught BRSPACE, it gives error that the tablespace contains 690 segments. And to use "force" option to drop it.
    Now I want to know if we have to drop that tablespace and if yes then should I use the force option or can i do something about those 690 segments?
    I would really appreciate your help.
    Regards,
    Tajinder

    Hi Sachin,
    My DB is Oracle 10.2
    The log is written below:-
    BR0657I Input menu 310 - please check/enter input values
                                                                                    Options for dropping of tablespace PSAPRD1640
    *1 * Number of files in tablespace (files) . [13]*
    *2 * Total tablespace size in MB (size) .... [26000]*
    3 - Force tablespace drop (force) ......... [no]
    4 - SQL command (command) ................. [drop tablespace PSAPRD1640]
    Standard keys: c - cont, b - back, s - stop, r - refr, h - help
                                                                                    BR0662I Enter your choice:
                                                                                    BR0280I BRSPACE time stamp: 2009-02-19 17.50.54
    BR0663I Your choice: 'c'
                                                                                    BR0259I Program execution will be continued...
    BR0280I BRSPACE time stamp: 2009-02-19 17.50.54
    BR1070I Searching for segments in tablespace PSAPRD1640...
    BR0285I This function can take several seconds/minutes - be patient...
    BR0280I BRSPACE time stamp: 2009-02-19 17.50.55
    BR1072E Tablespace PSAPRD1640 contains 690 segment(s) - please use 'force' option to drop it
    BR0669I Cannot continue due to previous warnings or errors - you can go back to repeat the last action
    But the space used is 0%
    Regards,
    Tajinder

  • Remove old version after update?

    I just installed the Windows Lightroom 4 (upgrade) to replace Lightroom 3.6.
    Can I now remove version 3.6 without jeopardizing operation of version 4 or the ability to further update when a successor becomes available?

    Yes, you can.
    Although in this particular case with all the bugs in LR4.0 I would keep LR3.6 sitting around.
    Should you be among the ones hurt by performance problems you might need an easy way to go back.
    Or you might need to compare images. Go for 4.1RC2 to benefit from some bug fixes.
    Have you already converted your LR3-catalog ?
    This might also take several trials...
    No need for a hurry to ditch LR3.6, you can so in some months as well.
    Corneali

Maybe you are looking for

  • Regarding Link to URL UI Element in a table

    Hi All, I am using "link to url" UI Element in a table column. I have mapped the column (i mean the "reference" property of "link to url" UI to a bapi node). Now, when I am populating the table, for some rows the bapi is not returning the url links.

  • Best way to publish Edge files into html page?

    Ok, So im looking for the best way to add my edge files into my html page. I want to make it easy to integrate edge with dreamweaver html files, e.g if I change anything in my edge project and publish it I dont need to transfer the html over to my pa

  • PIR consumption issue

    We have been having intermittent problems with our R/3 implementation (4.7C)for a long time. PIRs get consumed without explanation (i.e. no sales orders coming it to consume the forecast, which is expressed as PIRs). We suspect it might have somethin

  • ADE does not find Icarus pocket

    Hi, I installed ADE. It runs without problems, it just doesn't find the Icarus pocket e-reader. It is being found by the pc though. Anyone an idea what to do? Thanks AnnaSara

  • Adobe Reader 7.1 "quits unexpectedly" after launching.

    I've used Adobe Reader 7.0x with my OS 10.3.9 more or less happily for several years, but I recently downloaded Adobe Reader 7.1 (the download Adobe.com tells you to use for 10.3.x), mainly because I kept getting messages from Adobe telling me to. Th