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


  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse

Cloudron Forum

Apps | Demo | Docs | Install

nginx.service: Failed with result 'timeout'.

Scheduled Pinned Locked Moved Solved Support
scalewaynginx
5 Posts 2 Posters 769 Views
    • 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.
  • jeauJ Offline
    jeauJ Offline
    jeau App Dev
    wrote on last edited by girish
    #1

    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
    0
  • C Offline
    C Offline
    ccfu
    replied to jeau on last edited by
    #2

    @jeau
    Is this after restarting the server?

    jeauJ 1 Reply Last reply
    1
  • jeauJ Offline
    jeauJ Offline
    jeau App Dev
    replied to ccfu on last edited by
    #3

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

    jeauJ 1 Reply Last reply
    0
  • jeauJ Offline
    jeauJ Offline
    jeau App Dev
    replied to jeau on last edited by
    #4

    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

    jeauJ 1 Reply Last reply
    0
  • jeauJ Offline
    jeauJ Offline
    jeau App Dev
    replied to jeau on last edited by
    #5

    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
    3

  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
  • Login

  • Don't have an account? Register

  • Login or register to search.