nginx.service: Failed with result 'timeout'.
Solved
Support
-
one of my servers suddenly crashed tonight. Impossible to access the dashboard. I noticed that nginx was not running.
journalctl -u nginx
command 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...
-
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