LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 11-30-2009, 12:14 PM   #1
AleLinuxBSD
Member
 
Registered: May 2006
Location: Italy
Distribution: Ubuntu, ArchLinux, Debian, SL, OpenBSD
Posts: 274

Rep: Reputation: 42
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.
 
Old 11-30-2009, 01:23 PM   #2
jhwilliams
Senior Member
 
Registered: Apr 2007
Location: Portland, OR
Distribution: Debian, Android, LFS
Posts: 1,168

Rep: Reputation: 211Reputation: 211Reputation: 211
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

Last edited by jhwilliams; 12-01-2009 at 02:19 AM.
 
Old 12-01-2009, 01:35 AM   #3
AleLinuxBSD
Member
 
Registered: May 2006
Location: Italy
Distribution: Ubuntu, ArchLinux, Debian, SL, OpenBSD
Posts: 274

Original Poster
Rep: Reputation: 42
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.
 
Old 12-01-2009, 01:38 AM   #4
evo2
LQ Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and CentOS
Posts: 6,724

Rep: Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705
/var/log/syslog and /var/log/daemon.log

Evo2.
 
Old 12-01-2009, 02:19 AM   #5
jhwilliams
Senior Member
 
Registered: Apr 2007
Location: Portland, OR
Distribution: Debian, Android, LFS
Posts: 1,168

Rep: Reputation: 211Reputation: 211Reputation: 211
Quote:
Originally Posted by evo2 View Post
/var/log/syslog and /var/log/daemon.log

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

Last edited by jhwilliams; 12-01-2009 at 02:20 AM.
 
Old 12-02-2009, 01:46 AM   #6
AleLinuxBSD
Member
 
Registered: May 2006
Location: Italy
Distribution: Ubuntu, ArchLinux, Debian, SL, OpenBSD
Posts: 274

Original Poster
Rep: Reputation: 42
# 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.
Attached Files
File Type: txt syslog_ntp.txt (18.5 KB, 11 views)
File Type: txt daemon_ntp.txt (18.0 KB, 5 views)
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
does Debian Lenny/sid support Debian Sarge Binary Installer..? @nthoon Debian 1 06-14-2009 10:47 AM
LXer: How To Upgrade A Debian Etch System (Server & Desktop) To Debian Lenny LXer Syndicated Linux News 0 02-20-2009 04:30 PM
LXer: The Perfect Server - Debian Lenny (Debian 5.0) [ISPConfig 2] LXer Syndicated Linux News 0 02-19-2009 11:00 AM
Synchronize passwd and shadow for multiple debian servers richinsc Debian 2 03-18-2008 11:17 PM
OpenNTPD noir911 *BSD 3 03-04-2006 04:20 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 10:59 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration