VNX : nas_stats fails with java.lang.UnsatisfiedLinkError [ Dell EMC Correctable]

This article applies to This article does not apply to This article is not tied to any specific product. Not all product versions are identified in this article.

Symptoms




Customer noticed error with health check:

Control Station: Checking statistics groups database....................... Fail

nas_stats command is failing as below :  

[nasadminCS0 nasadmin]# nas_stats  -groups -list
Exception in thread "main" java.lang.UnsatisfiedLinkError: no db_java-4.5 in java.library.path
        at java.lang.ClassLoader.loadLibrary(Unknown Source)
        at java.lang.Runtime.loadLibrary0(Unknown Source)
        at java.lang.System.loadLibrary(Unknown Source)
        at com.sleepycat.db.internal.db_javaJNI.<clinit>(db_javaJNI.java:49)
        at com.sleepycat.db.internal.DbEnv.<init>(DbEnv.java:213)
        at com.sleepycat.db.EnvironmentConfig.createEnvironment(EnvironmentConfig.java:932)
        at com.sleepycat.db.EnvironmentConfig.openEnvironment(EnvironmentConfig.java:885)
        at com.sleepycat.db.Environment.<init>(Environment.java:30)
        at BDBHandler.setup(BDBHandler.java:130)
        at nas_stats.main(nas_stats.java:1429)

[root@CS0 nasadmin]# nas_stats  -groups -list
Exception in thread "main" java.lang.UnsatisfiedLinkError: no multibyte in java.library.path
        at java.lang.ClassLoader.loadLibrary(Unknown Source)
        at java.lang.Runtime.loadLibrary0(Unknown Source)
        at java.lang.System.loadLibrary(Unknown Source)
        at OutputFormatter.<clinit>(OutputFormatter.java:249)
        at nas_stats.main(nas_stats.java:1474)


Cause

Unsupported modification happened on the control station in relation with Java Run time (JRE) RPM package

Resolution


It appears like, customer installed a newer version of Java JRE which resulted in recreation of /usr/java/lib/i386 folder. This made 2 symbolic links to miss and caused the reported error of : java.lang.UnsatisfiedLinkError

2 Files that is required are :

lrwxrwxrwx 1 root root 26 Nov  7 14:11 /usr/java/lib/i386/libdb_java-4.5.so -> /nas/lib/libdb_java-4.5.so
lrwxrwxrwx 1 root root 30 Nov  7 14:11 /usr/java/lib/i386/libmultibyte.so -> /nas/stats/lib/libmultibyte.so


After recreating the links of both, it successfully worked.

To recreate:

[root@CS0 nasadmin]# ln -s /nas/lib/libdb_java-4.5.so /usr/java/lib/i386/libdb_java-4.5.so
[root@CS0 nasadmin]# ln -s /nas/stats/lib/libmultibyte.so /usr/java/lib/i386/libmultibyte.so


Now it will work correctly:

[root@CS0 nasadmin]# nas_stats  -groups -list
Type                Name
System            basic-std
System            caches-std
System            cifs-std
System            cifsOps-std
System            diskVolumes-std
System            metaVolumes-std
System            netDevices-std
System            nfs-std
System            nfsOps-std

If the issue is complex, CS recovery need to be done.


Additional Information

Typical Java locations are as below (from a 8.1.9.184 box this is from, based on code, this will vary with JRE version number):

[root@CS0 nasadmin]# nas_version
8.1.9-184
[root@CS0 nasadmin]# ls -al /usr/bin/java
lrwxrwxrwx 1 root root 26 Feb 27  2016 /usr/bin/java -> /usr/java/default/bin/java
[root@CS0 nasadmin]# ls -al /usr/local/bin/java
lrwxrwxrwx 1 root root 18 Feb 27  2016 /usr/local/bin/java -> /usr/java/bin/java
[root@CS0 nasadmin]# ls -al /usr/java/
total 348
drwxr-xr-x  7 root root   4096 Nov  7 14:11 .
drwxr-xr-x 15 root root   4096 Nov  7 14:13 ..
drwxr-xr-x  2 root root   4096 Nov  7 14:11 bin
-rw-r--r--  2 root root   3244 Apr  1  2016 COPYRIGHT
drwxr-xr-x  7 root root   4096 Nov  7 13:17 jre1.8.0_91
lrwxrwxrwx  1 root root     21 Nov  7 14:11 latest -> /usr/java/jre1.8.0_91
drwxr-xr-x 16 root root   4096 Nov  7 14:11 lib
-rw-r--r--  2 root root     40 Apr  1  2016 LICENSE
drwxr-xr-x  4 root root   4096 Nov  7 14:11 man
drwxr-xr-x  3 root root   4096 Nov  7 14:11 plugin
-rw-r--r--  2 root root     46 Apr  1  2016 README
-rw-r--r--  2 root root    524 Apr  1  2016 release
-rwxr-xr-x  2 root root 110114 Mar 31  2016 THIRDPARTYLICENSEREADME-JAVAFX.txt
-rw-r--r--  2 root root 177094 Apr  1  2016 THIRDPARTYLICENSEREADME.txt
-rw-r--r--  2 root root    955 Apr  1  2016 Welcome.html
[root@CS0 nasadmin]# ls -al /usr/java/bin/
total 440
drwxr-xr-x 2 root root   4096 Nov  7 14:11 .
drwxr-xr-x 7 root root   4096 Nov  7 14:11 ..
lrwxrwxrwx 2 root root      8 Nov  7 13:17 ControlPanel -> jcontrol
-rwxr-xr-x 2 root root   5730 Apr  1  2016 java
-rwxr-xr-x 2 root root 103821 Apr  1  2016 javaws
-rwxr-xr-x 2 root root   6264 Apr  1  2016 jcontrol
-rwxr-xr-x 2 root root   5881 Apr  1  2016 jjs
-rwxr-xr-x 2 root root   5893 Apr  1  2016 keytool
-rwxr-xr-x 2 root root   6029 Apr  1  2016 orbd
-rwxr-xr-x 2 root root   5897 Apr  1  2016 pack200
-rwxr-xr-x 2 root root   5997 Apr  1  2016 policytool
-rwxr-xr-x 2 root root   5881 Apr  1  2016 rmid
-rwxr-xr-x 2 root root   5893 Apr  1  2016 rmiregistry
-rwxr-xr-x 2 root root   5909 Apr  1  2016 servertool
-rwxr-xr-x 2 root root   6061 Apr  1  2016 tnameserv
-rwxr-xr-x 2 root root 230044 Apr  1  2016 unpack200
[root@CS0 nasadmin]# ls -al /usr/java/lib/i386/ | grep '\->'
lrwxrwxrwx  1 root root       26 Apr 27 03:41 libdb_java-4.5.so -> /nas/lib/libdb_java-4.5.so
lrwxrwxrwx  1 root root       30 Apr 27 03:42 libmultibyte.so -> /nas/stats/lib/libmultibyte.so


Products

VNX1 Series, VNX2 Series
Article Properties
Article Number: 000062005
Article Type: Solution
Last Modified: 07 Nov 2025
Version:  3
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.