influxdb: [arm] Influxd in build 2.0.0-beta.12_linux_arm64 unable to start
Steps to reproduce:
- upgrade (`wget https://dl.influxdata.com/influxdb/releases/influxdb_2.0.0-beta.12_linux_arm64.tar.gz ; tar xvf influxdb_2.0.0-beta.12_linux_arm64.tar.gz ; sudo cp influxdb_2.0.0-beta.12_linux_arm64/influxd /usr/local/bin/influxd
- stop/start: (
sudo systemctl restart influxdb2.service) - check status: (
sudo systemctl status influxdb2.service)
Expected behavior: Influxd should be self contained / no dependencies
Actual behavior: influxdb_2.0.0-beta.12 has been dynamically linked, requiring external libs.
influxdb2.service - InfluxDB 2.0 service file.
Loaded: loaded (/lib/systemd/system/influxdb2.service; enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Sun 2020-06-21 07:57:46 AEST; 1s ago
Docs: https://v2.docs.influxdata.com/v2.0/get-started/
Process: 24369 ExecStart=/usr/local/bin/influxd run --reporting-disabled --engine-path /mnt/Influx/.influxdbv2/engine --bolt-path /mnt/Influx/.influxdbv2/influxd.bolt
Main PID: 24369 (code=exited, status=203/EXEC)
Jun 21 07:57:46 raspiM systemd[1]: Started InfluxDB 2.0 service file..
Jun 21 07:57:46 raspiM systemd[24369]: influxdb2.service: Failed to execute command: No such file or directory
Jun 21 07:57:46 raspiM systemd[24369]: influxdb2.service: Failed at step EXEC spawning /usr/local/bin/influxd: No such file or directory
Jun 21 07:57:46 raspiM systemd[1]: influxdb2.service: Main process exited, code=exited, status=203/EXEC
Jun 21 07:57:46 raspiM systemd[1]: influxdb2.service: Failed with result 'exit-code'.
Environment info:
- System info:
Linux 4.19.118-v8+ aarch64 - InfluxDB version:
influxdb_2.0.0-beta.12 - Other relevant environment details: n/a
Config:
[Unit]
Description=InfluxDB 2.0 service file.
Documentation=https://v2.docs.influxdata.com/v2.0/get-started/
After=network-online.target
[Service]
User=influxdb
Group=influxdb
ExecStart=/usr/local/bin/influxd run \
--reporting-disabled \
# --log-level debug \
--engine-path "/mnt/Influx/.influxdbv2/engine" \
--bolt-path "/mnt/Influx/.influxdbv2/influxd.bolt"
#Restart=on-failure
[Install]
WantedBy=multi-user.target
File output for 2.0.0-beta.12:
influxdb_2.0.0-beta.12_linux_arm64/influxd: ELF 64-bit LSB executable, ARM aarch64, version 1 (SYSV), dynamically linked, interpreter /lib/ld-linux-aarch64.so.1, for GNU/Linux 3.7.0, Go BuildID=aHEnMbH3jnHbzTod6bt9/c7v578K9qlMX-P1uQU6F/T6FL3PGJEis7OEaYjwAw/CVpdbj1YgY9bLl5D0YTO, BuildID[sha1]=4bac3fd7d9409ed975bc29a4754638c43f69e24b, stripped
File output for previous beta 2.0.0-beta.10:
influxdb_2.0.0-beta.10_linux_arm64/influxd: ELF 64-bit LSB executable, ARM aarch64, version 1 (SYSV), statically linked, Go BuildID=3yWPtBaN8cmoTWpU2Zap/gnrg3SOyddixPc6D7TzU/0MazSKoIGhGWFEF5fAE5/9HvOGkG_BRrqvdK9d1bh, stripped
About this issue
- Original URL
- State: closed
- Created 4 years ago
- Reactions: 1
- Comments: 20 (10 by maintainers)
Is still the same with beta.13:
I’m going to close this issue since I’ve seen reports in the community Slack that the new ARM binaries do (at least) start up, but please do open new issues if you try them out and hit problems!
@FixTestRepeat @drpuur @gonghito and others on this thread, looks like a recent change to a dependent library had a side effect of turning our binaries from static to dynamic. We didn’t go out of our way to make static binaries originally, they just happened to be that way (See #17675).
We are working on build changes to add static builds to the next release due the second week of july. Until then, if you need static binaries, you will need to stay on Beta-10.