000033395 - /var/log/messages shows "read-function of plugin `python.nwraidstats' failed" error in RSA Security Analytics host

Document created by RSA Customer Support Employee on Jul 6, 2016Last modified by RSA Customer Support on Apr 17, 2019
Version 3Show Document
  • View in full screen mode

Article Content

Article Number000033395
Applies ToRSA Product Set: Security Analytics
RSA Product/Service Type: Security Analytics hosts
RSA Version/Condition: 10.x
Platform: CentOS
O/S Version: EL6
IssueThe error message read-function of plugin `python.nwraidstats' failed is constantly noticed on the /var/log/messages file on an RSA Security Analytics host as shown below:


May 13 01:09:06 HOSTNAME collectd[1546]: read-function of plugin `python.nwraidstats' failed. Will suspend it for 120.000 seconds.
May 13 01:09:06 HOSTNAME collectd[1546]: Unhandled python exception in read callback: AttributeError: 'NoneType' object has no attribute 'groups'
...
May 13 01:14:59 HOSTNAME collectd[1546]: read-function of plugin `python.nwraidstats' failed. Will suspend it for 480.000 seconds.
May 13 01:14:59 HOSTNAME collectd[1546]: Unhandled python exception in read callback: AttributeError: 'NoneType' object has no attribute 'groups'


It is also noticed that running /usr/sbin/nwraidutil.pl returns errors, such as the following:


Use of uninitialized value within @adaplist in string eq at /usr/sbin/nwraidutil.pl line 93.
CauseThe issue may occur when /opt/lsi/3rdpartylibs/x86_64 is corrupted or deleted.
ResolutionPlease follow the steps below to resolve the issue.
  1. Create the 'x86_64' directory under '/opt/lsi/3rdpartylibs/', and then copy the libsysfs.so.2.0.2 from the directory a level above.
     

    # mkdir /opt/lsi/3rdpartylibs/x86_64

    # cp /opt/lsi/3rdpartylibs/libsysfs.so.2.0.2  /opt/lsi/3rdpartylibs/x86_64

      The folder and file should appear as follows:



    # ls -al /opt/lsi/3rdpartylibs
    drwxr-xr-x. 2 root root 4096 May 6 02:00 x86_64

    # ls -al /opt/lsi/3rdpartylibs/x86_64/libsysfs.so.2.0.2
    -rwxr-xr-x. 1 root root 93370 Oct 14  2010 /opt/lsi/3rdpartylibs/x86_64/libsysfs.so.2.0.2



     

  2. Create two symbolic links with the following commands.
     

    # ln -s /opt/lsi/3rdpartylibs/x86_64/libsysfs.so.2.0.2 /opt/lsi/3rdpartylibs/x86_64/libsysfs.so.2

    # ln -s /opt/lsi/3rdpartylibs/x86_64/libsysfs.so.2 /opt/lsi/3rdpartylibs/x86_64/libsysfs.so

    # ls -al /opt/lsi/3rdpartylibs/x86_64/

      The output should be similar to the following:



    # ls -al /opt/lsi/3rdpartylibs/x86_64

    total 92
    lrwxrwxrwx. 1 root root 42 May 6 02:00 libsysfs.so -> /opt/lsi/3rdpartylibs/x86_64/libsysfs.so.2
    lrwxrwxrwx. 1 root root 46 May 6 02:00 libsysfs.so.2 -> /opt/lsi/3rdpartylibs/x86_64/libsysfs.so.2.0.2
    -rwxr-xr-x. 1 root root 93370 Oct 14 2010 libsysfs.so.2.0.2     



  3. Run the following command:

    # service collectd restart


Attachments

    Outcomes