Unable to install if using Chronyd instead of ntpd.

This support forum board is for support questions relating to Nagios Log Server, our solution for managing and monitoring critical log data.
Locked
bennyboy
Posts: 157
Joined: Thu Oct 29, 2015 9:42 am

Unable to install if using Chronyd instead of ntpd.

Post 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!
User avatar
mcapra
Posts: 3739
Joined: Thu May 05, 2016 3:54 pm

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

Post 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.
Former Nagios employee
https://www.mcapra.com/
bennyboy
Posts: 157
Joined: Thu Oct 29, 2015 9:42 am

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

Post 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!
rkennedy
Posts: 6579
Joined: Mon Oct 05, 2015 11:45 am

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

Post 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
Former Nagios Employee
Locked