LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Debian (https://www.linuxquestions.org/questions/debian-26/)
-   -   openntpd will not synchronize on debian lenny (https://www.linuxquestions.org/questions/debian-26/openntpd-will-not-synchronize-on-debian-lenny-772483/)

AleLinuxBSD 11-30-2009 12:14 PM

openntpd will not synchronize on debian lenny
 
I have this problem on debian lenny so i have installed ntp.

Is this a bug?

I use openntpd on archlinux without problem. :scratch:

jhwilliams 11-30-2009 01:23 PM

Hi there,

Can you provide any pertinent lines from /var/log/syslog or /var/log/daemon.log? The various ntp* command line utilities can also be useful. ntptrace for example will return something like the following if you're in business:

Code:

jameson@myntpserver:~$ ntptrace
sage: stratum 2, offset -0.000126, synch distance 0.033226
131.107.13.100: stratum 1, offset 0.000000, synch distance 0.002650, refid 'ACTS'

Have you specified (or are there default) servers in /etc/ntp.conf? For example, I have elected many, nearby:

Code:

server time-nw.nist.gov
server clock1.cat.pdx.edu
server clock2.cat.pdx.edu
server clock3.cat.pdx.edu
server clock4.cat.pdx.edu
server clock5.cat.pdx.edu
server 0.us.pool.ntp.org
server 1.us.pool.ntp.org
server 2.us.pool.ntp.org
server 3.us.pool.ntp.org


AleLinuxBSD 12-01-2009 01:35 AM

I have simply installed these packages.
Before openntpd without any result and after that ntp.
$ cat /etc/ntp.conf
Quote:

server 0.debian.pool.ntp.org iburst dynamic
server 1.debian.pool.ntp.org iburst dynamic
server 2.debian.pool.ntp.org iburst dynamic
server 3.debian.pool.ntp.org iburst dynamic
I haven't /var/syslog or /var/daemon.log.

evo2 12-01-2009 01:38 AM

/var/log/syslog and /var/log/daemon.log

Evo2.

jhwilliams 12-01-2009 02:19 AM

Quote:

Originally Posted by evo2 (Post 3775325)
/var/log/syslog and /var/log/daemon.log

Evo2.

Thanks evo! Embarrassing; must pay more attention. :-) (I've edited my original post as such.)

AleLinuxBSD 12-02-2009 01:46 AM

2 Attachment(s)
# ntptrace
localhost: stratum 3, offset -0.022114, synch distance 0.275562
saguaro.bilink.it: stratum 2, offset 0.001624, synch distance 0.034531
ntp1.inrim.it: stratum 1, offset -0.000007, synch distance 0.000093, refid 'UTCI'

I have attach the two logs obtain using grep ntp.


All times are GMT -5. The time now is 05:44 PM.