Hello,
I have changed the ram on my server. Since then, every time I start up, nginx doesn't start properly:
Result of the command line : systemctl status nginx
root@nas:/# systemctl status nginx
○ nginx.service - A high performance web server and a reverse proxy server
Loaded: loaded (/lib/systemd/system/nginx.service; enabled; preset: enabled)
Active: inactive (dead)
Docs: man:nginx(8)
And after several minutes, nginx is activated and my server works correctly.
root@nas:/# systemctl status nginx
● nginx.service - A high performance web server and a reverse proxy server
Loaded: loaded (/lib/systemd/system/nginx.service; enabled; preset: enabled)
Active: active (running) since Sun 2024-05-05 20:57:11 CEST; 5s ago
Docs: man:nginx(8)
Process: 1029 ExecStartPre=/usr/sbin/nginx -t -q -g daemon on; master_process on; (code=exited, status=0/SUCCESS)
Process: 1087 ExecStart=/usr/sbin/nginx -g daemon on; master_process on; (code=exited, status=0/SUCCESS)
Main PID: 1094 (nginx)
Tasks: 13 (limit: 19025)
Memory: 10.2M
CPU: 48ms
CGroup: /system.slice/nginx.service
├─1094 "nginx: master process /usr/sbin/nginx -g daemon on; master_process on;"
├─1096 "nginx: worker process"
├─1098 "nginx: worker process"
├─1099 "nginx: worker process"
├─1100 "nginx: worker process"
├─1101 "nginx: worker process"
├─1102 "nginx: worker process"
├─1104 "nginx: worker process"
├─1105 "nginx: worker process"
├─1106 "nginx: worker process"
├─1107 "nginx: worker process"
├─1108 "nginx: worker process"
└─1109 "nginx: worker process"
mai 05 20:57:11 nas systemd[1]: Starting nginx.service - A high performance web server and a reverse proxy server...
mai 05 20:57:11 nas systemd[1]: Started nginx.service - A high performance web server and a reverse proxy server.
Alles anzeigen
In the 3 starts that followed the ram change, I received these 10 e-mails:
_________________________________________________________
[nas.local] Monitoring alert -- Execution failed rrdcached
---------------------------------------------------------------------------
The system monitoring needs your attention.
Host: nas
Date: Sun, 05 May 2024 02:01:50
Service: rrdcached
Event: Execution failed
Description: failed to start (exit status -1) -- Program '/bin/systemctl start rrdcached' timed out after 30 s
This triggered the monitoring system to: alert
—
You have received this notification because you have enabled the system monitoring on this host.
To change your notification preferences, please go to the 'System | Notification' or 'System | Monitoring' page in the web interface.
______________________________________________________
[nas.local] Monitoring restart -- Does not exist collectd
-----------------------------------------------------------------------
The system monitoring needs your attention.
Host: nas
Date: Sun, 05 May 2024 13:37:38
Service: collectd
Event: Does not exist
Description: process is not running
This triggered the monitoring system to: restart
—
You have received this notification because you have enabled the system monitoring on this host.
To change your notification preferences, please go to the 'System | Notification' or 'System | Monitoring' page in the web interface.
_____________________________________________________
[nas.local] Monitoring restart -- Does not exist nginx
----------------------------------------------------------------------
The system monitoring needs your attention.
Host: nas
Date: Sun, 05 May 2024 02:01:50
Service: nginx
Event: Does not exist
Description: process is not running
This triggered the monitoring system to: restart
—
You have received this notification because you have enabled the system monitoring on this host.
To change your notification preferences, please go to the 'System | Notification' or 'System | Monitoring' page in the web interface.
_____________________________________________________
[nas.local] Monitoring alert -- Execution failed nginx
----------------------------------------------------------------------
The system monitoring needs your attention.
Host: nas
Date: Sun, 05 May 2024 13:37:38
Service: nginx
Event: Execution failed
Description: failed to start (exit status -1) -- Program '/bin/systemctl start nginx' timed out after 30 s
This triggered the monitoring system to: alert
—
You have received this notification because you have enabled the system monitoring on this host.
To change your notification preferences, please go to the 'System | Notification' or 'System | Monitoring' page in the web interface.
_________________________________________________________
[nas.local] Monitoring restart -- Does not exist rrdcached
---------------------------------------------------------------------------
The system monitoring needs your attention.
Host: nas
Date: Sun, 05 May 2024 02:01:20
Service: rrdcached
Event: Does not exist
Description: process is not running
This triggered the monitoring system to: restart
—
You have received this notification because you have enabled the system monitoring on this host.
To change your notification preferences, please go to the 'System | Notification' or 'System | Monitoring' page in the web interface.
______________________________________________
[nas.local] Monitoring alert -- Exists rrdcached
------------------------------------------------------------
The system monitoring needs your attention.
Host: nas
Date: Sun, 05 May 2024 13:38:37
Service: rrdcached
Event: Exists
Description: process is running with pid 1229
This triggered the monitoring system to: alert
—
You have received this notification because you have enabled the system monitoring on this host.
To change your notification preferences, please go to the 'System | Notification' or 'System | Monitoring' page in the web interface.
_______________________________________________________________
[nas.local] Monitoring alert -- Execution succeeded rrdcached
-----------------------------------------------------------------------------------
The system monitoring needs your attention.
Host: nas
Date: Sun, 05 May 2024 13:38:37
Service: rrdcached
Event: Execution succeeded
Description: process is running after previous exec error (slow starting or manually recovered?)
This triggered the monitoring system to: alert
—
You have received this notification because you have enabled the system monitoring on this host.
To change your notification preferences, please go to the 'System | Notification' or 'System | Monitoring' page in the web interface.
_________________________________________
[nas.local] Monitoring alert -- Exists nginx
------------------------------------------------------
The system monitoring needs your attention.
Host: nas
Date: Sun, 05 May 2024 13:38:37
Service: nginx
Event: Exists
Description: process is running with pid 1181
This triggered the monitoring system to: alert
—
You have received this notification because you have enabled the system monitoring on this host.
To change your notification preferences, please go to the 'System | Notification' or 'System | Monitoring' page in the web interface.
_________________________________________________________
[nas.local] Monitoring alert -- Execution succeeded nginx
---------------------------------------------------------------------------
The system monitoring needs your attention.
Host: nas
Date: Sun, 05 May 2024 13:38:37
Service: nginx
Event: Execution succeeded
Description: process is running after previous exec error (slow starting or manually recovered?)
This triggered the monitoring system to: alert
—
You have received this notification because you have enabled the system monitoring on this host.
To change your notification preferences, please go to the 'System | Notification' or 'System | Monitoring' page in the web interface.
___________________________________________
[nas.local] Monitoring alert -- Exists collectd
---------------------------------------------------------
The system monitoring needs your attention.
Host: nas
Date: Sun, 05 May 2024 13:38:37
Service: collectd
Event: Exists
Description: process is running with pid 1248
This triggered the monitoring system to: alert
—
You have received this notification because you have enabled the system monitoring on this host.
To change your notification preferences, please go to the 'System | Notification' or 'System | Monitoring' page in the web interface.
_____________________________________________
Can you help me ?