Bootstrap FreeKB - IBM WebSphere - Resolve "Failed to find required installation files"
IBM WebSphere - Resolve "Failed to find required installation files"

Updated:   |  IBM WebSphere articles

Let's say something like this is returned when attempting to install packages using the imcl (Installation Manager command line tool) command. Notice in this example that com.ibm.websphere.osgi_030_all.all_8.5.0.201204181553 is not found in /tmp/repository

ERROR: Failed to find required installation files.
  CRIMA1161E ERROR: Failed to find required installation files.
    ERROR: 'file com.ibm.websphere.osgi_030_all.all_8.5.0.201204181553' not found in was_8.5.5.19.

 

This means you are issuing a command that looks something like this, where /tmp/repository was used as the path to the local repository that contains the installation files.

/opt/WebSphere/InstallationManager/eclipse/tools/imcl 
install com.ibm.websphere.ND.v85_8.5.5019.20210118_0346 
-repositories /tmp/repository/
-installationDirectory /opt/WebSphere/AppServer85 
-acceptLicense
-showProgress

 

This also means that you would have downloaded Fix Packs or Interim Fix from IBMs Fix Central and unzip the Fix Packs or Interim Fix to the the /tmp/repository directory, something like this.

unzip 8.5.5-WS-WAS-FP019-part1.zip -d /tmp/repository

 

On IBMs Fix Central the SHA256 sum of each file that was downloaded should be listed. The sha256sum command can be used to ensure that the checksum is an exact match of the sum listed on IBMs Fix Central, so that you know the file was not corrupted while being downloaded.

~]# sha256sum 8.5.5-WS-WAS-FP019-part1.zip
0fdff08c4a715dc19197b37cfe19ba3439bc28ba48f536129584900b579afd33   8.5.5-WS-WAS-FP019-part1.zip

 

Then you can ensure that /tmp/repository is the directory that contains the installation files. Here is an example of what a respository directory might contain, most importantly, the directory must include the respository.config file.

[webproc@dllbwas001 jeremy]$ ls -l /tmp/repository
total 3936
drwxr-sr-x 3 jeremy admins     32 Feb  7 13:12 atoc
drwxr-sr-x 2 jeremy admins 237568 Feb  7 13:13 files
drwxr-sr-x 2 jeremy admins  69632 Feb 25 03:10 native
drwxr-sr-x 2 jeremy admins   4096 Feb  7 13:13 Offerings
drwxr-sr-x 2 jeremy admins   4096 Feb  7 13:13 plugins
-rw-r--r-- 1 jeremy admins   1284 Feb  7 13:13 repository.config
-rw-r--r-- 1 jeremy admins 149657 Feb  7 13:13 repository.xml
-rw-r--r-- 1 jeremy admins 396491 Feb  7 13:12 update_com.ibm.websphere.BASETRIAL.v85_8.5.5021.20220202_1245_from_8.5.0.20120501_1108.xml
-rw-r--r-- 1 jeremy admins 396957 Feb  7 13:12 update_com.ibm.websphere.BASE.v85_8.5.5021.20220202_1245_from_8.5.0.20120501_1108.xml
-rw-r--r-- 1 jeremy admins 396606 Feb  7 13:13 update_com.ibm.websphere.DEVELOPERSILAN.v85_8.5.5021.20220202_1245_from_8.5.0.20120501_1108.xml
-rw-r--r-- 1 jeremy admins 396796 Feb  7 13:12 update_com.ibm.websphere.DEVELOPERS.v85_8.5.5021.20220202_1245_from_8.5.0.20120501_1108.xml
-rw-r--r-- 1 jeremy admins 396934 Feb  7 13:13 update_com.ibm.websphere.EXPRESSTRIAL.v85_8.5.5021.20220202_1245_from_8.5.0.20120501_1108.xml
-rw-r--r-- 1 jeremy admins 397412 Feb  7 13:13 update_com.ibm.websphere.EXPRESS.v85_8.5.5021.20220202_1245_from_8.5.0.20120501_1108.xml
-rw-r--r-- 1 jeremy admins 137177 Feb  7 13:13 update_com.ibm.websphere.NDDMZTRIAL.v85_8.5.5021.20220202_1245_from_8.5.0.20120501_1108.xml
-rw-r--r-- 1 jeremy admins 137338 Feb  7 13:13 update_com.ibm.websphere.NDDMZ.v85_8.5.5021.20220202_1245_from_8.5.0.20120501_1108.xml
-rw-r--r-- 1 jeremy admins 415130 Feb  7 13:12 update_com.ibm.websphere.NDTRIAL.v85_8.5.5021.20220202_1245_from_8.5.0.20120501_1108.xml
-rw-r--r-- 1 jeremy admins 415582 Feb  7 13:12 update_com.ibm.websphere.ND.v85_8.5.5021.20220202_1245_from_8.5.0.20120501_1108.xml

 

Then use the imcl listAvailablePackages command to validate that the package you are trying to install is one of the available packages.

~]# /opt/WebSphere/InstallationManager/eclipse/tools/imcl listAvailablePackages -repositories /tmp/repository/
com.ibm.websphere.ND.v85_8.5.5019.20210118_0346

 

The find command can be used to determine if the required installation files do or do not exist in the repository.

find /tmp/repository/ | grep com.ibm.websphere.osgi_030_all.all_8.5.0.201204181553

 

And the grep command can be used to check the contents of the files for matches. Notice in this example that the XML files in /tmp/repository contain a reference to the missing file (com.ibm.websphere.osgi_030_all.all_8.5.0.201204181553) and these XML files think the missing file should reside at /tmp/repository/files/com.ibm.websphere.osgi_030_all.all_8.5.0.201204181553.file.

~]# grep -R /tmp/repository -ie 'com.ibm.websphere.osgi_030_all.all_8.5.0.201204181553'
/tmp/repository/update_com.ibm.websphere.ND.v85_8.5.5019.20210118_0346_from_8.5.0.20120501_1108.xml:    <Artifact href='files/com.ibm.websphere.batch_064_all.all_8.5.0.201204242118.file'/>

 

Sometimes this occurs as the missing files are part of the base package. In this example, the missing files might be in the package for version 8.5.5.0 of WebSphere. To determine if this is the issue, you can download the zip files for the base version of the package, extract the zip files to some other directory, such as /tmp/8.5.5.0 and then include both repositories in your install command.

/opt/WebSphere/InstallationManager/eclipse/tools/imcl 
install com.ibm.websphere.ND.v85_8.5.5019.20210118_0346 
-repositories /tmp/repository/,/tmp/8.5.5.0
-installationDirectory /opt/WebSphere/AppServer85 
-acceptLicense
-showProgress

 




Did you find this article helpful?

If so, consider buying me a coffee over at Buy Me A Coffee



Comments


Add a Comment


Please enter 12ccc6 in the box below so that we can be sure you are a human.