[Bug 176844] Re: ntpdate fails to get a server from /etc/ntp.conf

2013-01-01 Thread david6
I may yet open a new bug, but in the meantime some comments ..

> ntpdate fails to get a server from /etc/ntp.conf

YES.

In my testing (Ubuntu 12.10, server, 64bit), ntpdate does NOT use the
NTP servers listed in /etc/ntp.conf. Therefore, not honouring the
setting: NTPDATE_USE_NTP_CONF=yes  in file: /etc/default/ntpdate

However, NTP and NTPDATE don't play well, and really only NTP needs to
work once the system is running (and 'nearly' synced). You also need to
stop/start NTP, before/after attempting to use NTPDATE:

ntpq -np
ntpq -c rl

sudo service ntp stop
ntpdate -q 1.au.pool.ntp.org
sudo service ntp start

ntpq -np
ntpq -c rl


And (surprise) NTPDATE uses a completely different file (/etc/ntp/step-tickers) 
to list time servers, to get the initial reasonable time sync, to allow NTP to 
then keep in sync. 

Note: Ubuntu (even 12.10) does not have this file, or even the directory
(/etc/ntp/), but does appear to use it (if created).

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to ntp in Ubuntu.
https://bugs.launchpad.net/bugs/176844

Title:
  ntpdate fails to get a server from /etc/ntp.conf

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ntp/+bug/176844/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 176844] Re: ntpdate fails to get a server from /etc/ntp.conf

2010-03-29 Thread C de-Avillez
@itsjustarumour: This bug has been closed for quite a long time. It
would be better to open a new bug.

Anyway: ntpdate will fail if ntp is running. This is expected, per
design, and how it works.

-- 
ntpdate fails to get a server from /etc/ntp.conf
https://bugs.launchpad.net/bugs/176844
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to ntp in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 176844] Re: ntpdate fails to get a server from /etc/ntp.conf

2010-03-27 Thread itsjustarumour
Sorry, bugtracker garbled my comment above, should read:

Same problem on all my Karmic (32-bit) boxes. Clocks went forward an
hour last night, but system time didn't change. Wheither I go
System>Administration>Time and Date, or try this via the Clock?Calender
applet, teh settings have no effect.

If I run ntpdate in terminal, I get:

i...@coolermaster:~$ sudo ntpdate
28 Mar 06:09:35 ntpdate[7823]: no servers can be used, exiting
i...@coolermaster:~$

I've tried several time servers but its always the same.

For what its worth, I have both ntp and ntpdate installed.

-- 
ntpdate fails to get a server from /etc/ntp.conf
https://bugs.launchpad.net/bugs/176844
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to ntp in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 176844] Re: ntpdate fails to get a server from /etc/ntp.conf

2010-03-27 Thread itsjustarumour
Same problem hAdministrationere on all my Karmic (32-bit) boxes.  Clocks
went forward an hour last night, but system time didn't change.
Wheither I go System>Administration>Time and Date, or try this via the
Clock?Calender applet, teh settings have no effect.

If I run ntpdate in terminal, I get:

i...@coolermaster:~$ sudo ntpdate
28 Mar 06:09:35 ntpdate[7823]: no servers can be used, exiting
i...@coolermaster:~$ 

I've tried several time servers but its always the same..

-- 
ntpdate fails to get a server from /etc/ntp.conf
https://bugs.launchpad.net/bugs/176844
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to ntp in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 176844] Re: ntpdate fails to get a server from /etc/ntp.conf

2010-02-08 Thread Maxim Heijndijk
I clean installed Ubuntu Karmic in october 2009 and just discovered that
my system time is 15 minutes off. I had ntp as well as ntpdate
installed, but it clearly never synchronized. The time and date applet
in the panel doesn't work either. I deinstalled ntp and manually
executed ntpdate ntp.ubuntu.com and the right time was set. So how come
this is not marked as a bug? Is it a feature that Karmic won't update
the time?

-- 
ntpdate fails to get a server from /etc/ntp.conf
https://bugs.launchpad.net/bugs/176844
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to ntp in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs