Red Hat Topics - Setting time with rdate ( SCO x RED HAT )

This is Interesting: Free IT Magazines  
Home > Archive > Red Hat Topics > November 2004 > Setting time with rdate ( SCO x RED HAT )





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Setting time with rdate ( SCO x RED HAT )
Antonio Mano

2004-11-09, 5:45 pm

I have thre machines:
One with SCO Unixware, say machine A
The other two with RED HAT AS, late sy machines B and C

I need to syncronize the time between all those machines. For this Iīm
using the rdate command on machines B and C picking the time from
machine A

Ex:. on machine B : rdate -s A ( itīs ip address )
on machine C : rdate -s A ( itīs ip address )

The problem is that Iīm getting different results on the machines ( B
and C ).
I revised the environment of the machines and itīs looking the same on
both machines.

Can anyone help me to find way iīm getting different results with the
same time server?
Ivan Marsh

2004-11-09, 5:45 pm

On Tue, 09 Nov 2004 08:48:04 -0800, Antonio Mano wrote:

> I have thre machines:
> One with SCO Unixware, say machine A
> The other two with RED HAT AS, late sy machines B and C
>
> I need to syncronize the time between all those machines. For this Iīm
> using the rdate command on machines B and C picking the time from machine
> A
>
> Ex:. on machine B : rdate -s A ( itīs ip address )
> on machine C : rdate -s A ( itīs ip address )
>
> The problem is that Iīm getting different results on the machines ( B and
> C ).
> I revised the environment of the machines and itīs looking the same on
> both machines.
>
> Can anyone help me to find way iīm getting different results with the
> same time server?


What are the different results? Different time, timezones?



--
i.m.
The USA Patriot Act is the most unpatriotic act in American history.

John Thompson

2004-11-09, 5:45 pm

On 2004-11-09, Antonio Mano <antonio.mano@terra.com.br> wrote:

> I have thre machines:
> One with SCO Unixware, say machine A
> The other two with RED HAT AS, late sy machines B and C
>
> I need to syncronize the time between all those machines. For this Iīm
> using the rdate command on machines B and C picking the time from
> machine A
>
> Ex:. on machine B : rdate -s A ( itīs ip address )
> on machine C : rdate -s A ( itīs ip address )
>
> The problem is that Iīm getting different results on the machines ( B
> and C ).
> I revised the environment of the machines and itīs looking the same on
> both machines.
>
> Can anyone help me to find way iīm getting different results with the
> same time server?


Is there a reason you can't use ntp? rdate is a rather brute-force means
of setting the clock.

--

-John (john@os2.dhs.org)
Antonio Mano

2004-11-10, 7:45 am

"Ivan Marsh" <annoyed@you.now> wrote in message news:<pan.2004.11.09.18.03.07.47846@you.now>...
> On Tue, 09 Nov 2004 08:48:04 -0800, Antonio Mano wrote:
>
>
> What are the different results? Different time, timezones?


Different time. In one machine i get the time of the machine A. In the
other, I get the time 2 hour ahead. I think machines B and C are in
different timezones, but this is just a guess, because I already tried
to set all locale variables to the same values and doesnīt work even.
I think I am doing something wrong, but I canīt realise what it is.
Antonio Mano

2004-11-10, 7:45 am

John Thompson <john@starfleet.os2.dhs.org> wrote in message news:<slrncp2e40.9mc.john@starfleet.os2.dhs.org>...
> On 2004-11-09, Antonio Mano <antonio.mano@terra.com.br> wrote:
>
>
> Is there a reason you can't use ntp? rdate is a rather brute-force means
> of setting the clock.


I donīt know ntp. My RH doesnīt appear to have a ntp command. If it
need to access the internet I canīt use it, because the machines are
not connected to the internet.
John Thompson

2004-11-10, 5:45 pm

On 2004-11-10, Antonio Mano <antonio.mano@terra.com.br> wrote:

> John Thompson <john@starfleet.os2.dhs.org> wrote in message news:<slrncp2e40.9mc.john@starfleet.os2.dhs.org>...
[vbcol=seagreen]
> I donīt know ntp. My RH doesnīt appear to have a ntp command. If it
> need to access the internet I canīt use it, because the machines are
> not connected to the internet.


You could still use ntp...

--

-John (john@os2.dhs.org)
Antonio Mano

2004-11-11, 7:45 am

John Thompson <john@starfleet.os2.dhs.org> wrote in message news:<slrncp4ue7.95g.john@starfleet.os2.dhs.org>...
> On 2004-11-10, Antonio Mano <antonio.mano@terra.com.br> wrote:
>
>
>
> You could still use ntp...


Ok. Could you explain to me how do I do this? I donīt know this command...
John Thompson

2004-11-11, 5:45 pm

On 2004-11-11, Antonio Mano <antonio.mano@terra.com.br> wrote:
> John Thompson <john@starfleet.os2.dhs.org> wrote in message news:<slrncp4ue7.95g.john@starfleet.os2.dhs.org>...
>
> Ok. Could you explain to me how do I do this? I donīt know this command...


You set up one of your machines to be the server, and let the other
synchronize with it.

http://ntp.isc.org/bin/view/Support/WebHome

--

-John (john@os2.dhs.org)
Antonio Mano

2004-11-12, 5:45 pm

John Thompson <john@starfleet.os2.dhs.org> wrote in message news:<slrncp77ip.4il.john@starfleet.os2.dhs.org>...
> On 2004-11-11, Antonio Mano <antonio.mano@terra.com.br> wrote:
>
>
> You set up one of your machines to be the server, and let the other
> synchronize with it.
>
> http://ntp.isc.org/bin/view/Support/WebHome


Thank you! I wil install this on the machines, and I think it would
work. Thanks a lot...
Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com