|Applies To||RSA Product Set: Security Analytics, RSA NetWitness Logs & Network|
RSA Product/Service Type: Security Analytics hosts
RSA Version/Condition: 10.x
O/S Version: EL6
|Issue||The 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: read-function of plugin `python.nwraidstats' failed. Will suspend it for 120.000 seconds.
May 13 01:09:06 HOSTNAME collectd: Unhandled python exception in read callback: AttributeError: 'NoneType' object has no attribute 'groups'
May 13 01:14:59 HOSTNAME collectd: read-function of plugin `python.nwraidstats' failed. Will suspend it for 480.000 seconds.
May 13 01:14:59 HOSTNAME collectd: 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.
|Cause||The issue may occur when /opt/lsi/3rdpartylibs/x86_64 is corrupted or deleted.|
|Resolution||Please follow the steps below to resolve the issue.|
- 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
- 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
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
Run the following command:
# service collectd restart
|Notes||Make sure you have the right file. In this case, I show an example of the wrong file(RED) and the right file(GREEN). Take a look at a working environment and compare the libsysfs.so.2.0.2 file. If you cannot find this file and still need assistance with this configuration contact RSA Technical Support.|