Re: Mystry of ntpdate

From: Roberto Quiroga (noswen_at_example.net)
Date: 01/22/04


Date: Thu, 22 Jan 2004 10:40:52 -0300

RC <raymond.chui@noaa.gov> escribió:

> I have two Redhat Linux 7.2 sit next to each other.
> When I issued the command by root
>
> /usr/sbin/ntpdate ntp2.usno.navy.mil
>
> One machine I got
>
> 20 Jan 13:54:01 ntpdate[19985]: step time server 192.5.41.209 offset
> 0.992795 sec
>
> That's great!! But other machine I got
>
> 20 Jan 13:48:36 ntpdate[23867]: no server suitable for synchronization found

Try ntpdate -u ntp2.usno.navy.mil

       -u Direct ntpdate to use an unprivileged port or outgoing
              packets. This is most useful when behind a firewall
              that blocks incoming traffic to privileged ports, and
              you want to synchronise with hosts beyond the firewall.
              Note that the -d option always uses unprivileged ports.

-- 
Roberto Quiroga


Relevant Pages

  • Re: Mystry of ntpdate
    ... RC escribió: ... > When I issued the command by root ... Roberto Quiroga ...
    (comp.unix.questions)
  • Re: System-users and-groups?
    ... bin shouldn't do so much. ... was root and bin... ... Although the daemon user/group are ... as that user runs that command. ...
    (alt.linux)
  • RE: remote ssh for root
    ... forced-commands-only option set, you have to have the command option set. ... execution as root. ... > This message contains confidential information and is ...
    (SSH)
  • Re: grub menu oddity
    ... >>> command (until the manual root command was executed). ... >>> When I first encountered this behavior, it took several reboots for me to ... FWIW - a new CMOS battery is only $3-5 at your local Shaque du Radio ...
    (comp.os.linux.setup)
  • Re: [PHP] strange errors from command line vs. web
    ... standard php. ... > can't run the script from the command line even when I su to root. ... >>> I have some code that makes a connection to the db. ...
    (php.general)