Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
ntpdate: no server suitable for synchronization found
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
birdy
n00b
n00b


Joined: 07 Oct 2004
Posts: 10

PostPosted: Mon Jun 12, 2006 4:41 am    Post subject: ntpdate: no server suitable for synchronization found Reply with quote

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
View user's profile Send private message
bunder
Bodhisattva
Bodhisattva


Joined: 10 Apr 2004
Posts: 5947

PostPosted: Mon Jun 12, 2006 5:40 am    Post subject: Reply with quote

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
View user's profile Send private message
PaulBredbury
Watchman
Watchman


Joined: 14 Jul 2005
Posts: 7310

PostPosted: Mon Jun 12, 2006 4:29 pm    Post subject: Reply with quote

Follow the wiki steps. Pay attention to the "restrict" lines.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum