000034457 - NetWitness puppet error with Segmentation fault

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

Article Content

Article Number000034457
Applies ToRSA Product Set: Security Analytics
RSA Product/Service Type: SA Core Appliance
RSA Version/Condition: 10.6.1.x
 
IssueAfter reinstalling ruby-libs package "puppet agent -t" fails with Segmentation fault error.
 
[root@DECODER ~]#yum reinstall ruby-libs
[root@DECODER ~]# puppet agent -t
Info: Retrieving pluginfacts
Info: Retrieving plugin
Info: Loading facts
/usr/lib/ruby/site_ruby/1.8/facter/ssh.rb:59: [BUG] Segmentation fault
ruby 1.8.7 (2013-06-27 patchlevel 374) [x86_64-linux]
Aborted
Causeyum reinstall of package ruby-libs-1.8.7.374-4.el6_6.x86_64 broke sha2.so file's soft link.
Working good machine :
[root@DECODER ~]# ls -l "/usr/lib64/ruby/1.8/x86_64-linux/digest/sha2.so"
lrwxrwxrwx. 1 root root 27 Aug 29 05:03 /usr/lib64/ruby/1.8/x86_64-linux/digest/sha2.so -> /opt/rsa/fips/files/sha2.so

 

Machine after reinstalling ruby-libs :


[root@DECODER ~]# ls -l /usr/lib64/ruby/1.8/x86_64-linux/digest/sha2.so
-rwxr-xr-x. 1 root root 12408 Mar  2  2015 /usr/lib64/ruby/1.8/x86_64-linux/digest/sha2.so

 
ResolutionFix : Create a soft link for opt/rsa/fips/files/sha2.so
[root@DECODER ~]# mv /usr/lib64/ruby/1.8/x86_64-linux/digest/sha2.so /usr/lib64/ruby/1.8/x86_64-linux/digest/sha2.so.old
[root@DECODER ~]# ln -s /opt/rsa/fips/files/sha2.so /usr/lib64/ruby/1.8/x86_64-linux/digest/sha2.so
[root@DECODER ~]# ls -l "/usr/lib64/ruby/1.8/x86_64-linux/digest/sha2.so"
lrwxrwxrwx. 1 root root 27 Nov 21 05:28 /usr/lib64/ruby/1.8/x86_64-linux/digest/sha2.so -> /opt/rsa/fips/files/sha2.so
[root@DECODER ~]# puppet agent -t
Info: Retrieving pluginfacts
Info: Retrieving plugin
Info: Loading facts
Info: Caching catalog for ce4dc0de-3665-41f0-809b-6ea214bf2b5e
Info: Applying configuration version '1479282888'
Notice: /Stage[main]/Ssh/Exec[fix-ssh]/returns: executed successfully
Notice: /Stage[main]/Yumconfig/Exec[disable-Centos-Repos]/returns: executed successfully
Notice: Finished catalog run in 24.10 seconds

 
 

Attachments

    Outcomes