Search found 11 matches

by bercesm
Tue Feb 07, 2017 3:40 am
Forum: Nagios XI
Topic: Fail to apply config
Replies: 11
Views: 4026

Re: Fail to apply config

I failed to correct the errors in CCM. They came back always. Uninstalled Nagios XI with the script and reinstalled it. Now it works. I used for the reinstall the "online" installer, not the "offline tarballs", without any further settings (proxy was set earlier both in the syste...
by bercesm
Tue Jan 31, 2017 6:52 am
Forum: Nagios XI
Topic: Fail to apply config
Replies: 11
Views: 4026

Re: Fail to apply config

Sorry for the late answer...

"Are you correcting it on the file, or in the Core Config Manager? "
Correcting it in command line, then click on ccm "Write config" then to "Verify config" buttons.

All the command sais it's CET, 12.51:xx now.
(The server is in Hungary.)
by bercesm
Sat Jan 28, 2017 3:09 pm
Forum: Nagios XI
Topic: Fail to apply config
Replies: 11
Views: 4026

Re: Fail to apply config

When it recreate the file, no.
I correct it, but apply fails.
by bercesm
Sat Jan 28, 2017 5:49 am
Forum: Nagios XI
Topic: Fail to apply config
Replies: 11
Views: 4026

Re: Fail to apply config

I've done it several times, but all the same. Config verification is ok, but apply config fails. I've removed localhost from linux-server server group, so could delete ssh service (which is in line no. 93), but after that, the error is the same. (localhost.cfg written back, by the system, and apply ...
by bercesm
Fri Jan 27, 2017 3:47 am
Forum: Nagios XI
Topic: NagiosXI failed to install
Replies: 6
Views: 960

Re: NagiosXI failed to install

Yes.

Thanks, for the helps!
This thread can be locked.
by bercesm
Fri Jan 27, 2017 3:18 am
Forum: Nagios XI
Topic: Fail to apply config
Replies: 11
Views: 4026

Re: Fail to apply config

Hi! Ichecked, and both of the files, you mentioned are the same on the two machine. Both system is nagiosXI. On DEV, I can apply changes without problem, But on PROD it fails, with the following error: Error: Service has no hosts and/or service_description (config file '/usr/local/nagios/etc/service...
by bercesm
Thu Jan 26, 2017 10:43 am
Forum: Nagios XI
Topic: Fail to apply config
Replies: 11
Views: 4026

Fail to apply config

Hi all! I'have problem to apply my config. Write host configurations ... Configuration file: localhost.cfg successfully written! Host configuration files successfully written! Write service configurations ... Configuration file: localhost.cfg successfully written! Service configuration files success...
by bercesm
Thu Jan 26, 2017 10:37 am
Forum: Nagios XI
Topic: NagiosXI failed to install
Replies: 6
Views: 960

Re: NagiosXI failed to install

Solved it with:

Code: Select all

ln -s /etc/init.d/nagios /usr/lib/systemd/scripts/nagios
Thanks!
by bercesm
Thu Jan 26, 2017 9:37 am
Forum: Nagios XI
Topic: NagiosXI failed to install
Replies: 6
Views: 960

Re: NagiosXI failed to install

/usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg Nagios Core 4.1.1 Copyright (c) 2009-present Nagios Core Development Team and Community Contributors Copyright (c) 1999-2009 Ethan Galstad Last Modified: 08-19-2015 License: GPL Website: https://www.nagios.org Reading configuration dat...
by bercesm
Thu Jan 26, 2017 9:35 am
Forum: Nagios XI
Topic: NagiosXI failed to install
Replies: 6
Views: 960

Re: NagiosXI failed to install

I've attached it. Now I found that there is no config file in /usr/local/nagios (commnads.cfg, etc. so Whitch file was missing, I migrated from my test environment. First I could start nagios engine, but I should restart the machine. Now I have this error: nagios.service: control process exited, cod...