View previous topic :: View next topic |
Author |
Message |
birdy n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 07 Oct 2004 Posts: 10
|
Posted: Mon Jun 12, 2006 4:41 am Post subject: ntpdate: no server suitable for synchronization found |
|
|
hi all
i'm trying to get ntpd to work, but i can't seem to get a connection to any servers
I have a suspicion that it is my adsl router preventing it from working but i'm not too sure since ntpdate on my iBook works as expected.
Code: | lonewolf ~ # ntpdate -q au.pool.ntp.org
server 1.0.0.0, stratum 0, offset 0.000000, delay 0.00000
11 Jun 14:19:15 ntpdate[16387]: no server suitable for synchronization found
|
Code: | lonewolf ~ # ntpq -p
remote refid st t when poll reach delay offset jitter
==============================================================================
1.0.0.0 .INIT. 16 u - 64 0 0.000 0.000 4000.00
1.0.0.0 .INIT. 16 u - 64 0 0.000 0.000 4000.00
1.0.0.0 .INIT. 16 u - 64 0 0.000 0.000 4000.00
|
Code: | lonewolf ~ # cat /etc/ntp.conf | grep -v ^#
server au.pool.ntp.org
driftfile /var/lib/ntp/ntp.drift
restrict default nomodify nopeer
restrict 127.0.0.1
server time.esec.com.au
server ntp.jcu.edu.au
|
Code: | lonewolf ~ # cat /etc/conf.d/ntpd
NTPD_OPTS="-u ntp:ntp"
|
Code: | lonewolf ~ # cat /etc/conf.d/ntp-client | grep -v ^#
NTPCLIENT_CMD="ntpdate"
NTPCLIENT_OPTS=" -b -u au.pool.ntp.org"
NTPCLIENT_TIMEOUT=30
|
Code: | lonewolf ~ # ls -al /etc/localtime
lrwxrwxrwx 1 root root 40 Jun 11 14:38 /etc/localtime -> /usr/share/zoneinfo/Australia/Queensland
|
Code: | lonewolf ~ # cat /etc/conf.d/clock | grep -v ^#
CLOCK="UTC"
CLOCK_OPTS=""
CLOCK_SYSTOHC="yes"
SRM="no"
ARC="no"
|
ntpd seems to start up ok, but it doesn't ever update
i'm at a loss...
thanks in advance
_tristan |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
bunder Bodhisattva
![Bodhisattva Bodhisattva](/images/ranks/rank-bodhisattva.gif)
Joined: 10 Apr 2004 Posts: 5947
|
Posted: Mon Jun 12, 2006 5:40 am Post subject: |
|
|
take out all the server lines you don't want in your ntpd.conf. also, try different servers.
edit: or set your other PC as a ntp server and sync against it. _________________
Neddyseagoon wrote: | The problem with leaving is that you can only do it once and it reduces your influence. |
banned from #gentoo since sept 2017 |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
PaulBredbury Watchman
![Watchman Watchman](/images/ranks/rank-G-2-watchman.gif)
![](images/avatars/15669254994381f44a81f83.jpg)
Joined: 14 Jul 2005 Posts: 7310
|
Posted: Mon Jun 12, 2006 4:29 pm Post subject: |
|
|
Follow the wiki steps. Pay attention to the "restrict" lines. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|