Hello everybody
I have been trying to install LibreNMS on a Raspberry Pi 3 for a long time. Unfortunately I can’t do it
Therefore I have completely rebuilt the Raspberry.
Basis: Raspberry Pi OS (32-bit) based on Debian Buster
I have now regained control from the beginning and fail in the “install PHP dependencies” section.
I use the instructions here: https://docs.librenms.org/Installation/Install-LibreNMS/
-> Debian 10 selected
I am logged in as root and the following error appears:
[email protected] :~ $ sudo -s
[email protected] :/home/pi# cd /opt
[email protected] :/opt# su - librenms
su: failed to execute /usr/bin/bash: File or directory not found
roo[email protected] :/opt# ./scripts/composer_wrapper.php install --no-dev
bash: ./scripts/composer_wrapper.php File or directory not found
What can I do here to solve the problem and proceed with the installation?
Thanks for the help and best regards!
MTR
10 July 2020 18:57
#2
The question has been resolved. I installed Nagios.
Worked without problems and is now up and running.
Thanks anyway
@MTR You didn’t have bash installed, which is a requirement, but not explicitly in the install docs because normal installs have bash.
MTR
13 July 2020 07:14
#4
Hello @murrant
Thank you very much for your feedback.
Bash was not even present in the Required Packages.
What is the easiest way to install Bash now?
MTR
13 July 2020 16:50
#6
bash is already installed
bash is already the latest version (5.0-4).
0 updated, 0 newly installed, 0 to be removed and 0 not updated.
MTR
2 August 2020 08:59
#7
Is there anything else I can do to install bash and thus LibreNMS?
Thanks a lot for your help!
I would google about that error and how to fix it, as that is out of librenms scope.
Maybe bash is only in /bin/ and you should change it in the passwd file?
MTR
2 August 2020 17:19
#9
Hello and thanks for your reply @TheGreatDoc
And how can I change that in the passwd file?
nano /etc/passwd
change the line at the end of your username to point to /bin/bash
john:x:1000:1000:john,:/home/john:/bin/bash