LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 10-13-2004, 09:59 AM   #1
ricky_ds
Member
 
Registered: Aug 2004
Location: Bern, Switzerland
Distribution: Kubuntu, FC, RHEL
Posts: 48
Blog Entries: 2

Rep: Reputation: 17
ntp synchronization problems


Hello all,

I'm running Fedora Core 2 and trying to get ntp working.

Code:
# /etc/init.d/ntpd restart
ntpd: Geöffnete Firewall für 194.42.48.120 port 123 entfe[  OK  ]
ntpd: Geöffnete Firewall für clock.tix.ch port 123 entfer[  OK  ]
ntpd herunterfahren:                                       [  OK  ]
ntpd: Firewall öffnen für Eingabe vom 194.42.48.120 port [  OK  ]
ntpd: Firewall öffnen für Eingabe vom clock.tix.ch port 1[  OK  ]
ntpd: Mit Zeit-Server synchronisieren:                     [FEHLGESCHLAGEN]
ntpd starten:                                              [  OK  ]
Everything is working ok, except the synchronization.

Yes, I am behind a firewall and as you can see from the above output, it automatically gets deactivated for this action. I made sure that the firewall is not in cause by totally deactivating it and I still had the same problem.

Then I made a tcpdump in order to see what's going on on this level:

Code:
# tcpdump -v -ni eth0 port 123
tcpdump: listening on eth0, link-type EN10MB (Ethernet), capture size 96 bytes
16:52:38.065482 IP (tos 0x0, ttl  64, id 0, offset 0, flags [DF], proto 17, length: 76) 10.218.226.11.ntp > 194.42.48.120.ntp: NTPv4, length 48
        Client, Leap indicator: clock unsynchronized (192), Stratum 0, poll 4s, precision -6
        Root Delay: 1.000000, Root dispersion: 1.000000, Reference-ID: (unspec)
          Reference Timestamp:  0.000000000
          Originator Timestamp: 0.000000000
          Receive Timestamp:    0.000000000
          Transmit Timestamp:   3306667958.065328001 (2004/10/13 16:52:38)
            Originator - Receive Timestamp:  0.000000000
            Originator - Transmit Timestamp: 3306667958.065328001 (2004/10/13 16:52:38)
There are several occurences of this kind of output, but then again, I don't know too much about ntp and have no idea how I could interpret them.

Any insights very much appreciated.

Greetings

ricky_ds
 
Old 10-13-2004, 10:22 AM   #2
scowles
Member
 
Registered: Sep 2004
Location: Texas, USA
Distribution: Fedora
Posts: 620

Rep: Reputation: 31
1) Do you ever see a reply packet coming back during the tcpdump?

2) I had to add/change "authenticate no" to /etc/ntp.conf to get my ntp server to sync with the straum 1 servers I use.
 
  


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
NTP synchronization, slewing for large period of time ? trubi Solaris / OpenSolaris 1 10-18-2004 05:26 AM
email synchronization (not file synchronization) Moebius Linux - Software 6 10-05-2004 05:31 AM
ntp problems.... robmcw Solaris / OpenSolaris 1 04-07-2003 10:29 AM
NTP sync problems rbutler Linux - Newbie 0 01-17-2003 01:51 PM
NTP problems markus1982 Linux - General 1 11-23-2002 12:46 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 10:01 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