[Spce-user] nginx and prometheus-nginx-exporter fail to load after reboot

Guillem Jover gjover at sipwise.com
Wed Jan 22 14:42:49 EST 2025


Hi!

On Sun, 2025-01-19 at 14:58:45 +0000, Cesar Mora wrote:
> As for the logs, that is the puzzling part…
> 
> /var/log/nginx/error.log is empty
> /var/log/ngcp/nginx/error.log is also empty
> 
> When the server boots, right before the login prompt shows up, you
> can see:
> 
> [FAILED] Failed to start nginx.service - A high performance web server and a reverse proxy server.

This is the real problem, you'd need to try to check why nginx is
failing to start.

> [FAILED] Failed to start prometheus-nginx-exporter.service - NGINX Prometheus Exporter.

This is a known limitation from this prometheus exporter, which fails
to start if nginx is not running. This has been fixed upstream with
https://github.com/nginx/nginx-prometheus-exporter/pull/504, so on
the future NGCP release where we rebase on top of Debian trixie,
we'll get that new fixed behavior.

Thanks,
Guillem



More information about the Spce-user mailing list