GlusterFS无法启动原因及处理方案
2016-01-18 16:34
176 查看
启动结果:
Redirecting to /bin/systemctl status glusterd.service
glusterd.service - GlusterFS, a clustered file-system server
Loaded: loaded (/usr/lib/systemd/system/glusterd.service; enabled)
Active: failed (Result: exit-code) since Fri 2014-09-26 01:47:54 EDT; 5min ago
Process: 25116 ExecStart=/usr/sbin/glusterd -p /run/glusterd.pid (code=exited, status=1/FAILURE)
Sep 26 01:47:54 datasvr1 systemd[1]: glusterd.service: control process exited, code=exited status=1
Sep 26 01:47:54 datasvr1 systemd[1]: Failed to start GlusterFS, a clustered file-system server.
Sep 26 01:47:54 datasvr1 systemd[1]: Unit glusterd.service entered failed state.
原因:
glusterfs配置文件(/etc/glusterfs/glusterd.vol)出现问题
出现问题时的配置信息为:
volume management
type mgmt/glusterd
#working-directory的位置为/var/lib/glusterfsd
option working-directory /var/lib/glusterfsd
option transport-type socket,rdma
option transport.socket.keepalive-time 10
option transport.socket.keepalive-interval 2
option transport.socket.read-fail-log off
end-volume
处理方法:
将working-directory的位置修改为配置文件所在位置(即为/etc/glusterfs)
修改后的配置信息为:
volume management
type mgmt/glusterd
option working-directory /etc/glusterfs
option transport-type socket,rdma
option transport.socket.keepalive-time 10
option transport.socket.keepalive-interval 2
option transport.socket.read-fail-log off
# option base-port 49152
end-volume
Redirecting to /bin/systemctl status glusterd.service
glusterd.service - GlusterFS, a clustered file-system server
Loaded: loaded (/usr/lib/systemd/system/glusterd.service; enabled)
Active: failed (Result: exit-code) since Fri 2014-09-26 01:47:54 EDT; 5min ago
Process: 25116 ExecStart=/usr/sbin/glusterd -p /run/glusterd.pid (code=exited, status=1/FAILURE)
Sep 26 01:47:54 datasvr1 systemd[1]: glusterd.service: control process exited, code=exited status=1
Sep 26 01:47:54 datasvr1 systemd[1]: Failed to start GlusterFS, a clustered file-system server.
Sep 26 01:47:54 datasvr1 systemd[1]: Unit glusterd.service entered failed state.
原因:
glusterfs配置文件(/etc/glusterfs/glusterd.vol)出现问题
出现问题时的配置信息为:
volume management
type mgmt/glusterd
#working-directory的位置为/var/lib/glusterfsd
option working-directory /var/lib/glusterfsd
option transport-type socket,rdma
option transport.socket.keepalive-time 10
option transport.socket.keepalive-interval 2
option transport.socket.read-fail-log off
end-volume
处理方法:
将working-directory的位置修改为配置文件所在位置(即为/etc/glusterfs)
修改后的配置信息为:
volume management
type mgmt/glusterd
option working-directory /etc/glusterfs
option transport-type socket,rdma
option transport.socket.keepalive-time 10
option transport.socket.keepalive-interval 2
option transport.socket.read-fail-log off
# option base-port 49152
end-volume
相关文章推荐
- 关于的垂直居中的问题
- 建了个百度贴吧:图形底层吧
- jQuery表单input文本框默认说明文字获得焦点后消失效果
- 【ASP】利用数据库操作类优化数据库表的增删改查
- mybatis ${}与#{}区别
- 最大连续子序列之和
- Linux 内核配置机制(make menuconfig、Kconfig、makefile)讲解
- Linux 内核配置机制(make menuconfig、Kconfig、makefile)讲解
- 创业公司中运营人员的典型一天是怎么度过的?
- linux添加开机启动脚本
- Linux 内核配置机制(make menuconfig、Kconfig、makefile)讲解
- Xshell 连接CentOS服务器解密
- OS X thrift setup
- CHECK_NRPE: Received 0 bytes from daemon. Check the remote server logs for error messages.
- LeetCode String to Integer (atoi)
- css三种样式引入方法,html链接,html中<table>的使用方法
- html5元素简介<p>、<br/>、、background属性与bgcolor属性
- 设置列表(uitableview)顶端间隙
- 纯CSS控制背景图片100%自适应填充布局
- Hdu 1556 Color the ball