[ntp:questions] ntpdc is not working in ntp-4.2.8p1
Kashif Mumtaz Tahir
ktahir at ies.etisalat.ae
Tue Apr 7 01:05:07 UTC 2015
How can re-enable mode7 packets ?
From: Harlan Stenn [mailto:stenn at ntp.org]
Sent: Tuesday, April 07, 2015 4:47 AM
To: Kashif Mumtaz Tahir
Cc: questions at lists.ntp.org
Subject: Re: [ntp:questions] ntpdc is not working in ntp-4.2.8p1
"Kashif Mumtaz Tahir" writes:
> Hello Folks,
> Currently we have NTP server ntp-4.2.4p8 provided by Redhat RPM on RHEL 6.
> We want to upgrade it either by RedHat Provided latest RPM package (
> ntp-4.2.6p5 ) or by installing from source compile ( ntp-4.2.8p1 ).
I vote for 4.2.8.
> We tested both upgrade ( on test machine of course) and facing the issue
> that when we do install ntp-4.2.8p1 package from source , ntpdc commands
> not working. Below is the output
> # ntpdc
> ntpdc> monlist
> localhost: timed out, nothing received
> ***Request timed out
ntpdc (mode 7) packets have been disabled by default. Better to use
ntpq (mode6) requests.
See http://support.ntp.org/bin/view/Dev/DeprecatingNtpdate .
You *can* re-enable mode7 packets. I recommend against this. If you
must re-enable mode87 packets, please be *very* careful with your
> But ntpq -pn and ntpdate etc working fine and clients able to sync time
> this server.
> We are using below guidelines for compiling NTP
> below is the ntp.conf file.
> # cat /etc/ntp.conf
> server 213.X.X.X iburst
> server 195.X.X.X iburst
> driftfile /var/lib/ntp/ntp.drift
> logfile /opt/ntp/ntp.log
> restrict default kod nomodify notrap nopeer noquery
> restrict 127.0.0.1
> restrict -6 ::1
> logconfig =syncevents +peerevents +sysevents +allclock
> statistics clockstats cryptostats loopstats peerstats sysstats rawstats
> Any idea why ntpdc is not working ??
> questions mailing list
> questions at lists.ntp.org
More information about the questions