Page 1 of 1

Unable to install if using Chronyd instead of ntpd.

Posted: Thu Dec 01, 2016 2:10 pm
by bennyboy
Hi,

I get that error message. Our server already sync time with chronyd.

-------------------------------------
Nothing to do
1 Dec 13:58:42 ntpdate[16030]: no server suitable for synchronization found

===================
INSTALLATION ERROR!
===================
Installation step failed - exiting.
Check for error messages in the install log (install.log).

If you require assistance in resolving the issue, please include install.log
in your communications with Nagios Enterprises technical support.

The step that failed was: 'prereqs'
---------------------------

It"s possible to bypass that step ?

Thank you!

Re: Unable to install if using Chronyd instead of ntpd.

Posted: Thu Dec 01, 2016 5:44 pm
by mcapra
We don't do testing against cronyd, so this setup isn't officially supported.


You could try altering the fullinstall script to exclude the ntpdate call (around lines 71-73):

Code: Select all

	else
		ntpdate -u pool.ntp.org
	fi
Change that to use chronyd or remove it completely.

Re: Unable to install if using Chronyd instead of ntpd.

Posted: Thu Dec 01, 2016 8:47 pm
by bennyboy
It's possible to add a condition to check if something like ntpd or chronyd is already install and running. It's not possible to run ntpdate if a ntpd is running. In my case the ntp server you specify is not reachable. For the moment I will modifiy the script

Thank you!

Re: Unable to install if using Chronyd instead of ntpd.

Posted: Fri Dec 02, 2016 12:27 pm
by rkennedy
While we don't test against cronyd as @mcapra mentioned, I have noticed a few issues with the logic built on the NTP part of the NLS install. I filed a bug report for some basic logic to be added - #10301