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. Spanning web services across multiple servers
    By digitalmouse in forum Linux - Hardware, Networking & Security
    Replies: 9
    Last Post: 04-10-2006, 01:36 AM
  2. alternative topology for SharePoint Portal Server
    By regix in forum Windows - General Topics
    Replies: 0
    Last Post: 01-01-2005, 08:21 PM
  3. Live Communications Server 2005 Glossary
    By regix in forum Windows - General Topics
    Replies: 0
    Last Post: 01-01-2005, 08:16 PM
  4. How to specify DNS servers?
    By Epsilon in forum Windows - General Topics
    Replies: 5
    Last Post: 12-21-2004, 02:01 PM
  5. Good IRC servers ?
    By Compunuts in forum Linux - Hardware, Networking & Security
    Replies: 9
    Last Post: 01-17-2004, 03:31 PM

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
  •