[BlueOnyx:22347] Re: sysetmctl dbus errors after automatic updates

Michael Stauber mstauber at blueonyx.it
Wed Aug 22 10:06:56 -05 2018


Hi Janwillem,

> Followed your suggestions and a reboot but still seeing NGINX-SSL Proxy
> as not running (while it is actually running according to service nginx
> status (and restart every 15 minutes by swatch because it thinks it's
> not running)

The Swatch component that monitors Nginx (if it's enabled) is this script:

/usr/sausalito/swatch/bin/am_nginx.pl

It uses LWP::UserAgent->new() to make a "HEAD" connection against
https://$System->{hostname}.'.'. $System->{domainname}.':'.$sslPort

So if your server is named bx.company.com and SSL runs on port 443, it
will make a connection against https://bx.company.com:443 and will
examine the HEAD request. It doesn't matter if bx.company.com isn't
serving an actual webpage (it isn't, it just redirects to the GUI).

It just checks if the connection to HTTPS itself is successful.

In your case that seems to result in an error and Active Monitor then
assumes Nginx is dead and restarts it.

What happens if you do an HTTPS connection to the host- and domain-name
of your BlueOnyx in a browser? Does that work?

-- 
With best regards

Michael Stauber



More information about the Blueonyx mailing list