NO Web UI after latest update OMV 4.1.6.

    • OMV 4.x
    • Update
    • NO Web UI after latest update OMV 4.1.6.

      Hi,

      After the update to OMV 4.1.6 from the previous 4.1.x, one of my NAS boxes has lost Web UI page. I'm only getting a page with "index.nginx-debian.html".

      On startup, it keeps send mails with the:

      "Does not exist Service nginx"

      Followed by:

      "Description: failed to start (exit status 1) -- '/bin/systemctl start nginx': Job for nginx.service failed because the control process exited with error code.
      See "systemctl status nginx.service" and "journalctl -xe" for details."

      I appreciate your help.
    • New

      I am a noob on linux, sorry.

      It seems like port 80 is already in use:

      Source Code

      1. root@NAS5:~# systemctl status nginx.service
      2. ● nginx.service - A high performance web server and a reverse proxy server
      3. Loaded: loaded (/lib/systemd/system/nginx.service; enabled; vendor preset: enabled)
      4. Active: failed (Result: exit-code) since Wed 2018-05-16 08:00:02 WEST; 9s ago
      5. Docs: man:nginx(8)
      6. Process: 2357 ExecStart=/usr/sbin/nginx -g daemon on; master_process on; (code=exited, status=1/FAILURE)
      7. Process: 2354 ExecStartPre=/usr/sbin/nginx -t -q -g daemon on; master_process on; (code=exited, status=0/SUCCESS)
      8. May 16 07:59:59 NAS5 nginx[2357]: nginx: [emerg] bind() to 0.0.0.0:80 failed (98: Address already in use)
      9. May 16 08:00:00 NAS5 nginx[2357]: nginx: [emerg] bind() to 0.0.0.0:80 failed (98: Address already in use)
      10. May 16 08:00:00 NAS5 nginx[2357]: nginx: [emerg] bind() to 0.0.0.0:80 failed (98: Address already in use)
      11. May 16 08:00:01 NAS5 nginx[2357]: nginx: [emerg] bind() to 0.0.0.0:80 failed (98: Address already in use)
      12. May 16 08:00:01 NAS5 nginx[2357]: nginx: [emerg] bind() to 0.0.0.0:80 failed (98: Address already in use)
      13. May 16 08:00:02 NAS5 nginx[2357]: nginx: [emerg] still could not bind()
      14. May 16 08:00:02 NAS5 systemd[1]: nginx.service: Control process exited, code=exited status=1
      15. May 16 08:00:02 NAS5 systemd[1]: Failed to start A high performance web server and a reverse proxy server.
      16. May 16 08:00:02 NAS5 systemd[1]: nginx.service: Unit entered failed state.
      17. May 16 08:00:02 NAS5 systemd[1]: nginx.service: Failed with result 'exit-code'.
      Display All


      As you can see Apache2 is running (at startup, for some reason) taken port 80.

      Source Code

      1. root@NAS5:~# netstat -pln
      2. Active Internet connections (only servers)
      3. Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
      4. tcp 0 0 0.0.0.0:111 0.0.0.0:* LISTEN 630/rpcbind
      5. tcp 0 0 0.0.0.0:80 0.0.0.0:* LISTEN 1108/apache2
      6. tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 1048/sshd
      7. tcp 0 0 127.0.0.1:25 0.0.0.0:* LISTEN 2296/master
      8. tcp 0 0 127.0.0.1:2812 0.0.0.0:* LISTEN 723/monit
      9. tcp 0 0 0.0.0.0:445 0.0.0.0:* LISTEN 1196/smbd
      10. tcp 0 0 0.0.0.0:873 0.0.0.0:* LISTEN 651/rsync
      11. tcp 0 0 0.0.0.0:139 0.0.0.0:* LISTEN 1196/smbd
      12. tcp6 0 0 :::111 :::* LISTEN 630/rpcbind
      13. tcp6 0 0 :::22 :::* LISTEN 1048/sshd
      14. tcp6 0 0 ::1:25 :::* LISTEN 2296/master
      15. tcp6 0 0 :::445 :::* LISTEN 1196/smbd
      16. tcp6 0 0 :::873 :::* LISTEN 651/rsync
      17. tcp6 0 0 :::139 :::* LISTEN 1196/smbd
      18. udp 0 0 0.0.0.0:44881 0.0.0.0:* 638/avahi-daemon: r
      19. udp 0 0 0.0.0.0:111 0.0.0.0:* 630/rpcbind
      20. udp 0 0 192.168.50.115:123 0.0.0.0:* 1089/ntpd
      21. udp 0 0 127.0.0.1:123 0.0.0.0:* 1089/ntpd
      22. udp 0 0 0.0.0.0:123 0.0.0.0:* 1089/ntpd
      23. udp 3840 0 192.168.50.255:137 0.0.0.0:* 1169/nmbd
      24. udp 8448 0 192.168.50.115:137 0.0.0.0:* 1169/nmbd
      25. udp 3840 0 0.0.0.0:137 0.0.0.0:* 1169/nmbd
      26. udp 36352 0 192.168.50.255:138 0.0.0.0:* 1169/nmbd
      27. udp 0 0 192.168.50.115:138 0.0.0.0:* 1169/nmbd
      28. udp 36352 0 0.0.0.0:138 0.0.0.0:* 1169/nmbd
      29. udp 0 0 0.0.0.0:806 0.0.0.0:* 630/rpcbind
      30. udp 9152 0 0.0.0.0:5353 0.0.0.0:* 638/avahi-daemon: r
      31. udp6 0 0 :::35541 :::* 638/avahi-daemon: r
      32. udp6 0 0 :::111 :::* 630/rpcbind
      33. udp6 0 0 ::1:123 :::* 1089/ntpd
      34. udp6 0 0 :::123 :::* 1089/ntpd
      35. udp6 0 0 :::806 :::* 630/rpcbind
      36. udp6 0 0 :::5353 :::* 638/avahi-daemon: r
      37. Active UNIX domain sockets (only servers)
      38. Proto RefCnt Flags Type State I-Node PID/Program name Path
      39. unix 2 [ ACC ] STREAM LISTENING 15887 1/init /var/run/avahi-daemon/socket
      40. unix 2 [ ACC ] STREAM LISTENING 15890 1/init /run/acpid.socket
      41. unix 2 [ ACC ] STREAM LISTENING 15892 1/init /var/run/dbus/system_bus_socket
      42. unix 2 [ ACC ] STREAM LISTENING 18726 1018/php-fpm: maste /var/run/php-fpm-openmediavault-webgui.sock
      43. unix 2 [ ACC ] STREAM LISTENING 18729 1018/php-fpm: maste /run/php/php7.0-fpm.sock
      44. unix 2 [ ACC ] STREAM LISTENING 11561 1/init /run/lvm/lvmpolld.socket
      45. unix 2 [ ACC ] STREAM LISTENING 11566 1/init /run/rpcbind.sock
      46. unix 2 [ ACC ] STREAM LISTENING 11568 1/init /run/lvm/lvmetad.socket
      47. unix 2 [ ACC ] STREAM LISTENING 19505 1169/nmbd /var/run/samba/nmbd/unexpected
      48. unix 2 [ ACC ] STREAM LISTENING 11572 1/init /run/systemd/fsck.progress
      49. unix 2 [ ACC ] STREAM LISTENING 18312 1079/rrdcached /var/run/rrdcached.sock
      50. unix 2 [ ACC ] STREAM LISTENING 22922 2587/apache2 /var/run/apache2/cgisock.1108
      51. unix 2 [ ACC ] STREAM LISTENING 18816 1051/omv-engined /var/lib/openmediavault/engined.sock
      52. unix 2 [ ACC ] STREAM LISTENING 20539 2296/master public/cleanup
      53. unix 2 [ ACC ] STREAM LISTENING 20546 2296/master private/tlsmgr
      54. unix 2 [ ACC ] STREAM LISTENING 20549 2296/master private/rewrite
      55. unix 2 [ ACC ] STREAM LISTENING 20552 2296/master private/bounce
      56. unix 2 [ ACC ] STREAM LISTENING 20555 2296/master private/defer
      57. unix 2 [ ACC ] STREAM LISTENING 20558 2296/master private/trace
      58. unix 2 [ ACC ] STREAM LISTENING 20535 2296/master public/pickup
      59. unix 2 [ ACC ] STREAM LISTENING 20542 2296/master public/qmgr
      60. unix 2 [ ACC ] STREAM LISTENING 20561 2296/master private/verify
      61. unix 2 [ ACC ] STREAM LISTENING 20564 2296/master public/flush
      62. unix 2 [ ACC ] STREAM LISTENING 20567 2296/master private/proxymap
      63. unix 2 [ ACC ] STREAM LISTENING 20570 2296/master private/proxywrite
      64. unix 2 [ ACC ] STREAM LISTENING 20573 2296/master private/smtp
      65. unix 2 [ ACC ] STREAM LISTENING 20576 2296/master private/relay
      66. unix 2 [ ACC ] STREAM LISTENING 20579 2296/master public/showq
      67. unix 2 [ ACC ] STREAM LISTENING 20582 2296/master private/error
      68. unix 2 [ ACC ] STREAM LISTENING 20585 2296/master private/retry
      69. unix 2 [ ACC ] STREAM LISTENING 20588 2296/master private/discard
      70. unix 2 [ ACC ] STREAM LISTENING 20591 2296/master private/local
      71. unix 2 [ ACC ] STREAM LISTENING 20594 2296/master private/virtual
      72. unix 2 [ ACC ] STREAM LISTENING 11470 1/init /run/systemd/private
      73. unix 2 [ ACC ] STREAM LISTENING 20597 2296/master private/lmtp
      74. unix 2 [ ACC ] STREAM LISTENING 20600 2296/master private/anvil
      75. unix 2 [ ACC ] SEQPACKET LISTENING 11475 1/init /run/udev/control
      76. unix 2 [ ACC ] STREAM LISTENING 20603 2296/master private/scache
      77. unix 2 [ ACC ] STREAM LISTENING 20606 2296/master private/omvnotificationfilter
      78. unix 2 [ ACC ] STREAM LISTENING 11492 1/init /run/systemd/journal/stdout
      79. unix 2 [ ACC ] STREAM LISTENING 18405 1072/collectd /var/run/collectd.socket
      Display All

      So i have disabled it and solved the problem with:

      sudo update-rc.d apache2 disable