Error NTP after boot
![Creative The name of the picture](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgO9GURib1T8z7lCwjOGLQaGtrueEthgQ8LO42ZX8cOfTqDK4jvDDpKkLFwf2J49kYCMNW7d4ABih_XCb_2UXdq5fPJDkoyg7-8g_YfRUot-XnaXkNYycsNp7lA5_TW9td0FFpLQ2APzKcZ/s1600/1.jpg)
![Creative The name of the picture](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhYQ0N5W1qAOxLP7t7iOM6O6AzbZnkXUy16s7P_CWfOb5UbTQY_aDsc727chyphenhyphen5W4IppVNernMMQeaUFTB_rFzAd95_CDt-tnwN-nBx6JyUp2duGjPaL5-VgNO41AVsA_vu30EJcipdDG409/s400/Clash+Royale+CLAN+TAG%2523URR8PPP.png)
up vote
0
down vote
favorite
I'm having a problem with ntp service after ubuntu boot. I have a local net with a few computers running Ubuntu 16.04 / Windows 8 and a Debian 8 server running as ntp/samba/dhcp server. Some computers don't get a correct time and then the users can't connect on that machine.
To solve this issue i just run:
sudo systemctl restart ntp.server
But i need to run this every time when windows start and then switch to ubuntu.
sudo systemctl status ntp.service
Abr 19 13:11:26 L05M01L ntp[1288]: * Starting NTP server ntpd
Abr 19 13:11:26 L05M01L ntpd[1296]: ntpd 4.2.8p4@1.3265-o Wed Feb 14 14:56:29 UTC 2018 (1): Starting
Abr 19 13:11:26 L05M01L ntpd[1296]: Command line: /usr/sbin/ntpd -p /var/run/ntpd.pid -g -u 125:136
Abr 19 13:11:26 L05M01L ntp[1288]: ...done.
Abr 19 13:11:26 L05M01L ntpd[1299]: proto: precision = 0.046 usec (-24)
Abr 19 13:11:26 L05M01L ntpd[1262]: ntpd exiting on signal 15 (Terminated)
Abr 19 13:11:26 L05M01L ntpd[1299]: restrict: ignoring line 23, address/host 'test.local' unusable.
Abr 19 13:11:26 L05M01L ntpd[1299]: Listen and drop on 0 v6wildcard [::]:123
Abr 19 13:11:26 L05M01L ntpd[1299]: Listen and drop on 1 v4wildcard 0.0.0.0:123
Abr 19 13:11:26 L05M01L ntpd[1299]: Listen normally on 2 lo 127.0.0.1:123
Abr 19 13:11:26 L05M01L ntpd[1299]: Listen normally on 3 lo [::1]:123
Abr 19 13:11:26 L05M01L ntpd[1299]: Listening on routing socket on fd #20 for interface updates
Abr 19 13:11:27 L05M01L ntpd[1299]: error resolving pool test.local: Temporary failure in name resolution (-3)
Abr 19 13:11:29 L05M01L ntpdate[1561]: the NTP socket is in use, exiting
Abr 19 13:11:29 L05M01L ntpdate[1617]: the NTP socket is in use, exiting
Abr 19 13:11:30 L05M01L ntpd[1299]: Listen normally on 4 eno1 192.168.1.67:123
Abr 19 13:12:32 L05M01L ntpd[1299]: Soliciting pool server 192.168.1.11
Abr 19 13:13:39 L05M01L ntpd[1299]: Soliciting pool server 192.168.1.11
ntpq -p
remote refid st t when poll reach delay offset jitter
==============================================================================
test.local .POOL. 16 p - 64 0 0.000 0.000 0.000
after a restart
remote refid st t when poll reach delay offset jitter
==============================================================================
test.local .POOL. 16 p - 64 0 0.000 0.000 0.000
*info.test.loca LOCAL(0) 6 u 3 64 1 0.448 -0.065 0.020
PS: I'm using a tool to connect all pcs in the domain, called CiD (https://sourceforge.net/projects/c-i-d/), so the ntp.conf is configured by the tool.
# [Modified by CID]
#
# This file has been modified by the CID (Closed In Directory) program.
# A copy of its previous state was saved in /var/lib/cid/backups/ori/etc/ntp.conf
# and in /var/lib/cid/backups/mod/etc/ntp.conf if the program has made a
# reconfiguration in the file.
# For more details, see: /usr/share/doc/cid-base/usermanual.html.
driftfile /var/lib/ntp/ntp.drift
statistics loopstats peerstats clockstats
filegen loopstats file loopstats type day enable
filegen peerstats file peerstats type day enable
filegen clockstats file clockstats type day enable
pool test.local iburst prefer
restrict -4 default ignore
restrict -6 default ignore
restrict -4 127.0.0.1
restrict -6 ::1
restrict test.local mask 255.255.255.255 notrap nomodify noquery
So, this could be a problem with my DNS?
dns ntp
add a comment |Â
up vote
0
down vote
favorite
I'm having a problem with ntp service after ubuntu boot. I have a local net with a few computers running Ubuntu 16.04 / Windows 8 and a Debian 8 server running as ntp/samba/dhcp server. Some computers don't get a correct time and then the users can't connect on that machine.
To solve this issue i just run:
sudo systemctl restart ntp.server
But i need to run this every time when windows start and then switch to ubuntu.
sudo systemctl status ntp.service
Abr 19 13:11:26 L05M01L ntp[1288]: * Starting NTP server ntpd
Abr 19 13:11:26 L05M01L ntpd[1296]: ntpd 4.2.8p4@1.3265-o Wed Feb 14 14:56:29 UTC 2018 (1): Starting
Abr 19 13:11:26 L05M01L ntpd[1296]: Command line: /usr/sbin/ntpd -p /var/run/ntpd.pid -g -u 125:136
Abr 19 13:11:26 L05M01L ntp[1288]: ...done.
Abr 19 13:11:26 L05M01L ntpd[1299]: proto: precision = 0.046 usec (-24)
Abr 19 13:11:26 L05M01L ntpd[1262]: ntpd exiting on signal 15 (Terminated)
Abr 19 13:11:26 L05M01L ntpd[1299]: restrict: ignoring line 23, address/host 'test.local' unusable.
Abr 19 13:11:26 L05M01L ntpd[1299]: Listen and drop on 0 v6wildcard [::]:123
Abr 19 13:11:26 L05M01L ntpd[1299]: Listen and drop on 1 v4wildcard 0.0.0.0:123
Abr 19 13:11:26 L05M01L ntpd[1299]: Listen normally on 2 lo 127.0.0.1:123
Abr 19 13:11:26 L05M01L ntpd[1299]: Listen normally on 3 lo [::1]:123
Abr 19 13:11:26 L05M01L ntpd[1299]: Listening on routing socket on fd #20 for interface updates
Abr 19 13:11:27 L05M01L ntpd[1299]: error resolving pool test.local: Temporary failure in name resolution (-3)
Abr 19 13:11:29 L05M01L ntpdate[1561]: the NTP socket is in use, exiting
Abr 19 13:11:29 L05M01L ntpdate[1617]: the NTP socket is in use, exiting
Abr 19 13:11:30 L05M01L ntpd[1299]: Listen normally on 4 eno1 192.168.1.67:123
Abr 19 13:12:32 L05M01L ntpd[1299]: Soliciting pool server 192.168.1.11
Abr 19 13:13:39 L05M01L ntpd[1299]: Soliciting pool server 192.168.1.11
ntpq -p
remote refid st t when poll reach delay offset jitter
==============================================================================
test.local .POOL. 16 p - 64 0 0.000 0.000 0.000
after a restart
remote refid st t when poll reach delay offset jitter
==============================================================================
test.local .POOL. 16 p - 64 0 0.000 0.000 0.000
*info.test.loca LOCAL(0) 6 u 3 64 1 0.448 -0.065 0.020
PS: I'm using a tool to connect all pcs in the domain, called CiD (https://sourceforge.net/projects/c-i-d/), so the ntp.conf is configured by the tool.
# [Modified by CID]
#
# This file has been modified by the CID (Closed In Directory) program.
# A copy of its previous state was saved in /var/lib/cid/backups/ori/etc/ntp.conf
# and in /var/lib/cid/backups/mod/etc/ntp.conf if the program has made a
# reconfiguration in the file.
# For more details, see: /usr/share/doc/cid-base/usermanual.html.
driftfile /var/lib/ntp/ntp.drift
statistics loopstats peerstats clockstats
filegen loopstats file loopstats type day enable
filegen peerstats file peerstats type day enable
filegen clockstats file clockstats type day enable
pool test.local iburst prefer
restrict -4 default ignore
restrict -6 default ignore
restrict -4 127.0.0.1
restrict -6 ::1
restrict test.local mask 255.255.255.255 notrap nomodify noquery
So, this could be a problem with my DNS?
dns ntp
add a comment |Â
up vote
0
down vote
favorite
up vote
0
down vote
favorite
I'm having a problem with ntp service after ubuntu boot. I have a local net with a few computers running Ubuntu 16.04 / Windows 8 and a Debian 8 server running as ntp/samba/dhcp server. Some computers don't get a correct time and then the users can't connect on that machine.
To solve this issue i just run:
sudo systemctl restart ntp.server
But i need to run this every time when windows start and then switch to ubuntu.
sudo systemctl status ntp.service
Abr 19 13:11:26 L05M01L ntp[1288]: * Starting NTP server ntpd
Abr 19 13:11:26 L05M01L ntpd[1296]: ntpd 4.2.8p4@1.3265-o Wed Feb 14 14:56:29 UTC 2018 (1): Starting
Abr 19 13:11:26 L05M01L ntpd[1296]: Command line: /usr/sbin/ntpd -p /var/run/ntpd.pid -g -u 125:136
Abr 19 13:11:26 L05M01L ntp[1288]: ...done.
Abr 19 13:11:26 L05M01L ntpd[1299]: proto: precision = 0.046 usec (-24)
Abr 19 13:11:26 L05M01L ntpd[1262]: ntpd exiting on signal 15 (Terminated)
Abr 19 13:11:26 L05M01L ntpd[1299]: restrict: ignoring line 23, address/host 'test.local' unusable.
Abr 19 13:11:26 L05M01L ntpd[1299]: Listen and drop on 0 v6wildcard [::]:123
Abr 19 13:11:26 L05M01L ntpd[1299]: Listen and drop on 1 v4wildcard 0.0.0.0:123
Abr 19 13:11:26 L05M01L ntpd[1299]: Listen normally on 2 lo 127.0.0.1:123
Abr 19 13:11:26 L05M01L ntpd[1299]: Listen normally on 3 lo [::1]:123
Abr 19 13:11:26 L05M01L ntpd[1299]: Listening on routing socket on fd #20 for interface updates
Abr 19 13:11:27 L05M01L ntpd[1299]: error resolving pool test.local: Temporary failure in name resolution (-3)
Abr 19 13:11:29 L05M01L ntpdate[1561]: the NTP socket is in use, exiting
Abr 19 13:11:29 L05M01L ntpdate[1617]: the NTP socket is in use, exiting
Abr 19 13:11:30 L05M01L ntpd[1299]: Listen normally on 4 eno1 192.168.1.67:123
Abr 19 13:12:32 L05M01L ntpd[1299]: Soliciting pool server 192.168.1.11
Abr 19 13:13:39 L05M01L ntpd[1299]: Soliciting pool server 192.168.1.11
ntpq -p
remote refid st t when poll reach delay offset jitter
==============================================================================
test.local .POOL. 16 p - 64 0 0.000 0.000 0.000
after a restart
remote refid st t when poll reach delay offset jitter
==============================================================================
test.local .POOL. 16 p - 64 0 0.000 0.000 0.000
*info.test.loca LOCAL(0) 6 u 3 64 1 0.448 -0.065 0.020
PS: I'm using a tool to connect all pcs in the domain, called CiD (https://sourceforge.net/projects/c-i-d/), so the ntp.conf is configured by the tool.
# [Modified by CID]
#
# This file has been modified by the CID (Closed In Directory) program.
# A copy of its previous state was saved in /var/lib/cid/backups/ori/etc/ntp.conf
# and in /var/lib/cid/backups/mod/etc/ntp.conf if the program has made a
# reconfiguration in the file.
# For more details, see: /usr/share/doc/cid-base/usermanual.html.
driftfile /var/lib/ntp/ntp.drift
statistics loopstats peerstats clockstats
filegen loopstats file loopstats type day enable
filegen peerstats file peerstats type day enable
filegen clockstats file clockstats type day enable
pool test.local iburst prefer
restrict -4 default ignore
restrict -6 default ignore
restrict -4 127.0.0.1
restrict -6 ::1
restrict test.local mask 255.255.255.255 notrap nomodify noquery
So, this could be a problem with my DNS?
dns ntp
I'm having a problem with ntp service after ubuntu boot. I have a local net with a few computers running Ubuntu 16.04 / Windows 8 and a Debian 8 server running as ntp/samba/dhcp server. Some computers don't get a correct time and then the users can't connect on that machine.
To solve this issue i just run:
sudo systemctl restart ntp.server
But i need to run this every time when windows start and then switch to ubuntu.
sudo systemctl status ntp.service
Abr 19 13:11:26 L05M01L ntp[1288]: * Starting NTP server ntpd
Abr 19 13:11:26 L05M01L ntpd[1296]: ntpd 4.2.8p4@1.3265-o Wed Feb 14 14:56:29 UTC 2018 (1): Starting
Abr 19 13:11:26 L05M01L ntpd[1296]: Command line: /usr/sbin/ntpd -p /var/run/ntpd.pid -g -u 125:136
Abr 19 13:11:26 L05M01L ntp[1288]: ...done.
Abr 19 13:11:26 L05M01L ntpd[1299]: proto: precision = 0.046 usec (-24)
Abr 19 13:11:26 L05M01L ntpd[1262]: ntpd exiting on signal 15 (Terminated)
Abr 19 13:11:26 L05M01L ntpd[1299]: restrict: ignoring line 23, address/host 'test.local' unusable.
Abr 19 13:11:26 L05M01L ntpd[1299]: Listen and drop on 0 v6wildcard [::]:123
Abr 19 13:11:26 L05M01L ntpd[1299]: Listen and drop on 1 v4wildcard 0.0.0.0:123
Abr 19 13:11:26 L05M01L ntpd[1299]: Listen normally on 2 lo 127.0.0.1:123
Abr 19 13:11:26 L05M01L ntpd[1299]: Listen normally on 3 lo [::1]:123
Abr 19 13:11:26 L05M01L ntpd[1299]: Listening on routing socket on fd #20 for interface updates
Abr 19 13:11:27 L05M01L ntpd[1299]: error resolving pool test.local: Temporary failure in name resolution (-3)
Abr 19 13:11:29 L05M01L ntpdate[1561]: the NTP socket is in use, exiting
Abr 19 13:11:29 L05M01L ntpdate[1617]: the NTP socket is in use, exiting
Abr 19 13:11:30 L05M01L ntpd[1299]: Listen normally on 4 eno1 192.168.1.67:123
Abr 19 13:12:32 L05M01L ntpd[1299]: Soliciting pool server 192.168.1.11
Abr 19 13:13:39 L05M01L ntpd[1299]: Soliciting pool server 192.168.1.11
ntpq -p
remote refid st t when poll reach delay offset jitter
==============================================================================
test.local .POOL. 16 p - 64 0 0.000 0.000 0.000
after a restart
remote refid st t when poll reach delay offset jitter
==============================================================================
test.local .POOL. 16 p - 64 0 0.000 0.000 0.000
*info.test.loca LOCAL(0) 6 u 3 64 1 0.448 -0.065 0.020
PS: I'm using a tool to connect all pcs in the domain, called CiD (https://sourceforge.net/projects/c-i-d/), so the ntp.conf is configured by the tool.
# [Modified by CID]
#
# This file has been modified by the CID (Closed In Directory) program.
# A copy of its previous state was saved in /var/lib/cid/backups/ori/etc/ntp.conf
# and in /var/lib/cid/backups/mod/etc/ntp.conf if the program has made a
# reconfiguration in the file.
# For more details, see: /usr/share/doc/cid-base/usermanual.html.
driftfile /var/lib/ntp/ntp.drift
statistics loopstats peerstats clockstats
filegen loopstats file loopstats type day enable
filegen peerstats file peerstats type day enable
filegen clockstats file clockstats type day enable
pool test.local iburst prefer
restrict -4 default ignore
restrict -6 default ignore
restrict -4 127.0.0.1
restrict -6 ::1
restrict test.local mask 255.255.255.255 notrap nomodify noquery
So, this could be a problem with my DNS?
dns ntp
asked Apr 19 at 20:01
Roland Sgs
11
11
add a comment |Â
add a comment |Â
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1026512%2ferror-ntp-after-boot%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password