Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
glusterfs script error
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
dongfengshemaer
n00b
n00b


Joined: 31 Jan 2012
Posts: 3

PostPosted: Fri Nov 16, 2012 7:54 pm    Post subject: glusterfs script error Reply with quote

# emerge glusterfs
# cat /etc/init.d/glusterfsd
Code:

        ...
        else
                einfo "Using local volume file"
                start-stop-daemon --start --pidfile ${GLUSTERFS_PIDFILE} \
                        --exec /usr/sbin/glusterfsd -- \
                        --pid-file=${GLUSTERFS_PIDFILE} \
                        --log-file=${GLUSTERFS_LOGFILE} \
                        --volfile=${GLUSTERFS_VOLFILE} \
                        ${GLUSTERFS_OPTS} ${GLUSTERFS_MOUNTPOINT}
                status="$?"
        fi


Should be
Code:

        ...
        else
                einfo "Using local volume file"
                start-stop-daemon --start --pidfile ${GLUSTERFS_PIDFILE} \
                        --exec /usr/sbin/glusterfs -- \
                        --pid-file=${GLUSTERFS_PIDFILE} \
                        --log-file=${GLUSTERFS_LOGFILE} \
                        --volfile=${GLUSTERFS_VOLFILE} \
                        ${GLUSTERFS_OPTS} ${GLUSTERFS_MOUNTPOINT}
                status="$?"
        fi


/usr/sbin/glusterfsd
Should be
/usr/sbin/glusterfs


Otherwise you can't run this script as gluster client.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum