hello world :),
I have a problem with my config : OMV (last version), rapsberry Pi 3, and boot on USB key (and not the SD card).
The issue : I can't access to the web GUI of OMV, and for sure : ngnix server is not running...
It appears since I made modifications to boot on the usb key and not the SD card (http://www.framboise314.fr/boo…rry-pi-3-sur-une-cle-usb/) (sorry it's in french language).
Except this problem, all works fine with the config :
- minidlnad is running, so i can see my videos on TV
- I can access my network shares (external disk connected to the raspberry)
- I can connect with ssh
The only problem is that ngnix is not running anymore and i can't access to the web GUI to modify OMV settings.
If I put my initial SD card on the rasp (and boot on it, not on the usb key), it works.
When i try to start the ngnix server manually, i got this errors :
root@raspberrypi:~# service nginx start
Job for nginx.service failed. See 'systemctl status nginx.service' and 'journalctl -xn' for details.
root@raspberrypi:~# systemctl status nginx.service
â nginx.service - A high performance web server and a reverse proxy server
Loaded: loaded (/lib/systemd/system/nginx.service; enabled)
Active: failed (Result: exit-code) since Mon 2017-10-02 00:04:58 CEST; 13s ago
Process: 1719 ExecStartPre=/usr/sbin/nginx -t -q -g daemon on; master_process on; (code=exited, status=1/FAILURE)
Oct 02 00:04:58 raspberrypi nginx[1719]: nginx: [alert] could not open error log file: open() "/var/log/nginx/error.log" fai...ectory)
Oct 02 00:04:58 raspberrypi nginx[1719]: 2017/10/02 00:04:58 [emerg] 1719#0: open() "/var/log/nginx/access.log" failed (2: N...ectory)
Oct 02 00:04:58 raspberrypi nginx[1719]: nginx: configuration file /etc/nginx/nginx.conf test failed
Oct 02 00:04:58 raspberrypi systemd[1]: nginx.service: control process exited, code=exited status=1
Oct 02 00:04:58 raspberrypi systemd[1]: Failed to start A high performance web server and a reverse proxy server.
Oct 02 00:04:58 raspberrypi systemd[1]: Unit nginx.service entered failed state.
Hint: Some lines were ellipsized, use -l to show in full.
root@raspberrypi:~# journalctl -xn
-- Logs begin at Sun 2017-10-01 23:53:41 CEST, end at Mon 2017-10-02 00:05:01 CEST. --
Oct 02 00:04:58 raspberrypi nginx[1719]: nginx: configuration file /etc/nginx/nginx.conf test failed
Oct 02 00:04:58 raspberrypi systemd[1]: nginx.service: control process exited, code=exited status=1
Oct 02 00:04:58 raspberrypi systemd[1]: Failed to start A high performance web server and a reverse proxy server.
-- Subject: Unit nginx.service has failed
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit nginx.service has failed.
--
-- The result is failed.
Oct 02 00:04:58 raspberrypi systemd[1]: Unit nginx.service entered failed state.
Oct 02 00:05:01 raspberrypi CRON[1723]: pam_unix(cron:session): session opened for user root by (uid=0)
Oct 02 00:05:01 raspberrypi CRON[1722]: pam_unix(cron:session): session opened for user root by (uid=0)
Oct 02 00:05:01 raspberrypi CRON[1730]: (root) CMD (for i in `pgrep "ftpd|nfsiod|smbd|afpd|cnid"` ; do ionice -c1 -p $i ; done >/dev/n
Oct 02 00:05:01 raspberrypi CRON[1732]: (root) CMD (command -v debian-sa1 > /dev/null && debian-sa1 1 1)
Oct 02 00:05:01 raspberrypi CRON[1723]: pam_unix(cron:session): session closed for user root
Oct 02 00:05:01 raspberrypi CRON[1722]: pam_unix(cron:session): session closed for user root
I took a look in /var/log/nginx/ and this directory doesn't exist anymore (don't know why ?)
So I decided to create this directory manually, and restart the nginx server.
I have no more error on the start, BUT I have another issue :
I can access to the web GUI of OMV, but I can't connect to the GUI.
I get no error (not like a wrong password or login for example), it's just reload the connection page.
If someone has an idea to solve my problem ? It will be greatfull
Thanks