You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Assignee: jflach
Status: Resolved (closed on 2015-03-31 10:18:51 +00:00)
Target Version: 2.3.4
Last Update: 2015-04-20 07:34:35 +00:00 (in Redmine)
Icinga Version: 2.3.2-1
Backport?: Already backported
Include in Changelog: 1
On Ubuntu 12.04,
There is the following error coming from anacron
logrotate_script: 2: logrotate_script: killall: not found
error: error running non-shared postrotate script for /var/log/icinga2/icinga2.log of '/var/log/icinga2/icinga2.log /var/log/icinga2/debug.log '
logrotate_script: 2: logrotate_script: killall: not found
error: error running non-shared postrotate script for /var/log/icinga2/debug.log of '/var/log/icinga2/icinga2.log /var/log/icinga2/debug.log '
This can be fixed by installing the psmisc package as mentioned on the logrotate man page of Ubuntu here:
I'd prefer if we just used the PID file + kill(1). There's no reason why we should send SIGHUP to icinga2 instances other than the one that's being managed by the init script.
This issue has been migrated from Redmine: https://dev.icinga.com/issues/8808
Created by Trefex on 2015-03-19 09:22:18 +00:00
Assignee: jflach
Status: Resolved (closed on 2015-03-31 10:18:51 +00:00)
Target Version: 2.3.4
Last Update: 2015-04-20 07:34:35 +00:00 (in Redmine)
On Ubuntu 12.04,
There is the following error coming from anacron
This can be fixed by installing the psmisc package as mentioned on the logrotate man page of Ubuntu here:
http://manpages.ubuntu.com/manpages/precise/man8/logrotate.8.html
Furthermore, it shoud be investigated if the command can not be replaced by killall5 which is the killall command from SystemV.
Thanks
Changesets
2015-03-31 10:18:20 +00:00 by jflach a283695
2015-04-20 06:54:17 +00:00 by jflach 66dd494
2015-04-20 08:09:18 +00:00 by (unknown) 56364ec
2015-04-20 08:11:48 +00:00 by (unknown) 5baa837
2015-04-20 09:22:14 +00:00 by (unknown) 51d86fa
2015-04-20 09:25:10 +00:00 by (unknown) 4214329
Relations:
The text was updated successfully, but these errors were encountered: