000032855 - Running puppet agent -t on the RSA Security Analytics server results in an error

Document created by RSA Customer Support Employee on Jun 14, 2016Last modified by RSA Customer Support Employee on Apr 21, 2017
Version 2Show Document
  • View in full screen mode

Article Content

Article Number000032855
Applies ToRSA Product Set: Security Analytics
RSA Product/Service Type: Security Analytics Server
RSA Version/Condition: 10.5.1.2
Platform: CentOS
Platform (Other): puppet
O/S Version: EL6
 
IssueAfter upgrading SA server to 10.5.1.2 running puppet agent -t produces the following error:
 
Error: Execution of 'keytool -importkeystore -srcstoretype PKCS12 -destkeystore /opt/rsa/carlos//keystore.jks -srckeystore /tmp/carlos.20160401-16587-u3dm1q-0 -alias carlos' returned 1: Error: Could not execute posix command: No such file or directory - keytool


The same errors can be observed in the /var/log/messages file.
CauseThe symlinks in /etc/alternatives were not properly updated during the SA server upgrade.
WorkaroundThis error can be resolved by modifying the /etc/puppet/modules/rsa-java/manifests/init.pp file.
It will be necessary to ssh into the SA server, and use vi to modify the following file:  /etc/puppet/modules/rsa-java/manifests/init.pp
On approximately line 61 the following value will be found ( the exact version may very, but should be somewhat similar) :
package => 'java-1.8.0-openjdk-1.8.0.65',

The value should be changed to the following:
package => 'java-1.8.0-openjdk',


Once the change has been made and saved, simply run puppet agent -t again and the error in relation to "missing package keytool" should be resolved.
 

Attachments

    Outcomes