Results 1 to 6 of 6

Thread: ntpd syching with other servers

  1. #1
    Senior Member
    Join Date
    Apr 2002
    Posts
    417

    ntpd syching with other servers

    Hi,

    I started ntpd and it seems synchronize with stratum 1 servers at startup. but, I don't see any synching in my logs after that. How can you schedule sychronizing.

    I thought you could use ntpdate but, that complains that ntpd is already in use....

    5 May 12:06:39 ntpdate[1872]: the NTP socket is in use, exiting

  2. #2

    Re:ntpd syching with other servers

    ntpd is a daemon; it stays running in the background...

  3. #3
    Senior Member
    Join Date
    Apr 2002
    Posts
    417

    Re:ntpd syching with other servers

    I'd figure that it would send something to the logs every time it tried to sync with other ntp servers. I don't see that. I'm just looking for confirmation that it is getting updated by it's stratum 1 server.


  4. #4
    Moderator
    Good Guru
    Compunuts's Avatar
    Join Date
    May 2001
    Location
    California
    Posts
    3,935

    Re:ntpd syching with other servers

    [quote author=Blaqb0x link=board=4;threadid=9156;start=0#msg82809 date=1083862293]
    I'd figure that it would send something to the logs every time it tried to sync with other ntp servers.
    [/quote]
    I dont' run ntpd so I'm not exactly sure but if it were to log every activity of it, you will have loads of logs.

  5. #5

    Re:ntpd syching with other servers

    I'm running xntpd.....but it may be applicable in your case, if you run ntpq -p it will shouw you the peers and if you see the * in fron of one of them then it means that it is being synched with this server, should give you the indication.......
    If memory serves me with xntps you can also specify the location of the log file in xntpd.conf.....just can't give you the specifics, I'm not at work now.....
    Cheers.

  6. #6

    Re:ntpd syching with other servers

    I have a shell script that runs as a root cron-job.

    #! /bin/sh

    /usr/sbin/ntpdate -u -b -s url-of-timeserver > /dev/null

    /sbin/hwclock --systohc > /dev/null

    exit 0


    Hope this helps. It shows up in /var/log/messages.

Similar Threads

  1. How to specify DNS servers?
    By Epsilon in forum Windows - General Topics
    Replies: 5
    Last Post: 12-21-2004, 03:01 PM
  2. Looking for free DNS servers
    By Compunuts in forum Linux - Hardware, Networking & Security
    Replies: 2
    Last Post: 11-20-2003, 07:46 AM
  3. irc servers
    By TeRG in forum Linux - Hardware, Networking & Security
    Replies: 2
    Last Post: 11-09-2003, 12:58 AM
  4. giFT servers
    By mojo jojo in forum Linux - Software, Applications & Programming
    Replies: 13
    Last Post: 09-01-2003, 11:29 PM
  5. ftp servers
    By kornp in forum Linux - Hardware, Networking & Security
    Replies: 13
    Last Post: 05-12-2002, 04:49 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •