000034624 - RSA Identity Management and Governance 6.9.1 installation fails while installing JDK with error "tar: /tmp/aveksa/packages/openjdk_v002.tar.bz2: Not found in archive"

Document created by RSA Customer Support Employee on Feb 7, 2017Last modified by RSA Customer Support Employee on Apr 21, 2017
Version 3Show Document
  • View in full screen mode

Article Content

Article Number000034624
Applies ToRSA Product Set: RSA Identity Management and Governance, 
RSA Version/Condition: 6.9.1
 
IssueThe RSA Identity Management and Governance 6.9.1 installation fails while installing JDK with errors below:
Installing JDK...
tar: /tmp/aveksa/packages/openjdk_v002.tar.bz2: Not found in archive
tar: Exiting with failure status due to previous errors
tar (child): /tmp/aveksa/packages/openjdk_1.6_sles11spx_x64.tar.bz2: Cannot open: No such file or directory
tar (child): Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error is not recoverable: exiting now
error: File not found by glob: /tmp/aveksa/packages/openjdk/*.rpm
tar (child): /tmp/aveksa/packages/openjdk/openjdk_1.6.0_33-b33_sles11spx_x64.tar.gz: Cannot open: No such file or directory
tar (child): Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error is not recoverable: exiting now
cp: cannot stat `/usr/lib64/jvm/java-1.6.0-openjdk-1.6.0/jre/lib/security/cacerts': No such file or directory
CauseThis issue occurs when an old package exists and a newer package dropped over the older one.
WorkaroundThe solution here is to rename the file, and populate the package with only what is expected.
  1. Navigate to /tmp/aveksa/packages with command below :
[root@server]# cd /tmp/aveksa/packages/

  1. View contents with the ls command below.
  2. Verify there are two openjdk_vxxx.tar.bz2 files in the directory.
[root@server:/tmp/aveksa/packages]# ls -l 
total 6320188
-rwxrwxrwx 1 root oinstall 167552383  Dec 15 09:43 AFX-6.9.1-Standard-Connectors.zip
-rwxrwxrwx 1 root root     1912927    Sep 22 2014 asmlib-007_x64.tar.bz2
-rwxrwxrwx 1 root oinstall 857560646  Mar 11 2015 aveksa-6.9.1.tar.bz2
-rwxrwxrwx 1 root root     148174390  Sep 22 2014 cvupack_Linux_x86_64.zip
-rwxrwxrwx 1 root root     22548532   Sep 22 2014 instantclient-basiclite-linux-x86-64-11.2.0.2.0.zip
-rwxrwxrwx 1 root root     837382     Sep 22 2014 instantclient-sqlplus-linux-x86-64-11.2.0.2.0.zip
-rwxrwxrwx 1 root root     184355932  Jun 18 2014 java-1_6_0-openjdk-1.6.0_31-b31.x86_64.tar.gz
-rwxrwxrwx 1 root root     96905207   Sep 22 2014 jboss-4.2.2.GA.zip
drwxrwxrwx 2 root root     4096       Dec 19 18:52 openjdk
-rwxrwxrwx 1 root oinstall 731659703  Sep 22 2014 openjdk_v001.tar.bz2
-rwxrwxrwx 1 root oinstall 720367745  Mar 12 2015 openjdk_v002.tar.bz2
-
rwxrwxrwx 1 root oinstall 53720348   Sep 22 2014 oracle_112030_patches.zip
-rwxrwxrwx 1 root oinstall 1358454646 Sep 22 2014 p10404530_112030_Linux-x86-64_1of7.zip
-rwxrwxrwx 1 root oinstall 1142195302 Sep 22 2014 p10404530_112030_Linux-x86-64_2of7.zip
-rwxrwxrwx 1 root oinstall 979195792  Sep 22 2014 p10404530_112030_Linux-x86-64_3of7.zip
-rwxrwxrwx 1 root oinstall 1637       Sep 22 2014 redhat-release-6Server-1.noarch.rpm

  1. Move or rename the openjdk_v001.tar.bz2 file using the mv command below:
[root@server:/tmp/aveksa/packages]# mv openjdk_v001.tar.bz2 x-openjdk_v001.tar.bz2

  1. The error should now be resolved so try the install again.
 
Notes Related to escalation ACM-53125.  Refer to the defect for more details. 

Attachments

    Outcomes