Hide Forgot
I'm not sure why, but it appears the ldconfig is not getting run or at least not working on an RPM upgrade from 3.1.1 I had 3.1.1 installed from an RPM on CentOS 5.4 and today I did a "rpm -U glusterfs*.rpm" with the 3.2.2 RPM files. After that finished I was unable to start glusterd as it was giving the error: [root@fatcompute-12-1 profile.d]# service glusterd start Starting glusterd:/opt/glusterfs/3.2.2/sbin/glusterd: error while loading shared libraries: libglusterfs.so.0: cannot open shared object file: No such file or directory [FAILED] I then ran ldconfig and now it starts fine.
Hi Michael, Could you please let us, how to reproduce this issue with exact steps ? I tried following ,but it (unfortunately :P) worked. 1)started with clean setup #whereis gluster glusterfs glusterd glusterfsd gluster: glusterfs: glusterd: glusterfsd: # ls glusterfs-core-3.1.1-1.fc11.x86_64.rpm glusterfs-core-3.2.2-1.fc12.x86_64.rpm 2)installed 3.1.1 rpm # rpm -ivh glusterfs-core-3.1.1-1.fc11.x86_64.rpm Preparing... ########################################### [100%] 1:glusterfs-core ########################################### [100%] 3)Version check- # glusterd --version glusterfs 3.1.1 built on Nov 30 2010 04:06:40 Repository revision: v3.1.1 Copyright (c) 2006-2010 Gluster Inc. <http://www.gluster.com> GlusterFS comes with ABSOLUTELY NO WARRANTY. You may redistribute copies of GlusterFS under the terms of the GNU Affero General Public License. 4)Now upgrade to 3.2.2 # rpm -Uvh glusterfs-core-3.2.2-1.fc12.x86_64.rpm Preparing... ########################################### [100%] 1:glusterfs-core ########################################### [100%] [root@space rpm]# glusterd --version glusterfs 3.2.2 built on Jul 14 2011 19:27:18 Repository revision: git://git.gluster.com/glusterfs.git Copyright (c) 2006-2010 Gluster Inc. <http://www.gluster.com> GlusterFS comes with ABSOLUTELY NO WARRANTY. You may redistribute copies of GlusterFS under the terms of the GNU Affero General Public License. For me upgrade(from 3.1.1. to 3.2.2) works without manually invoking ldconfig.
Unable to reproduce this again.Please re-open ,if the issue still exists.