Summary: | net-mgmt/icinga2: Error: Could not open '/var/cache/icinga2/icinga2.debug.tmp' file | ||
---|---|---|---|
Product: | Ports & Packages | Reporter: | O. Hartmann <ohartmann> |
Component: | Individual Port(s) | Assignee: | Lars Engels <lme> |
Status: | Closed FIXED | ||
Severity: | Affects Some People | CC: | lme |
Priority: | --- | Flags: | bugzilla:
maintainer-feedback?
(lme) |
Version: | Latest | ||
Hardware: | Any | ||
OS: | Any |
Description
O. Hartmann
2015-08-28 05:47:41 UTC
Can you please show me a directory listing of /var/cache/icinga2 please? Oh and does stopping and starting icinga2 using the rc script work? Checking what has changed revealed, that someone did change the rc-script residing in /usr/local/etc/rc.d/. The whole stuff checking the existence, ownership and accessrights of directory /var/run/icinga2 and siblings has been commented out in subroutine start_precmd() od icinga2 script. This seems wrong to me: On systems with a /var/run created as tmpfs (as of ours for security reasons), the directory /var/run/icinga2 doesn't exist anymore. After deleting the comments, Icinga2 is now starting up, restarting and stopping again as expected. Thanks for the tip on checking the rc-scripts. Fixed with the latest version. |