glusterd启动失败的一种处理方法

论坛 期权论坛 脚本     
匿名技术用户   2021-1-7 01:29   909   0

启动glusterd失败:

# /etc/init.d/glusterd restart
Starting glusterd: [FAILED]

查看日志:/var/log/glusterfs/etc-glusterfs-glusterd.vol.log,相关内容如下:

[2017-03-02 07:42:57.342099] I [MSGID: 100030] [glusterfsd.c:2332:main] 0-/usr/sbin/glusterd: Started running /usr/sbin/glusterd version 3.7.9 (args: /usr/sbin/glusterd --pid-file=/var/run/glusterd.pid)
[2017-03-02 07:42:57.344712] I [MSGID: 106478] [glusterd.c:1337:init] 0-management: Maximum allowed open file descriptors set to 65536
[2017-03-02 07:42:57.344745] I [MSGID: 106479] [glusterd.c:1386:init] 0-management: Using /var/lib/glusterd as working directory
[2017-03-02 07:42:57.348323] E [rpc-transport.c:292:rpc_transport_load] 0-rpc-transport: /usr/lib64/glusterfs/3.7.9/rpc-transport/rdma.so: cannot open shared object file: No such file or directory
[2017-03-02 07:42:57.348350] W [rpc-transport.c:296:rpc_transport_load] 0-rpc-transport: volume 'rdma.management': transport-type 'rdma' is not valid or not found on this machine
[2017-03-02 07:42:57.348358] W [rpcsvc.c:1597:rpcsvc_transport_create] 0-rpc-service: cannot create listener, initing the transport failed
[2017-03-02 07:42:57.348366] E [MSGID: 106243] [glusterd.c:1610:init] 0-management: creation of 1 listeners failed, continuing with succeeded transport
[2017-03-02 07:42:57.349332] I [MSGID: 106228] [glusterd.c:433:glusterd_check_gsync_present] 0-glusterd: geo-replication module not installed in the system [No such file or directory]
[2017-03-02 07:42:57.367394] I [MSGID: 106513] [glusterd-store.c:2062:glusterd_restore_op_version] 0-glusterd: retrieved op-version: 30707
[2017-03-02 07:42:57.400158] I [MSGID: 106544] [glusterd.c:159:glusterd_uuid_init] 0-management: retrieved UUID: 6ec69f0d-2a67-4eb7-991c-82b210d01b0b
[2017-03-02 07:42:57.703395] E [MSGID: 106187] [glusterd-store.c:4300:glusterd_resolve_all_bricks] 0-glusterd: resolve brick failed in restore
[2017-03-02 07:42:57.703448] E [MSGID: 101019] [xlator.c:433:xlator_init] 0-management: Initialization of volume 'management' failed, review your volfile again
[2017-03-02 07:42:57.703448] E [MSGID: 101019] [xlator.c:433:xlator_init] 0-management: Initialization of volume 'management' failed, review your volfile again
[2017-03-02 07:42:57.703459] E [graph.c:322:glusterfs_graph_init] 0-management: initializing translator failed
d
[2017-03-02 07:42:57.703473] E [graph.c:661:glusterfs_graph_activate] 0-graph: init failed
[2017-03-02 07:42:57.703810] W [glusterfsd.c:1251:cleanup_and_exit] (-->/usr/sbin/glusterd(glusterfs_volumes_init+0xda) [0x405d5a] -->/usr/sbin/glusterd(glusterfs_process_volfp+0x110) [0x405c30] -->/usr/sbin/glusterd(cleanup_and_exit+0x65) [0x405a75] ) 0-: received signum (0), shutting down

原因未知,处理方法如下:

# rm -rf /var/lib/glusterd/*
#
# /etc/init.d/glusterd start
Starting glusterd:                                         [  OK  ]

转载于:https://www.cnblogs.com/lausaa/p/6491202.html

分享到 :
0 人收藏
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

积分:7942463
帖子:1588486
精华:0
期权论坛 期权论坛
发布
内容

下载期权论坛手机APP