05-07-2024, 08:27 PM
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
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