Issue when Creating a new ifs home or instance

  • 26 April 2021
  • 2 replies
  • 651 views

Userlevel 6
Badge +10

When try to create a new ifs home using installer.cmd located inside IFSHOME or create a new instance using installer.cmd located  BUILDHOME/build_home/installer/os/windows, we got a below error

 

Error :

Error in Ant-script: server\install_fndmws.xml

Reported error is: The following error occurred while executing this line:

C:\ACS2_DEV2APP10\build_home\server\install_fndmws.xml:214: Failed to install Middelware Server! Error is: Exception when installing IFS Middleware Home: C:\IFS_ACS2_DEV2APP10\tmp\as\resources1188118356681766909\install_fndmws.xml:480: Failed to install Middleware Server. Error is:

--------------------------------------------------

Installation failed, process stopped, check the logfile.

 

It was resolved by below steps

  • Delete every services including Solr service for the instance - using cmd command
    • Using command "sc delete ServiceName"
  • Rename the existing IFS HOME
  • Remove the entry (DEVor BNT) in inventory.xml located C:\Program Files\Oracle\Inventory\ContentsXML
  • Then try to create instance from build home

Here I found that the main step is to remove the relevant entry in inventory.xml located in C:\Program Files\Oracle\Inventory\ContentsXML. 


This topic has been closed for comments

2 replies

Userlevel 6
Badge +9

I think in addition to the above, when creating a new IFS_Home you can also check the rogue inventory lock file which is relevant to this error.

 

Userlevel 7
Badge +31

To add something to this, if you do not want to manually edit the file, you can run below scripts to attach and detach Oracle Homes from the Central Inventory.

\\<IFS_HOME>\mw_home\mws\oui\bin\attachHome.cmd

\\<IFS_HOME>\mw_home\mws\oui\bin\detachHome.cmd

Of course you would not have this option if you are creating an instance from scratch.