Hide Forgot
Steps to reproduce this issue- 1.Install glusterfs from src. glusterfs installed on default path - # whereis glusterfs glusterfsd glusterfs: /usr/local/sbin/glusterfs /usr/local/etc/glusterfs /usr/local/lib/glusterfs glusterfsd: /usr/local/sbin/glusterfsd 2.start glusterd as "/etc/init.d/glusterd start" 3.Now start geo-replication session - It will fail with message like "[2011-07-18 02:38:09.618092] E [syncdutils:131:exception] <top>: FAIL: Traceback (most recent call last): File "/usr/local/libexec/glusterfs/python/syncdaemon/gsyncd.py", line 102, in main main_i() File "/usr/local/libexec/glusterfs/python/syncdaemon/gsyncd.py", line 296, in main_i local.connect() File "/usr/local/libexec/glusterfs/python/syncdaemon/resource.py", line 378, in connect raise RuntimeError("command failed: " + " ".join(argv)) RuntimeError: command failed: glusterfs -l /usr/local/var/log/glusterfs/geo-replication/geotest/ssh%3A%2F%2Froot%4010.1.12.173%3Afile%3A%2F%2F%2Fexport%2FgeoS.gluster.log -s localhost --volfile-id geotest --client-pid=-1 /tmp/gsyncd-aux-mount-YrZMWu" It fails because environmental variable PATH invoked from with /etc/init.d/glusterd shows values "PATH=/sbin:/usr/sbin:/bin:/usr/bin" But installing from src,does not create symlink at /usr/sbin but installs under path /usr/loca/sbin - [with rpm installation there is a sym.link on /usr/sbin/glusterfs to /opt/glusterfs/version/sbin/glusterfs - so there is no issue when its started using /etc/init.d/glusterd]
src and rpms are exclusive now...