Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


    Cloudron Forum

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular

    Solved nginx.service: Failed with result 'timeout'.

    Support
    scaleway nginx
    2
    5
    647
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • jeau
      jeau App Dev last edited by girish

      one of my servers suddenly crashed tonight. Impossible to access the dashboard. I noticed that nginx was not running.

      journalctl -u nginxcommand result:

      Oct 10 19:23:08 my.lenef.eu.org systemd[1]: nginx.service: Start operation timed out. Terminating.
      Oct 10 19:23:08 my.lenef.eu.org systemd[1]: nginx.service: Failed with result 'timeout'.
      Oct 10 19:23:08 my.lenef.eu.org systemd[1]: Failed to start nginx - high performance web server.
      Oct 10 19:23:08 my.lenef.eu.org systemd[1]: nginx.service: Service hold-off time over, scheduling restart.
      Oct 10 19:23:08 my.lenef.eu.org systemd[1]: nginx.service: Scheduled restart job, restart counter is at 7.
      Oct 10 19:23:08 my.lenef.eu.org systemd[1]: Stopped nginx - high performance web server.
      Oct 10 19:23:08 my.lenef.eu.org systemd[1]: Starting nginx - high performance web server...
      
      C 1 Reply Last reply Reply Quote 0
      • C
        ccfu @jeau last edited by

        @jeau
        Is this after restarting the server?

        jeau 1 Reply Last reply Reply Quote 1
        • jeau
          jeau App Dev @ccfu last edited by

          @ccfu no, but then I rebooted and it doesn't change anything

          jeau 1 Reply Last reply Reply Quote 0
          • jeau
            jeau App Dev @jeau last edited by

            the command systemctl status box return:

            root@my:~# systemctl status box
            ā— box.service - Cloudron Admin
               Loaded: loaded (/etc/systemd/system/box.service; enabled; vendor preset: enabled)
               Active: active (running) since Sun 2021-10-10 20:42:41 UTC; 8min ago
             Main PID: 10003 (node)
                Tasks: 14 (limit: 4727)
               CGroup: /system.slice/box.service
                       ā”œā”€10003 node /home/yellowtent/box/box.js
                       ā”œā”€10391 /usr/bin/sudo -S /home/yellowtent/box/src/scripts/restartservice.sh nginx
                       ā”œā”€10542 /bin/bash /home/yellowtent/box/src/scripts/restartservice.sh nginx
                       └─10543 nginx -s reload
            
            Oct 10 20:42:41 my.lenef.eu.org systemd[1]: Started Cloudron Admin.
            Oct 10 20:44:35 my.lenef.eu.org sudo[10026]: yellowtent : unable to resolve host my.lenef.eu.org
            

            however I can ping the domain my.lenef.eu.org

            jeau 1 Reply Last reply Reply Quote 0
            • jeau
              jeau App Dev @jeau last edited by

              it's solved, it was a problem with resolv.conf. The DNS servers of my scaleway instance are not responding anymore ... šŸ˜ž

              1 Reply Last reply Reply Quote 3
              • First post
                Last post
              Powered by NodeBB