Problems after reinstall OMV4

  • Good morning everybody,


    I damaged my already running OMV4 Setup after a mistaken / manual installation of Nextcloud on Debian 9.


    It wasn't possible anymore to enter the OMV Webadministration also not after using omv-firstaid. I tried to fix the Networkadtpt. Settings and web control Settings changing the Ports, NOTHING Confirming the the new settings with "Ok" it tooked a while and then I got the following error message:


    Updating web control panel settings. Please wait ...
    ERROR: Failed to execute command 'export PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin; export LANG=C; systemctl restart 'nginx' 2>&1' with exit code '1': Job for nginx.service failed because a timeout was exceeded.
    See "systemctl status nginx.service" and "journalctl -xe" for details.


    Finally i decide to uninstall nginx, OMV Extras, OMV4 compl. and to reinstall everything. Following this instructions:


    • echo "deb http://packages.openmediavault.org/public arrakis main" > /etc/apt/sources.list.d/openmediavault.list
    • apt-get update
    • apt-get install openmediavault-keyring postfix
    • apt-get update
    • apt-get install openmediavault
    • omv-initsystem

    This worked so far... after a reboot I tried to open the Front-end: http://IP:80 Result: Nginx is running !


    I started omv-firstaid again, and tried to change Networkadtpt. Settings and web control Settings changing the Ports again... same error like before:


    Updating web control panel settings. Please wait ...
    ERROR: Failed to execute command 'export PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin; export LANG=C; systemctl restart 'nginx' 2>&1' with exit code '1': Job for nginx.service failed because a timeout was exceeded.
    See "systemctl status nginx.service" and "journalctl -xe" for details.


    Any Ideas ?


    Thanks in advance


    systemctl status nginx.service


    nginx.service - A high performance web server and a reverse proxy server
    Loaded: loaded (/lib/systemd/system/nginx.service; enabled; vendor preset: enabled)
    Active: failed (Result: timeout) since Tue 2018-02-06 09:33:57 CET; 515ms ago
    Docs: man:nginx(8)
    Process: 9678 ExecStart=/usr/sbin/nginx -g daemon on; master_process on; (code=exited, status=0/SUCCESS)
    Process: 9675 ExecStartPre=/usr/sbin/nginx -t -q -g daemon on; master_process on; (code=exited, status=0/SUCCESS)


    Feb 06 09:32:27 OMV4 systemd[1]: Starting A high performance web server and a reverse proxy server...
    Feb 06 09:32:27 OMV4 systemd[1]: nginx.service: PID file /run/nginx.pid not readable (yet?) after start: No such fi
    Feb 06 09:33:57 OMV4 systemd[1]: nginx.service: Start operation timed out. Terminating.
    Feb 06 09:33:57 OMV4 systemd[1]: nginx.service: Killing process 9679 (nginx) with signal SIGKILL.
    Feb 06 09:33:57 OMV4 systemd[1]: nginx.service: Killing process 9680 (nginx) with signal SIGKILL.
    Feb 06 09:33:57 OMV4 systemd[1]: Failed to start A high performance web server and a reverse proxy server.
    Feb 06 09:33:57 OMV4 systemd[1]: nginx.service: Unit entered failed state.
    Feb 06 09:33:57 OMV4 systemd[1]: nginx.service: Failed with result 'timeout'.


    journalctl -xe



    Feb 06 09:32:27 OMV4 systemd[1]: Starting A high performance web server and a reverse proxy server...
    -- Subject: Unit nginx.service has begun start-up
    -- Defined-By: systemd
    -- Support: https://www.debian.org/support
    --
    -- Unit nginx.service has begun starting up.
    Feb 06 09:32:27 OMV4 systemd[1]: nginx.service: PID file /run/nginx.pid not readable (yet?) after start: No such fi
    Feb 06 09:32:57 OMV4 monit[1078]: 'nginx' failed to start (exit status -1) -- Program '/bin/systemctl start nginx'
    Feb 06 09:33:27 OMV4 monit[1078]: 'nginx' process is not running
    Feb 06 09:33:27 OMV4 monit[1078]: 'nginx' trying to restart
    Feb 06 09:33:27 OMV4 monit[1078]: 'nginx' start: '/bin/systemctl start nginx'
    Feb 06 09:33:57 OMV4 systemd[1]: nginx.service: Start operation timed out. Terminating.
    Feb 06 09:33:57 OMV4 systemd[1]: nginx.service: Killing process 9679 (nginx) with signal SIGKILL.
    Feb 06 09:33:57 OMV4 systemd[1]: nginx.service: Killing process 9680 (nginx) with signal SIGKILL.
    Feb 06 09:33:57 OMV4 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: https://www.debian.org/support
    --
    -- Unit nginx.service has failed.
    --
    -- The result is failed.
    Feb 06 09:33:57 OMV4 systemd[1]: nginx.service: Unit entered failed state.
    Feb 06 09:33:57 OMV4 systemd[1]: nginx.service: Failed with result 'timeout'.
    Feb 06 09:33:57 OMV4 monit[1078]: 'nginx' failed to start (exit status 1) -- '/bin/systemctl start nginx': Program
    See "systemctl status nginx.service" and "journalctl -xe" for details.
    Feb 06 09:34:27 OMV4 monit[1078]: 'nginx' process is not running
    Feb 06 09:34:27 OMV4 monit[1078]: 'nginx' trying to restart
    Feb 06 09:34:27 OMV4 monit[1078]: 'nginx' start: '/bin/systemctl start nginx'
    Feb 06 09:34:27 OMV4 systemd[1]: Starting A high performance web server and a reverse proxy server...
    -- Subject: Unit nginx.service has begun start-up
    -- Defined-By: systemd
    -- Support: https://www.debian.org/support
    --
    -- Unit nginx.service has begun starting up.
    Feb 06 09:34:27 OMV4 systemd[1]: nginx.service: PID file /run/nginx.pid not readable (yet?) after start: No such fi
    lines 1715-1750/1750 (END)

    Asus Z97M-Plus / Intel Core i5 / 16 GB RAM / System: 120 GB Intel SSD / RAID 1 - 2 x 4 TB Seagate ST4000VN000 / USB Backup HDD - Seagate Backup Plus Desktop STCA4000200


    OMV - Arrakis 4.1.22.1
    Kernel 4.19.0.0 bpo4 - amd64
    PHP 7.0.33-0+deb9u1

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!