CFSMount Agent is unable to mount the cluster file system (CFS) due to missing compat-libstdc++-33 rpm

book

Article ID: 100019511

calendar_today

Updated On:

Description

Error Message

VCS ERROR V-16-1-10009 Agent CFSMount has faulted 6 times in less than 950 seconds -- Will not attempt to restart. Correct the problem and use haagent -start to start the agent

Cause

When attempting to online the VCS CFSMount resource it fails to online and times out, even when the "cfsmount" command is used to mount the Cluster File System.
 
The command "hastatus -sum" reports the CFSMount agent as failed.  

The issue was noted when we displayed the linked libraries.
 
# ldd/opt/VRTSvcs/bin/CFSMount/CFSMountAgent
linux-gate.so.1=> (0xffffe000)
libvcsagfw.so=> /usr/lib/libvcsagfw.so (0xf7ebe000)
libvcsapi_mt.so=> /usr/lib/libvcsapi_mt.so (0xf7d6d000)
libnsl.so.1=> /lib/libnsl.so.1 (0x007af000)
libcrypt.so.1=> /lib/libcrypt.so.1 (0x007dc000)
libpthread.so.0=> /lib/libpthread.so.0 (0x00362000)
libc.so.6=> /lib/libc.so.6 (0x00220000)
libstdc++.so.5=> not found                               <<<<< Note the library is not found
libdl.so.2=> /lib/libdl.so.2 (0x0037b000)
librt.so.1=> /lib/librt.so.1 (0x003aa000)
libstdc++.so.6=> /usr/lib/libstdc++.so.6 (0xf7c81000)
libm.so.6=> /lib/libm.so.6 (0x00381000)
libgcc_s.so.1=> /lib/libgcc_s.so.1 (0x00719000)
/lib/ld-linux.so.2(0x00203000)
 
To establish which rpm contains the missing library:
 
# rpm -q--whatprovides /usr/lib/libstdc++.so.5
compat-libstdc++-33-3.2.3-61
 
From the above output, the missing library is part of the compat-libstdc++-33 rpm.

Resolution

Manually mounting the Cluster File System using command "mount -t vxfs -o cluster" works fine.
 
Steps to resolve the issue:
 
1.] Stop the CFSMount Agent.
 
# /opt/VRTSvcs/bin/haagent-stop  -force  -sys
 
2.] Install missing RPMs
 
# rpm -ivh compat-libstdc++-33-3.2.3-61.i386.rpm
# rpm -ivh compat-libstdc++-33-3.2.3-61.x86_64.rpm
 
NOTE: The compat-libstdc++-33 rpm comes in both 32bit and 64bit. Both format will need to be installed.
 
The version of the compat-libstdc++  rpm may be different depending on the RHEL distribution version being installed.
 
3.] Now start the CFSMount agent.
 
# /opt/VRTSvcs/bin/haagent-start -sys
 
4.] Verify the Library is linked.

# ldd/opt/VRTSvcs/bin/haagent
 
Once the library is correctly linked, the CFSMount resource will now mount and work as expected.

Issue/Introduction


CFSMount Agent is unable to mount Cluster File System (CFS) resource.