Hello there, it's been 5 days that I'm trying to install last version of OMV on my RaspBerry Pi 3B+ without any success. I'm supposed to be a noob with raspbian and this kind of low-level programing / commands running but still, I spent a lot of time searching on internet & forums for a solutions and today after severals tries, I must give up.
So here is a detailed description of what I've done & what I've encountered:
1- I cleaned my SDcard, erased & did format the entire thing, then flashed the SDcard with: 2020-02-13-raspbian-buster-lite.img
2- I added an empty ssh file (with no extension) to the freshly flashed SDcard. Then plugged the SDcard in the Pi 3B+ and started the baby
3- I used wnetwatcher to get the rasp IP and used PuTTY to connect and then logged as pi user, updated pi password & root password
4- Then followed the classic tuto with
- sudo adduser pi ssh
- sudo apt-get update
- sudo apt-get upgrade
- sudo reboot (Everything going wthout any errors so far)
5- Until I login again and do:
- wget -O - https://github.com/OpenMediaVa…Script/raw/master/install | sudo bash
Here after 16 minutes, in the bash I can see one error during the installation saying:
Job for monit.service failed because the control process exited with error code.
See "systemctl status monit.service" and "journalctl -xe" for details.
invoke-rc.d: initscript monit, action "start" failed.
● monit.service - LSB: service and resource monitoring daemon
Loaded: loaded (/etc/init.d/monit; generated)
Active: failed (Result: exit-code) since Mon 2020-05-11 18:20:05 BST; 180ms ago
Docs: man:systemd-sysv-generator(8)
Process: 5363 ExecStart=/etc/init.d/monit start (code=exited, status=1/FAILURE)
May 11 18:20:04 raspberrypi systemd[1]: Starting LSB: service and resource monitoring daemon...
May 11 18:20:05 raspberrypi monit[5363]: Starting daemon monitor: monitSegmentation fault
May 11 18:20:05 raspberrypi monit[5363]: failed!
May 11 18:20:05 raspberrypi systemd[1]: monit.service: Control process exited, code=exited, status=1/FAILURE
May 11 18:20:05 raspberrypi systemd[1]: monit.service: Failed with result 'exit-code'.
May 11 18:20:05 raspberrypi systemd[1]: Failed to start LSB: service and resource monitoring daemon.
dpkg: error processing package monit (--configure):
installed monit package post-installation script subprocess returned error exit status 1
Alles anzeigen
Then the installation ends with this final line:
Errors were encountered while processing:
monit
openmediavault
E: Sub-process /usr/bin/dpkg returned an error code (1)
failed to install openmediavault package.
6- So at this stage, based on what I found on forums (here), I run:
- sudo apt-get install monit=1:5.25.2-3
During the installation I can see those items in the bash: (6 lines like that about a python Lib)
" Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated, and in 3.8 it will stop working"
Then during the installation this screen appears:
7- So at the end of the installation I run:
- sudo omv-confdbadm populate
Then when I try to access the IP on my browser, I got the 502 bad gateway error of nginx (and I had already cleared my cache)
6- so here I am, I'm stuck. And apparently 'php-fpm' seems to be the problem as when I'm running:
- sudo systemctl status monit
I get:
pi@raspberrypi:~ $ sudo systemctl status monit
● monit.service - LSB: service and resource monitoring daemon
Loaded: loaded (/etc/init.d/monit; generated)
Active: active (running) since Mon 2020-05-11 20:50:39 BST; 12h ago
Docs: man:systemd-sysv-generator(8)
Process: 483 ExecStart=/etc/init.d/monit start (code=exited, status=0/SUCCESS)
Memory: 1.7M
CGroup: /system.slice/monit.service
└─555 /usr/bin/monit -c /etc/monit/monitrc
May 12 08:51:56 raspberrypi monit[555]: 'php-fpm' trying to restart
May 12 08:51:56 raspberrypi monit[555]: 'php-fpm' start: '/bin/systemctl start p
May 12 08:52:27 raspberrypi monit[555]: 'php-fpm' failed to start (exit status 1
See "systemctl status php7.3-fpm.service
May 12 08:52:27 raspberrypi monit[555]: 'nginx' failed protocol test [HTTP] at [
May 12 08:52:27 raspberrypi monit[555]: 'nginx' trying to restart
May 12 08:52:27 raspberrypi monit[555]: 'nginx' stop: '/bin/systemctl stop nginx
May 12 08:52:27 raspberrypi monit[555]: 'nginx' start: '/bin/systemctl start ngi
May 12 08:52:29 raspberrypi monit[555]: 'omv-engined' process is not running
May 12 08:52:29 raspberrypi monit[555]: 'omv-engined' trying to restart
May 12 08:52:29 raspberrypi monit[555]: 'omv-engined' start: '/bin/systemctl sta
...skipping...
● monit.service - LSB: service and resource monitoring daemon
Loaded: loaded (/etc/init.d/monit; generated)
Active: active (running) since Mon 2020-05-11 20:50:39 BST; 12h ago
Docs: man:systemd-sysv-generator(8)
Process: 483 ExecStart=/etc/init.d/monit start (code=exited, status=0/SUCCESS)
Memory: 1.7M
CGroup: /system.slice/monit.service
└─555 /usr/bin/monit -c /etc/monit/monitrc
May 12 08:51:56 raspberrypi monit[555]: 'php-fpm' trying to restart
May 12 08:51:56 raspberrypi monit[555]: 'php-fpm' start: '/bin/systemctl start p
May 12 08:52:27 raspberrypi monit[555]: 'php-fpm' failed to start (exit status 1
See "systemctl status php7.3-fpm.service
May 12 08:52:27 raspberrypi monit[555]: 'nginx' failed protocol test [HTTP] at [
May 12 08:52:27 raspberrypi monit[555]: 'nginx' trying to restart
May 12 08:52:27 raspberrypi monit[555]: 'nginx' stop: '/bin/systemctl stop nginx
May 12 08:52:27 raspberrypi monit[555]: 'nginx' start: '/bin/systemctl start ngi
May 12 08:52:29 raspberrypi monit[555]: 'omv-engined' process is not running
May 12 08:52:29 raspberrypi monit[555]: 'omv-engined' trying to restart
May 12 08:52:29 raspberrypi monit[555]: 'omv-engined' start: '/bin/systemctl sta
~
Alles anzeigen
And when I run
- sudo monit status
I get everything ok instead of:
Process 'php-fpm'
status Execution failed | Does not exist
monitoring status Monitored
monitoring mode active
on reboot start
data collected Tue, 12 May 2020 08:52:27
Process 'nginx'
status Connection failed
monitoring status Monitored
monitoring mode active
on reboot start
pid 23439
parent pid 1
uid 0
effective uid 0
gid 0
uptime 0m
threads 1
children 1
cpu -
cpu total -
memory 0.5% [2.2 MB]
memory total 1.2% [5.1 MB]
security attribute -
port response time FAILED to [127.0.0.1]:80 type TCP/IP protocol HTT P
data collected Tue, 12 May 2020 08:52:29
Alles anzeigen
So I think that nginx may not be working properly because of php-fpm that "Does not exist" causing monit no working well.
I restarted nginx and then checked the status with:
- sudo systemctl restart nginx
- sudo systemctl status nginx
But nginx seems to be working (everything green, no errors).
So I tried to restart php-fpm:
- sudo systemctl restart php-fpm
But get: "Failed to restart php-fpm.service: Unit php-fpm.service not found."
Ok so php-fpm isn't installed ?
I tried the same with php5-fpm, same relust, doesn't exist.
So I tried installing it manually:
- sudo apt install php-fpm
But I get:
php-fpm is already the newest version (2:7.3+69).
php-fpm set to manually installed.
0 upgraded, 0 newly installed, 0 to remove and 13 not upgraded.
Wait ? so This means that php is installed, up to date, but doesn't exist right?
Guys please, I spent so many hours trying to fix this by myself, All the hardware is brand new, the SD is 32G, the PowerSupply is new. I just don't understand what is happening wrong with my installation.
I just think that it may be php but maybe I'm wrong, once again I'm a beginner.
Thanks for you support, futur helps and time.
Sudo reboot Corentin