LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-30-2020, 07:45 AM   #1
anamnedelcu
LQ Newbie
 
Registered: Oct 2020
Posts: 19

Rep: Reputation: Disabled
Help me! ntpq -p No association ID's returned


Hello,

I installed the ntp package on my Ubuntu 16.04 VM and when I run "ntpq -p" it says "No association ID's returned". Can you help me find the problem?
 
Old 10-31-2020, 06:29 AM   #2
rtmistler
Moderator
 
Registered: Mar 2011
Location: USA
Distribution: MINT Debian, Angstrom, SUSE, Ubuntu, Debian
Posts: 9,882
Blog Entries: 13

Rep: Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930
If you haven't run the NTP daemon, then it's not going to find any peers.

Have you run the server?
 
Old 10-31-2020, 06:37 AM   #3
anamnedelcu
LQ Newbie
 
Registered: Oct 2020
Posts: 19

Original Poster
Rep: Reputation: Disabled
I solved this by making a change to the /etc/ntp.conf. Instead of "server 0.pool.ntp.org iburst" I wrote "pool 0.ubuntu.pool.ntp.org iburst".
 
1 members found this post helpful.
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
ntpq -p: Connection refused stf92 Slackware 29 11-14-2014 09:16 AM
nagios check_ntp_time offset different from ntpq -p thllgo Linux - Software 5 05-04-2011 08:59 AM
difference between socket returned descriptor and accept returned descriptor naveenisback Programming 1 08-29-2009 04:55 AM
ntpq bsk66 Linux - Newbie 4 04-02-2009 09:10 AM
Not sure about ntpq -pn output.... r_jensen11 Linux - General 5 07-01-2004 10:35 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 01:04 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration