Cannot start iventoy.sh on Raspi ARM - Printable Version +- Ventoy Forums (https://forums.ventoy.net) +-- Forum: iVentoy General Use —— iVentoy 使用交流 (https://forums.ventoy.net/forumdisplay.php?fid=7) +--- Forum: iVentoy Discussion Forum (https://forums.ventoy.net/forumdisplay.php?fid=8) +--- Thread: Cannot start iventoy.sh on Raspi ARM (/showthread.php?tid=2864) |
Cannot start iventoy.sh on Raspi ARM - cmonty14 - 05-07-2024 Hello, I'm trying to start iventoy-1.0.20/iventoy.sh and get this error on Raspi running Debian 12 ARM: env: „/root/lib/iventoy“: file or directory not found Here's the complete output running # bash -x /opt/iventoy-1.0.20/iventoy.sh start: + PROC_ENV='env IVENTOY_API_ALL=1' + PROJ_DIR=/root + PROJ_EXEC=/root/lib/iventoy + PROJ_PID=/var/run/iventoy.pid ++ id -u + uid=0 + '[' 0 -ne 0 ']' + '[' start = -A ']' + '[' start = -R ']' + echo start + grep -P -q '^(start|stop|status)$' + : + case "$1" in + start + local PID + local RETVAL ++ iventoy_get_running_pid ++ local PID ++ local FILE ++ '[' -f /var/run/iventoy.pid ']' ++ echo 0 + PID=0 + '[' 0 -ne 0 ']' + cd /root + env IVENTOY_API_ALL=1 /root/lib/iventoy env: „/root/lib/iventoy“: Datei oder Verzeichnis nicht gefunden + RETVAL=127 + '[' 127 -eq 0 ']' + echo 'iventoy start FAILED' iventoy start FAILED + exit 0 Can you please advise how to start iventoy.sh? THX RE: Cannot start iventoy.sh on Raspi ARM - sklerder - 05-07-2024 Hi cmonty It seems you try to start iVenty from the "/root" directory while iVentoy is installed in the /opt directory ... Could you try (without double quotes) : "cd /opt/iventoy-1.0.20" "bash -x /opt/iventoy-1.0.20/iventoy.sh start" If my understanding is good, it should work ... RE: Cannot start iventoy.sh on Raspi ARM - cmonty14 - 05-07-2024 After cd into directory /opt/iventoy-1.0.20 and running command bash -x iventoy.sh start I get this: + '[' start = -R ']' + grep -P -q '^(start|stop|status)$' + echo start + : + case "$1" in + start + local PID + local RETVAL ++ iventoy_get_running_pid ++ local PID ++ local FILE ++ '[' -f /var/run/iventoy.pid ']' ++ echo 0 + PID=0 + '[' 0 -ne 0 ']' + cd /opt/iventoy-1.0.20 + env IVENTOY_API_ALL=1 /opt/iventoy-1.0.20/lib/iventoy 4: ┼⎺├ °⎺┤┼␍-1.0.20/lib/iventoy: 1: /opt/iventoy-1.0.20/lib/iventoy: 1: lVqX99 ELF: ┼⎺├ °⎺┤┼␍ /⎺⎻├/␋┴␊┼├⎺≤↑1↓▮↓2▮/┌␋␉/␋┴␊┼├⎺≤: 2: : ┼⎺├ °⎺┤┼␍ /⎺⎻├/␋┴␊┼├⎺≤↑1↓▮↓2▮/┌␋␉/␋┴␊┼├⎺≤: 3:├=≤: ┼⎺├ °⎺┤┼␍ /⎺⎻├/␋┴␊┼├⎺≤↑1↓▮↓2▮/┌␋␉/␋┴␊┼├⎺≤: 4: 3: ┼⎺├ °⎺┤┼␍ /⎺⎻├/␋┴␊┼├⎺≤↑1↓▮↓2▮/┌␋␉/␋┴␊┼├⎺≤: 5: N: ┼⎺├ °⎺┤┼␍ /⎺⎻├/␋┴␊┼├⎺≤↑1↓▮↓2▮/┌␋␉/␋┴␊┼├⎺≤: 6: : ┼⎺├ °⎺┤┼␍ /⎺⎻├/␋┴␊┼├⎺≤↑1↓▮↓2▮/┌␋␉/␋┴␊┼├⎺≤: 1: S≤┼├▒│ ␊⎼⎼⎺⎼: ┬⎺⎼␍ ┤┼␊│⎻␊␌├␊␍ (␊│⎻␊␌├␋┼± ")") → RETVAL=2 → '[' 2 ↑␊─ ▮ ']' → ␊␌⎺ '␋┴␊┼├⎺≤ ⎽├▒⎼├ FAILED' ␋┴␊┼├⎺≤ ⎽├▒⎼├ FAILED → ␊│␋├ ▮ ⎼⎺⎺├@⎻│␊:/⎺⎻├/␋┴␊┼├⎺≤↑1↓▮↓2▮# This means my bash console is messed up with weird characters. It this software iVentoy build for x86_64 architecture only? RE: Cannot start iventoy.sh on Raspi ARM - longpanda - 05-08-2024 iVentoy itself can only run on X86 cpu. Once it run, ARM64 machine can be a PXE boot client. RE: Cannot start iventoy.sh on Raspi ARM - cmonty14 - 05-09-2024 (05-08-2024, 07:42 AM)longpanda Wrote: iVentoy itself can only run on X86 cpu. In my setup with a (ISP) router that provides NAS functionality over SAMBA it would make sense to deploy iVentoy on a Raspi. Hereby I could offer PXE network boot and diskless boot for any client in my network. Could you consider to build iVentoy for ARMv6 (32-bit)? |