Bug 763713 (GLUSTER-1981)

Summary: Installing 3.1.0 over 3.0.5 makes gluster command to throw an error
Product: [Community] GlusterFS Reporter: Vidya Sakar <vs>
Component: unclassifiedAssignee: Lakshmipathi G <lakshmipathi>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: low Docs Contact:
Priority: low    
Version: 3.1.0CC: gluster-bugs, vijay
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Vidya Sakar 2010-10-19 10:39:11 UTC
When I run gluster command, it throws up the following error :

$ sudo gluster peer status
gluster: symbol lookup error: /usr/lib/libgfrpc.so.0: undefined symbol: gf_log_xl_log_set

Here is the procedure I followed
1) $ sudo apt-get install openssh-server wget
2) Downloaded .deb package from download.gluster.com
3) sudo dpkg -r glusterfs
4) sudo dpkg -i glusterfs_3.1.0-1_amd64.deb
   (there was a prompt on whether to overwrite the config files and I chose Y for all the files)
5) update-rc.d glusterd defaults
6) no peer servers were needed to be added, however I just ran the peer status command and it failed as below

$ sudo gluster peer status
gluster: symbol lookup error: /usr/lib/libgfrpc.so.0: undefined symbol: gf_log_xl_log_set

$ ldd /usr/sbin/gluster
	linux-vdso.so.1 =>  (0x00007fff957ff000)
	libglusterfs.so.0 => /usr/lib/libglusterfs.so.0 (0x00007fbd9f3f4000)
	libreadline.so.6 => /lib/libreadline.so.6 (0x00007fbd9f192000)
	libncurses.so.5 => /lib/libncurses.so.5 (0x00007fbd9ef4e000)
	libgfxdr.so.0 => /usr/lib/libgfxdr.so.0 (0x00007fbd9ed39000)
	libgfrpc.so.0 => /usr/lib/libgfrpc.so.0 (0x00007fbd9eb23000)
	libdl.so.2 => /lib/libdl.so.2 (0x00007fbd9e91e000)
	libpthread.so.0 => /lib/libpthread.so.0 (0x00007fbd9e701000)
	libc.so.6 => /lib/libc.so.6 (0x00007fbd9e37e000)
	/lib64/ld-linux-x86-64.so.2 (0x00007fbd9f64e000)

Running the following set of commands solved the issue, but it may be worthwhile to check why the error happened in the first place.

$ sudo rm /lib64/libglusterfs* -f
$ sudo ldconfig
$ sudo gluster peer status
No peers present

Comment 1 Amar Tumballi 2011-04-25 09:33:54 UTC
Please update the status of this bug as its been more than 6months since its filed (bug id < 2000)

Please resolve it with proper resolution if its not valid anymore. If its still valid and not critical, move it to 'enhancement' severity.

Comment 2 Lakshmipathi G 2011-07-15 06:35:44 UTC
installed 3.0.5 and removed it (dpkg -r glusterfs && dpkg --purge glusterfs) & installing 3.1.0 shows still the error. But moving from 3.0.5 to 3.1.5 works.

Comment 3 Lakshmipathi G 2011-08-30 04:35:36 UTC
(In reply to comment #2)
> installed 3.0.5 and removed it (dpkg -r glusterfs && dpkg --purge glusterfs) &
> installing 3.1.0 shows still the error. But moving from 3.0.5 to 3.1.5 works.

Please reopen, if this issue exists with recent versions.