Closed sachidanandacj closed 8 months ago
please send us the be.warning and be.out message.
$cat be/log/be.out
start time: Fri Jan 5 08:43:16 AM UTC 2024
The only log found in be/log/
$cat be/log/be.out start time: Fri Jan 5 08:43:16 AM UTC 2024
The only log found in be/log/
how about the dmesg
or syslog?
`
$tail -f /var/log/syslog
Jan 10 05:12:53 poc1 kernel: [421009.415182] starrocks_be[55344]: segfault at 8 ip 00007f98cddf8215 sp 00007ffeb9618900 error 4 in ld-linux-x86-64.so.2[7f98cddd7000+2a000]
Jan 10 05:12:53 poc1 kernel: [421009.415204] Code: 81 39 52 e5 74 64 0f 84 f9 04 00 00 48 85 c0 75 e4 48 83 3d 2c 7d 01 00 00 0f 85 0a 05 00 00 49 8b 57 68 49 8b 87 68 02 00 00 <48> 8b 5a 08 41 f6 87 1e 03 00 00 20 74 03 49 03 1f 48 85 c0 74 3a
`
where did you get the StarRocks binaries for the ubuntu platform?
can you run ldd be/lib/starrocks_be
, looks like dynamic library incompatible reading from the syslog.
I ran the ldd command and it gave no output (meaning no dependencies recognized?)
it should have output.
should be something similar to the following output
$ ldd be/lib/starrocks_be
linux-vdso.so.1 (0x00007ffd35b93000)
libjvm.so => not found
libresolv.so.2 => /lib/x86_64-linux-gnu/libresolv.so.2 (0x00007ff468b52000)
libbfd-2.38-system.so => /lib/x86_64-linux-gnu/libbfd-2.38-system.so (0x00007ff4689da000)
libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007ff4688f3000)
libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007ff4686cb000)
/lib64/ld-linux-x86-64.so.2 (0x00007ff468b6c000)
libz.so.1 => /lib/x86_64-linux-gnu/libz.so.1 (0x00007ff4686ad000)
I meant it was empty output. It did not show the dependencies. Could be some issue in the docker image? I need a classic cluster (shared-nothing). So, I downloaded 2.5.17 image. Can I try with 3.2.1 and still use shared-nothing cluster?
I meant it was empty output. It did not show the dependencies. Could be some issue in the docker image? I need a classic cluster (shared-nothing). So, I downloaded 2.5.17 image. Can I try with 3.2.1 and still use shared-nothing cluster?
yes of couse, 3.x can still be running in shared-nothing mode.
let me try with that and will get back. Thanks for the support
this is an example output of running starrocks/allin1-ubuntu:2.5.17
, the same binary pulling from the starrocks/artifacts-ubuntu:2.5.17
.
root@599a99355ec9:/data/deploy/starrocks# ldd be/lib/starrocks_be
linux-vdso.so.1 (0x00007ffc1a924000)
libjvm.so => not found
libbfd-2.38-system.so => /lib/x86_64-linux-gnu/libbfd-2.38-system.so (0x00007fd0a2d2a000)
libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007fd0a2c43000)
libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007fd0a2a1b000)
/lib64/ld-linux-x86-64.so.2 (0x00007fd0a2ea8000)
libz.so.1 => /lib/x86_64-linux-gnu/libz.so.1 (0x00007fd0a29ff000)
root@599a99355ec9:/data/deploy/starrocks# cd be
root@599a99355ec9:/data/deploy/starrocks/be# ./bin/show_be_version.sh
2.5.17 RELEASE (build 3f669b66d9)
Built on 2023-12-19 05:53:45 by StarRocks@localhost
I got the docker image by docker pull starrocks/artifacts-ubuntu:2.5.17 You are using starrocks/allin1-ubuntu:2.5.17 Would that matter?
I got the docker image by docker pull starrocks/artifacts-ubuntu:2.5.17 You are using starrocks/allin1-ubuntu:2.5.17 Would that matter?
the same, the binary inside allin1-ubuntu is copied from artifacts-ubuntu.
# md5sum be/lib/starrocks_be
77ffe3354bafa7afbac4ce51dd354f94 be/lib/starrocks_be
Wow! Looks like a network transfer issue - On the node where i need to run the service
$ md5sum starrocks_be
0ac369b4439f8f8d56d165d754baeebe starrocks_be
On the host machine where i have docker engine -
$ md5sum be/lib/starrocks_be
77ffe3354bafa7afbac4ce51dd354f94 be/lib/starrocks_be
ok. looks like the binary is corrupted.
addressed the root cause, close this issue.
I am trying to start the BE service and it results in a Segmentation fault. I was able to start the FE successfully. I tried to start the BE on 2 nodes, one where the FE service is running and also on a different node but both result in a Seg fault.
Environment - OS - Ubuntu 22.04.3 Processor - x86
There is no indication of where is it failing
Steps to reproduce the behavior (Required)
I have installed openjdk-11-jdk
Starting the BE service -
Logs -
Expected behavior (Required)
Run the BE service seamlessly
Real behavior (Required)
Starting a BE service results in Seg fault
StarRocks version (Required)
2.5.17