rdate problem

Discussion in 'Installation/Configuration' started by nenad, Mar 14, 2006.

  1. nenad

    nenad Member

    Hi,

    I have following problem:

     
  2. nenad

    nenad Member

    solution:

    rdate -s 192.43.244.18

    (192.43.244.18 is time.nist.gov)

    If anyone need this, hardware clock can be synchronised using:

    # Log in as root
    # /sbin/hwclock -r
    # /sbin/hwclock --adjust
    # /sbin/hwclock --systohc

    (source: http://www.troubleshooters.com/linux/settime.htm )
     
  3. falko

    falko Super Moderator Howtoforge Staff

    128.2.136.71 seems to have stopped last week...:(
     
  4. edge

    edge Active Member Moderator

    here is an other one: 207.46.232.189
    (time.windows.com) :D
     
  5. till

    till Super Moderator Staff Member ISPConfig Developer

    One of the few compatible things :)

    Windows time = Linux Time ;)
     
  6. nenad

    nenad Member

    ....
    :) :) :)
     
  7. todvard

    todvard New Member

    use pool.ntp.org, its a pool of time servers, you will get forwarded to different time server on every query
     
  8. benjami

    benjami New Member

    Where I can change the rdate IP server configuration?

    I receceive daily logchek errors: "rdate: couldn't connect", is rdate in some cron job?

    Thanks :)
     
  9. benjami

    benjami New Member

    Solved

    Yes, is a cron job but I've searched in php scripts and not in cron because I don't have seen the first line :eek:

    $ sudo crontab -e

    and edit the first line :rolleyes:

    Sorry!
     
  10. nenad

    nenad Member

    Debian Sarge 3.1

    This is not working:

    Code:
    # servers to check.   (Separate multiple servers with spaces.)
    NTPSERVERS="pool.ntp.org"
    #
    # additional options for ntpdate
    #NTPOPTIONS="-v"
    #NTPOPTIONS="-u"
    
    but this from command line is working:

    Code:
    server201:~# ntpdate -v pool.ntp.org
    28 Jul 07:04:39 ntpdate[27216]: ntpdate 4.2.0a@1:4.2.0a+stable-2-r Fri Aug 26 10:30:13 UTC 2005 (1)
    28 Jul 07:04:40 ntpdate[27216]: adjust time server 209.151.236.226 offset 0.015092 sec
    server201:~#
    
    Any help appreciated
     
  11. falko

    falko Super Moderator Howtoforge Staff

    Did you try
    Code:
    /etc/init.d/ntpdate restart
    ? This checks and corrects the time, if necessary.
     
  12. nenad

    nenad Member

    Last login: Sat Jul 29 00:28:08 2006 from 192.168.123.100
    server201:~# /etc/init.d/ntpdate restart
    Running ntpdate to synchronize clock.
    server201:~# ntpdate
    29 Jul 11:54:42 ntpdate[16487]: no servers can be used, exiting
    server201:~#
     
  13. falko

    falko Super Moderator Howtoforge Staff

    You don't need to run
    Code:
    ntpdate
    after
    Code:
    /etc/init.d/ntpdate restart
    Code:
    /etc/init.d/ntpdate restart
    is sufficient. If it doesn't show an error, it's ok. You can check your time afterwards with
    Code:
    date
     

Share This Page