1 (edited by angeloklin 2019-10-04 21:14:56)

Topic: 1.0-beta1 Report: server-status: No such file or directory

==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
- iRedMail version (check /etc/iredmail-release): 1.0-beta1
- Deployed with iRedMail Easy or the downloadable installer? stand alone
- Linux/BSD distribution name and version: FreeBSD 12.0-RELEASE-p10
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): PGSQL
- Web server (Apache or Nginx): Nginx
- Manage mail accounts with iRedAdmin-Pro? No
- [IMPORTANT] Related original log or error message is required if you're experiencing an issue.
====

  I could not find a location on Nginx. Maybe it is a call from Netdata.

# tail /var/log/nginx/error.log
2019/10/04 22:33:03 [error] 846#100140: *2 open() "/usr/local/www/html/server-status" failed (2: No such file or directory), client: 127.0.0.1, server: _, request: "GET /server-status?auto HTTP/1.1", host: "localhost"
2019/10/04 22:33:03 [error] 846#100140: *4 open() "/usr/local/www/html/server-status" failed (2: No such file or directory), client: 127.0.0.1, server: _, request: "GET /server-status?auto HTTP/1.1", host: "127.0.0.1"
# ls -l /usr/local/www/html
-rw-r--r--  1 root  wheel  78  4 Oct 21:29 index.html
-rw-r--r--  1 root  wheel  26  4 Oct 21:29 robots.txt

2

Re: 1.0-beta1 Report: server-status: No such file or directory

Netdata requests the stub stats pages: /stub_status and /status.
Please make sure your Nginx config file /etc/nginx/sites-enabled/00-default-ssl.conf contains line below:

include /etc/nginx/templates/stub_status.tmpl;

----

Does my reply help a little? How about buying me a cup of coffee ($5) as an encouragement?

buy me a cup of coffee