From: George Gallen <ggallen () slackinc ! com>
To: tru64-unix-managers
Subject: rdate vs ntp question
Date: Tue, 27 Feb 2001 22:28:56 +0000 [thread overview]
Message-ID: <98331296008540.tru64-unix-managers.marc@archive.invalid> (raw)
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: multipart/mixed; boundary="------_=_NextPart_001_01C0A10C.B01AF660", Size: 4888 bytes --]
This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.
------_=_NextPart_001_01C0A10C.B01AF660
Content-Type: text/plain;
charset="iso-8859-1"
I have a program (WorldTime) which is running on my W98 PC as a network time
server....
(I'm setting this up as an emergency method to set the time/date on the DU
system if we lose
our internet connection for what ever reason). I'm currently on 3.2c, which
is why this is
even an issue since I can't directly use the date command (y2k issue) or
rather can't use the
date command on one shot. Once we upgrade to a higher release, this won't be
an issue
since we will be able to use the date command manually.
If I run rdate -v I get:
# rdate -v
alpha.slackinc.com: Tue Feb 27 17:21:29 2001
10.10.200.3: Tue Feb 27 17:21:33 2001
Network time is Tue Feb 27 17:21:31 2001
If I run ntp 10.10.200.3 I get:
# ntp 10.10.200.3
recvfrom: Connection refused
# ntp x.x.x.x
x.x.x.x: delay:0.026866 offset:-1.176303 Tue Feb 27 17:22:25 2001
#
I did the second one to the x.x.x.x (a known working ntp server) to see if
the ntp command worked.
What/why would ntp get a refusal, but the rdate gets a response?
Thanks
George
George Gallen
Senior Programmer/Analyst
Accounting/Data Division
ggallen@slackinc.com
ph:856.848.1000 Ext 220
SLACK Incorporated - An innovative information, education and management
company
http://www.slackinc.com
------_=_NextPart_001_01C0A10C.B01AF660
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Diso-8859-1">
<META NAME=3D"Generator" CONTENT=3D"MS Exchange Server version =
5.5.2650.12">
<TITLE>rdate vs ntp question</TITLE>
</HEAD>
<BODY>
<P><FONT SIZE=3D2 FACE=3D"Arial">I have a program (WorldTime) which is =
running on my W98 PC as a network time server....</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">(I'm setting this up as an emergency =
method to set the time/date on the DU system if we lose</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">our internet connection for what ever =
reason). I'm currently on 3.2c, which is why this is</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">even an issue since I can't directly =
use the date command (y2k issue) or rather can't use the</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">date command on one shot. Once we =
upgrade to a higher release, this won't be an issue</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">since we will be able to use the date =
command manually.</FONT>
</P>
<P><FONT SIZE=3D2 FACE=3D"Arial">If I run rdate -v I get:</FONT>
</P>
<P><FONT SIZE=3D2 FACE=3D"Arial"># rdate -v</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">alpha.slackinc.com: Tue Feb 27 =
17:21:29 2001</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">10.10.200.3: Tue Feb 27 17:21:33 =
2001</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">Network time is Tue Feb 27 17:21:31 =
2001 &n=
bsp; </FONT>
</P>
<P><FONT SIZE=3D2 FACE=3D"Arial">If I run ntp 10.10.200.3 I get:</FONT>
</P>
<P><FONT SIZE=3D2 FACE=3D"Arial"># ntp 10.10.200.3</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">recvfrom: Connection refused</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial"># ntp x.x.x.x</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">x.x.x.x: delay:0.026866 =
offset:-1.176303 Tue Feb 27 17:22:25 2001</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial"># </FONT>
</P>
<P><FONT SIZE=3D2 FACE=3D"Arial">I did the second one to the x.x.x.x (a =
known working ntp server) to see if</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">the ntp command worked.</FONT>
</P>
<P><FONT SIZE=3D2 FACE=3D"Arial">What/why would ntp get a refusal, but =
the rdate gets a response?</FONT>
</P>
<P><FONT SIZE=3D2 FACE=3D"Arial">Thanks</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">George</FONT>
</P>
<BR>
<P><B><FONT COLOR=3D"#800000" SIZE=3D2 FACE=3D"Times New Roman">George =
Gallen</FONT></B>
<BR><FONT COLOR=3D"#800000" SIZE=3D2 FACE=3D"Times New Roman">Senior =
Programmer/Analyst</FONT>
<BR><FONT COLOR=3D"#800000" SIZE=3D2 FACE=3D"Times New =
Roman">Accounting/Data Division</FONT>
<BR><FONT COLOR=3D"#800000" SIZE=3D2 FACE=3D"Times New =
Roman">ggallen@slackinc.com</FONT>
<BR><FONT COLOR=3D"#800000" SIZE=3D2 FACE=3D"Times New =
Roman">ph:856.848.1000 Ext 220</FONT>
</P>
<P><B><FONT COLOR=3D"#800000" SIZE=3D2 FACE=3D"Times New Roman">SLACK =
Incorporated</FONT></B><FONT COLOR=3D"#800000" SIZE=3D2 FACE=3D"Times =
New Roman"> -<I> An innovative information, education and management =
company</I></FONT>
<BR><U><FONT COLOR=3D"#0000FF" SIZE=3D2 FACE=3D"Times New Roman"><A =
HREF=3D"http://www.slackinc.com" =
TARGET=3D"_blank">http://www.slackinc.com</A></FONT></U>
</P>
</BODY>
</HTML>
------_=_NextPart_001_01C0A10C.B01AF660--
reply other threads:[~2001-02-27 22:28 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox