We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
This issue has been migrated from Redmine: https://dev.icinga.com/issues/5666
Created by gvegidy on 2014-02-15 23:53:28 +00:00
Assignee: gvegidy Status: Resolved (closed on 2014-04-30 14:50:30 +00:00) Target Version: 0.0.11 Last Update: 2014-04-30 14:50:30 +00:00 (in Redmine)
Icinga Version: icinga2-0.0.7
I accidently had config files without read permissions for the icinga user in /etc/icinga2/conf.d:
$ ls -al localhost.conf rw-r----. 1 root root 751 Feb 16 00:47 localhost.conf
The icinga2 starts, but shuts down again without any kind of error message:
$ systemctl status icinga2.service icinga2.service - LSB: icinga2 host/service/network monitoring and management system Loaded: loaded (/etc/rc.d/init.d/icinga2) Active: active (exited) since Sun 2014-02-16 00:48:47 CET; 2min 4s ago Process: 32219 ExecStop=/etc/rc.d/init.d/icinga2 stop (code=exited, status=0/SUCCESS) Process: 32234 ExecStart=/etc/rc.d/init.d/icinga2 start (code=exited, status=0/SUCCESS)
icinga2[32234]: [2014-02-16 00:48:47 +0100]
This makes it really hard for the user to spot the real problem.
Changesets
2014-04-29 20:05:12 +00:00 by gvegidy 8c6a47d
Improve error message when trying to open a config file Refs #5666
2014-04-29 22:23:20 +00:00 by gvegidy d7d1503
Improve error message when trying to open a config file. Refs #5666
2014-04-29 22:36:49 +00:00 by gvegidy 6ac851c
Improve error message when trying to open a config file. Fixes #5666 Signed-off-by: Gunnar Beutner <gunnar.beutner@netways.de>
Relations:
The text was updated successfully, but these errors were encountered:
Updated by mfriedrich on 2014-03-18 16:23:33 +00:00
Sorry, something went wrong.
Updated by gbeutner on 2014-04-11 11:19:35 +00:00
Updated by mfriedrich on 2014-04-29 12:14:08 +00:00
Updated by gvegidy on 2014-04-30 14:50:30 +00:00
Applied in changeset 6ac851c.
No branches or pull requests
This issue has been migrated from Redmine: https://dev.icinga.com/issues/5666
Created by gvegidy on 2014-02-15 23:53:28 +00:00
Assignee: gvegidy
Status: Resolved (closed on 2014-04-30 14:50:30 +00:00)
Target Version: 0.0.11
Last Update: 2014-04-30 14:50:30 +00:00 (in Redmine)
I accidently had config files without read permissions for the icinga user in /etc/icinga2/conf.d:
$ ls -al localhost.conf
rw-r----. 1 root root 751 Feb 16 00:47 localhost.confThe icinga2 starts, but shuts down again without any kind of error message:
$ systemctl status icinga2.service
icinga2.service - LSB: icinga2 host/service/network monitoring and management system
Loaded: loaded (/etc/rc.d/init.d/icinga2)
Active: active (exited) since Sun 2014-02-16 00:48:47 CET; 2min 4s ago
Process: 32219 ExecStop=/etc/rc.d/init.d/icinga2 stop (code=exited, status=0/SUCCESS)
Process: 32234 ExecStart=/etc/rc.d/init.d/icinga2 start (code=exited, status=0/SUCCESS)
icinga2[32234]: [2014-02-16 00:48:47 +0100]
information/config: Checked 1 User(s).icinga2[32234]: [2014-02-16 00:48:47 +0100] information/config: Checked 1 UserGroup(s).
icinga2[32234]: [2014-02-16 00:48:47 +0100] information/config: Checked 1 Host(s).
icinga2[32234]: [2014-02-16 00:48:47 +0100] information/config: Checked 2 HostGroup(s).
icinga2[32234]: [2014-02-16 00:48:47 +0100] information/config: Checked 4 Notification(s).
icinga2[32234]: [2014-02-16 00:48:47 +0100] information/config: Checked 4 Service(s).
icinga2[32234]: [2014-02-16 00:48:47 +0100] information/config: Checked 1 IcingaApplication(s).
icinga2[32234]: [2014-02-16 00:48:47 +0100] information/icinga-app: Finished validating the configuration file(s).
icinga2[32234]: Starting Icinga 2:
systemd[1]: Started LSB: icinga2 host/service/network monitoring and management system.
This makes it really hard for the user to spot the real problem.
Changesets
2014-04-29 20:05:12 +00:00 by gvegidy 8c6a47d
2014-04-29 22:23:20 +00:00 by gvegidy d7d1503
2014-04-29 22:36:49 +00:00 by gvegidy 6ac851c
Relations:
The text was updated successfully, but these errors were encountered: