glusterfs icon indicating copy to clipboard operation
glusterfs copied to clipboard

glusterd does not start (signal received: 4) on Raspbian 11

Open hostingnuggets opened this issue 2 years ago • 2 comments

Description of problem:

After having compiled GlusterFS 10.4 from source on Raspberry Pi OS 11 with a Raspberry Pi 4 (8GB model) using the following flags and configure parameters

CFLAGS="-g -O2 -DUATOMIC_NO_LINK_ERROR" ./configure --disable-linux-io_uring --with-systemddir=/lib/systemd/system --without-tcmalloc

the glusterd daemon does not start.

The exact command to reproduce the issue:

/usr/local/sbin/glusterd -p /var/run/glusterd.pid --log-level INFO

The full output of the command that failed: no output

Expected results: glusterd should start

Mandatory info: - The output of the gluster volume info command: n/a

- The output of the gluster volume status command: n/a

- The output of the gluster volume heal command: n/a

**- Provide logs present on following locations of client and server nodes - /var/log/glusterfs/glusterd.log

[2023-06-16 07:42:27.484489 +0000] I [MSGID: 100030] [glusterfsd.c:2767:main] 0-/usr/local/sbin/glusterd: Started running version [{arg=/usr/local/sbin/glusterd}, {version=10.4}, {cmdlinestr=/usr/local/sbin/glusterd -p /var/run/glusterd.pid --log-level INFO}] 
[2023-06-16 07:42:27.487126 +0000] I [glusterfsd.c:2447:daemonize] 0-glusterfs: Pid of current running process is 11379
pending frames:
patchset: git://git.gluster.org/glusterfs.git
signal received: 4
time of crash: 
2023-06-16 07:42:27 +0000
configuration details:
argp 1
backtrace 1
dlfcn 1
libpthread 1
llistxattr 1
setfsid 1
epoll.h 1
xattr.h 1
st_atim.tv_nsec 1
package-string: glusterfs 10.4

**- Is there any crash ? Provide the backtrace and coredump I can't find any signs of core dump or logs with backtrace.

Additional info:

- The operating system / glusterfs version:

$ uname -a
Linux host 6.1.21-v8+ #1642 SMP PREEMPT Mon Apr  3 17:24:16 BST 2023 aarch64 GNU/Linux

$ lsb_release -a
No LSB modules are available.
Distributor ID:	Raspbian
Description:	Raspbian GNU/Linux 11 (bullseye)
Release:	11
Codename:	bullseye

$ /usr/local/sbin/glusterd --version
glusterfs 10.4
Repository revision: git://git.gluster.org/glusterfs.git
Copyright (c) 2006-2016 Red Hat, Inc. <https://www.gluster.org/>
GlusterFS comes with ABSOLUTELY NO WARRANTY.
It is licensed to you under your choice of the GNU Lesser
General Public License, version 3 or any later version (LGPLv3
or later), or the GNU General Public License, version 2 (GPLv2),
in all cases as published by the Free Software Foundation.

hostingnuggets avatar Jun 16 '23 07:06 hostingnuggets

Hello? anyone reading this?

hostingnuggets avatar Aug 15 '23 14:08 hostingnuggets

Hi,
I encountered a similar issue. It turned out I was running glusterd on a 32bit instead of 64bit operating system.
You can find more details at https://bugs.launchpad.net/ubuntu/+source/glusterfs/+bug/1991441 and https://github.com/gluster/glusterfs/issues/3911

fabrizio2210 avatar Sep 28 '24 12:09 fabrizio2210

Closing it based on last comment.

pranithk avatar Jan 21 '25 11:01 pranithk