nginx wont start (php error)

    • OMV 4.x
    • Resolved
    • nginx wont start (php error)

      Hello,

      I run the virtual box plugin on my openmediavault setup, yesterday i did some update's and when openmediavault this moring boots i got a error on the web interface, the username was wrong, i try to restart nginix and i got "ERR_CONNECTION_REFUSED". I had try to restart the nginix server but it dit not work. Do i need to delay update's?

      What did i wrong?

      Thanks for your time helping me.

      Shell-Script

      1. root@NASSY:~# 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 Sun 2020-01-19 14:09:02 CET; 19s ago
      5. Docs: man:nginx(8)
      6. Process: 1549 ExecStop=/sbin/start-stop-daemon --quiet --stop --retry QUIT/5 --pidfile /run/nginx.pid (code=exited, status=0/SUCCESS)
      7. Process: 1347 ExecStart=/usr/sbin/nginx -g daemon on; master_process on; (code=exited, status=0/SUCCESS)
      8. Process: 1862 ExecStartPre=/usr/sbin/nginx -t -q -g daemon on; master_process on; (code=exited, status=1/FAILURE)
      9. Main PID: 1349 (code=exited, status=0/SUCCESS)
      10. CPU: 23ms
      11. Jan 19 14:09:02 NASSY systemd[1]: Starting A high performance web server and a reverse proxy server...
      12. Jan 19 14:09:02 NASSY nginx[1862]: nginx: [alert] could not open error log file: open() "/var/log/nginx/error.log" failed (30: Read-only file system)
      13. Jan 19 14:09:02 NASSY nginx[1862]: 2020/01/19 14:09:02 [emerg] 1862#1862: open() "/var/log/nginx/access.log" failed (30: Read-only file system)
      14. Jan 19 14:09:02 NASSY nginx[1862]: nginx: configuration file /etc/nginx/nginx.conf test failed
      15. Jan 19 14:09:02 NASSY systemd[1]: nginx.service: Control process exited, code=exited status=1
      16. Jan 19 14:09:02 NASSY systemd[1]: Failed to start A high performance web server and a reverse proxy server.
      17. Jan 19 14:09:02 NASSY systemd[1]: nginx.service: Unit entered failed state.
      18. Jan 19 14:09:02 NASSY systemd[1]: nginx.service: Failed with result 'exit-code'.
      19. root@NASSY:~# journalctl -xe
      20. -- Logs begin at Sun 2020-01-19 13:52:38 CET, end at Sun 2020-01-19 14:09:42 CET. --
      21. Jan 19 14:01:09 NASSY liblogging-stdlog[853]: action 'action 4' resumed (module 'builtin:omfile') [v8.24.0 try http://www.rsyslog.com/e/2359 ]
      22. Jan 19 14:01:09 NASSY liblogging-stdlog[853]: action 'action 4' resumed (module 'builtin:omfile') [v8.24.0 try http://www.rsyslog.com/e/2359 ]
      23. Jan 19 14:01:09 NASSY liblogging-stdlog[853]: action 'action 4' resumed (module 'builtin:omfile') [v8.24.0 try http://www.rsyslog.com/e/2359 ]
      24. Jan 19 14:01:09 NASSY liblogging-stdlog[853]: action 'action 4' resumed (module 'builtin:omfile') [v8.24.0 try http://www.rsyslog.com/e/2359 ]
      25. Jan 19 14:01:09 NASSY liblogging-stdlog[853]: action 'action 4' resumed (module 'builtin:omfile') [v8.24.0 try http://www.rsyslog.com/e/2359 ]
      26. Jan 19 14:01:09 NASSY liblogging-stdlog[853]: action 'action 4' suspended, next retry is Sun Jan 19 14:01:39 2020 [v8.24.0 try http://www.rsyslog.com/e/2007 ]
      27. Jan 19 14:01:09 NASSY liblogging-stdlog[853]: action 'action 13' resumed (module 'builtin:omfile') [v8.24.0 try http://www.rsyslog.com/e/2359 ]
      28. Jan 19 14:01:09 NASSY liblogging-stdlog[853]: action 'action 13' resumed (module 'builtin:omfile') [v8.24.0 try http://www.rsyslog.com/e/2359 ]
      29. Jan 19 14:01:09 NASSY liblogging-stdlog[853]: action 'action 13' resumed (module 'builtin:omfile') [v8.24.0 try http://www.rsyslog.com/e/2359 ]
      30. Jan 19 14:01:09 NASSY systemd[1]: Starting The OpenMediaVault engine daemon that processes the RPC request...
      31. -- Subject: Unit openmediavault-engined.service has begun start-up
      32. -- Defined-By: systemd
      33. -- Support: https://www.debian.org/support
      34. --
      35. -- Unit openmediavault-engined.service has begun starting up.
      36. Jan 19 14:01:09 NASSY liblogging-stdlog[853]: action 'action 13' resumed (module 'builtin:omfile') [v8.24.0 try http://www.rsyslog.com/e/2359 ]
      37. Jan 19 14:01:09 NASSY liblogging-stdlog[853]: action 'action 13' resumed (module 'builtin:omfile') [v8.24.0 try http://www.rsyslog.com/e/2359 ]
      38. Jan 19 14:01:09 NASSY liblogging-stdlog[853]: action 'action 13' resumed (module 'builtin:omfile') [v8.24.0 try http://www.rsyslog.com/e/2359 ]
      39. Jan 19 14:01:09 NASSY liblogging-stdlog[853]: action 'action 13' resumed (module 'builtin:omfile') [v8.24.0 try http://www.rsyslog.com/e/2359 ]
      40. Jan 19 14:01:09 NASSY liblogging-stdlog[853]: action 'action 13' resumed (module 'builtin:omfile') [v8.24.0 try http://www.rsyslog.com/e/2359 ]
      41. Jan 19 14:01:09 NASSY liblogging-stdlog[853]: action 'action 13' resumed (module 'builtin:omfile') [v8.24.0 try http://www.rsyslog.com/e/2359 ]
      42. Jan 19 14:01:09 NASSY liblogging-stdlog[853]: action 'action 13' resumed (module 'builtin:omfile') [v8.24.0 try http://www.rsyslog.com/e/2359 ]
      43. Jan 19 14:01:09 NASSY liblogging-stdlog[853]: action 'action 13' suspended, next retry is Sun Jan 19 14:01:39 2020 [v8.24.0 try http://www.rsyslog.com/e/2007 ]
      44. Jan 19 14:01:09 NASSY monit[1088]: 'omv-engined' process is not running
      45. Jan 19 14:01:09 NASSY monit[1088]: 'omv-engined' trying to restart
      46. Jan 19 14:01:09 NASSY monit[1088]: 'omv-engined' start: '/bin/systemctl start openmediavault-engined'
      47. Jan 19 14:01:09 NASSY systemd[1]: openmediavault-engined.service: PID file /var/run/omv-engined.pid not readable (yet?) after start: No such file or directory
      48. Jan 19 14:01:09 NASSY systemd[1]: openmediavault-engined.service: Supervising process 1756 which is not our child. We'll most likely not notice when it exits.
      49. Jan 19 14:01:09 NASSY systemd[1]: Started The OpenMediaVault engine daemon that processes the RPC request.
      50. -- Subject: Unit openmediavault-engined.service has finished start-up
      51. -- Defined-By: systemd
      52. -- Support: https://www.debian.org/support
      53. --
      54. -- Unit openmediavault-engined.service has finished starting up.
      55. --
      56. -- The start-up result is done.
      57. Jan 19 14:01:10 NASSY omv-engined[1756]: Failed to bind socket: Address already in use
      58. Jan 19 14:01:10 NASSY liblogging-stdlog[853]: action 'action 8' resumed (module 'builtin:omfile') [v8.24.0 try http://www.rsyslog.com/e/2359 ]
      59. Jan 19 14:01:10 NASSY liblogging-stdlog[853]: action 'action 8' resumed (module 'builtin:omfile') [v8.24.0 try http://www.rsyslog.com/e/2359 ]
      60. Jan 19 14:01:10 NASSY liblogging-stdlog[853]: action 'action 8' resumed (module 'builtin:omfile') [v8.24.0 try http://www.rsyslog.com/e/2359 ]
      61. Jan 19 14:01:10 NASSY liblogging-stdlog[853]: action 'action 8' resumed (module 'builtin:omfile') [v8.24.0 try http://www.rsyslog.com/e/2359 ]
      62. Jan 19 14:01:10 NASSY liblogging-stdlog[853]: action 'action 8' resumed (module 'builtin:omfile') [v8.24.0 try http://www.rsyslog.com/e/2359 ]
      63. Jan 19 14:01:10 NASSY liblogging-stdlog[853]: action 'action 8' resumed (module 'builtin:omfile') [v8.24.0 try http://www.rsyslog.com/e/2359 ]
      64. Jan 19 14:01:10 NASSY liblogging-stdlog[853]: action 'action 8' resumed (module 'builtin:omfile') [v8.24.0 try http://www.rsyslog.com/e/2359 ]
      65. Jan 19 14:01:10 NASSY liblogging-stdlog[853]: action 'action 8' resumed (module 'builtin:omfile') [v8.24.0 try http://www.rsyslog.com/e/2359 ]
      66. Jan 19 14:01:10 NASSY liblogging-stdlog[853]: action 'action 8' resumed (module 'builtin:omfile') [v8.24.0 try http://www.rsyslog.com/e/2359 ]
      67. Jan 19 14:01:10 NASSY liblogging-stdlog[853]: action 'action 8' resumed (module 'builtin:omfile') [v8.24.0 try http://www.rsyslog.com/e/2359 ]
      68. Jan 19 14:01:10 NASSY liblogging-stdlog[853]: action 'action 8' suspended, next retry is Sun Jan 19 14:01:40 2020 [v8.24.0 try http://www.rsyslog.com/e/2007 ]
      69. m
      70. Jan 19 14:01:10 NASSY systemd[1]: openmediavault-engined.service: Main process exited, code=exited, status=1/FAILURE
      71. Jan 19 14:01:10 NASSY systemd[1]: openmediavault-engined.service: Unit entered failed state.
      72. Jan 19 14:01:10 NASSY systemd[1]: openmediavault-engined.service: Failed with result 'exit-code'.
      73. Jan 19 14:01:40 NASSY monit[1088]: 'omv-engined' failed to start (exit status 0) -- no output
      74. Jan 19 14:01:40 NASSY monit[1088]: State file '/var/lib/monit/state': Unable to truncate
      75. Jan 19 14:01:40 NASSY liblogging-stdlog[853]: action 'action 3' resumed (module 'builtin:omfile') [v8.24.0 try
      76. ...
      Display All
    • Users Online 1

      1 Guest