Icinga / icinga2

The core of our monitoring platform with a powerful configuration language and REST API.
https://icinga.com/docs/icinga2/latest
GNU General Public License v2.0
2.03k stars 578 forks source link

Windows Client (Icinga2-v2.10.0-x86_64.msi) missing InitRunDir - icinga2.pid ends up on root of C:\ (if permissions allow) otherwise fails to start #6678

Closed JohnZ-H closed 6 years ago

JohnZ-H commented 6 years ago

Expected Behavior

Windows client (when run by service control manager) starts

Current Behavior

Windows client (when run by service control manager) fails to start

Possible Solution

It seems from the debug logs as though the initrundir for the packaged windows client is unset

[2018-10-12 14:26:51 +0100] critical/Application: Could not open PID file '/icinga2.pid'. ... [2018-10-12 14:26:51 +0100] critical/Application: Cannot update PID file '/icinga2.pid'. Aborting.

Steps to Reproduce (for bugs)

  1. Install client with no additional config
  2. Try and start it via windows service control manager

Context

We can't update to this version if we want to continue to monitor

Your Environment

JohnZ-H commented 6 years ago

Looks to be fixed in snapshot as per #6677 (of which this seems to be a duplicate)

mcktr commented 6 years ago

I'm closing here in favor of #6677.