<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Sorry for my late comment response.<br>
<br>
What distribution are you using? The reason I ask is that lets say
you are using CentOS 7, CentOS 7 uses Chrony
(<a class="moz-txt-link-freetext" href="http://chrony.tuxfamily.org/">http://chrony.tuxfamily.org/</a>) for its ntp service (installed and
running by default) and ntpd will have all sorts of problems unless
you remove Chrony first.<br>
<br>
Gilbert<br>
<br>
<div class="moz-cite-prefix">On 9/9/2015 7:21 AM, James Mcphee
wrote:<br>
</div>
<blockquote
cite="mid:CA+scvgDif5EGDbHywVYS_P5LfUipbnmw-tSMtGnq2w7Q+db5Dg@mail.gmail.com"
type="cite">
<div dir="ltr">What I'd do is ntpdate -bu <time server> to
force the time, then do an ntpd start and check messages to see
if it complains about anything, check process list to see if it
started, and do an ntpq -c opeers after 15 minutes to see what
it thinks about life. You seem to have an ntpd.log, so maybe
that has some info.</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">On Tue, Sep 8, 2015 at 7:50 PM, Tejeev
Patel <span dir="ltr"><<a moz-do-not-send="true"
href="mailto:tejeevpatel@gmail.com" target="_blank">tejeevpatel@gmail.com</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">So I'm thinking there has to be some sort of
concurrent startup runlevel issue. Not really sure how to
adjust this, but do you see any place in that init script
that could cause this or something left out of the
dependencies or something? Here's the first bit of the
init.d again:<span class=""><br>
### BEGIN INIT INFO<br>
# Provides: ntp<br>
# Required-Start: $network $remote_fs $syslog<br>
# Required-Stop: $network $remote_fs $syslog<br>
# Default-Start: 2 3 4 5<br>
# Default-Stop: <br>
# Short-Description: Start NTP daemon<br>
### END INIT INFO<br>
<br>
</span></div>
<div class="HOEnZb">
<div class="h5">
<div class="gmail_extra"><br>
<div class="gmail_quote">On Tue, Sep 8, 2015 at 7:23
PM, Tejeev Patel <span dir="ltr"><<a
moz-do-not-send="true"
href="mailto:tejeevpatel@gmail.com"
target="_blank"><a class="moz-txt-link-abbreviated" href="mailto:tejeevpatel@gmail.com">tejeevpatel@gmail.com</a></a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">
<div class="gmail_extra">
<div class="gmail_quote">
<div>Hi all,<br>
</div>
<div>Thanks for your replies James and
Hans. I've included some responses in the
bellow email:<br>
</div>
<div> </div>
<blockquote class="gmail_quote"
style="margin:0px 0px 0px
0.8ex;border-left:1px solid
rgb(204,204,204);padding-left:1ex">
moin moin TJ,<br>
<br>
what James said in regards to debugging
ntp :).<br>
</blockquote>
<div><font color="#3d85c6">Ill check on
these step tickers, but my understanding
was that the -g option should take care
of that. Can I put in sdout's in the
init script to log when stuff is being
done so i can maybe trace where it
quits? Any recommendations on where to
put them in or how to do some debugging
here?<br>
<br>
</font></div>
<blockquote class="gmail_quote"
style="margin:0px 0px 0px
0.8ex;border-left:1px solid
rgb(204,204,204);padding-left:1ex">
<br>
Here are some other things to check.<br>
<br>
Is there some ntp process already running?<br>
<br>
ps auxw | grep ntp<br>
<br>
</blockquote>
<div><font color="#ff0000"><span
style="color:rgb(61,133,198)">No NTP
process already running.</span><br>
</font> <br>
</div>
<blockquote class="gmail_quote"
style="margin:0px 0px 0px
0.8ex;border-left:1px solid
rgb(204,204,204);padding-left:1ex">
Is there a config file in /etc/default/
that has an entry to not start<br>
ntp?<br>
<span style="color:rgb(11,83,148)"><br>
</span></blockquote>
<div><span style="color:rgb(61,133,198)">Only
see an ntpdate config that basically
says to look at the server list in
ntp.conf rather than it's own and a ntp
config that includes the option -g that
I was originally looking to include
here.<br>
</span><br>
</div>
<blockquote class="gmail_quote"
style="margin:0px 0px 0px
0.8ex;border-left:1px solid
rgb(204,204,204);padding-left:1ex">
Is ntpdate installed and configured to
prevent ntpd from starting?<br>
<span style="color:rgb(61,133,198)"><br>
</span></blockquote>
<div><span style="color:rgb(61,133,198)">ntpdate
is apparently installed </span><br>
<br>
</div>
<blockquote class="gmail_quote"
style="margin:0px 0px 0px
0.8ex;border-left:1px solid
rgb(204,204,204);padding-left:1ex">
As James mentioned, ntp will refuse to
change the time if it's off too<br>
much. Check to see if the systems are
within a couple of minutes of the<br>
actual time.<br>
<br>
</blockquote>
<div><span style="color:rgb(61,133,198)">ntp
will quit if the time is off by 1000 s
or more but the -g option should
override that.</span><br>
<div style="margin-left:40px"> <span
style="color:rgb(61,133,198)">( -g
Normally, ntpd exits with a message to
the system log if the offset exceeds
the panic threshold, which is 1000 s
by default. This option allows the
time to be set to any value without
restriction; however, this can happen
only once. If the threshold is
exceeded after that, ntpd will exit
with a message to the system log. This
option can be used with the -q and -x
options.)</span><br>
</div>
<div style="margin-left:40px"><span
style="color:rgb(61,133,198)"></span></div>
<span style="color:rgb(61,133,198)"><br>
</span></div>
<blockquote class="gmail_quote"
style="margin:0px 0px 0px
0.8ex;border-left:1px solid
rgb(204,204,204);padding-left:1ex">
Verify your hardware clock is set to UTC.<br>
<br>
Make sure your OS is set at the proper
offset from UTC, e.g. you're set to<br>
now and AZ time zone, rather than now and
eastern time zone.<br>
<br>
If the boxen are servers they should be
set to UTC. Star date blah, blah,<br>
blah and all that.<br>
</blockquote>
<div><span style="color:rgb(61,133,198)">Both
hardware and software are set to UTC on
our servers.</span><br>
<br>
</div>
<blockquote class="gmail_quote"
style="margin:0px 0px 0px
0.8ex;border-left:1px solid
rgb(204,204,204);padding-left:1ex">
<br>
cioa,<br>
<br>
der.hans<br>
</blockquote>
<div><br>
</div>
</div>
</div>
</div>
</blockquote>
</div>
<br>
</div>
</div>
</div>
<br>
---------------------------------------------------<br>
PLUG-discuss mailing list - <a moz-do-not-send="true"
href="mailto:PLUG-discuss@lists.phxlinux.org">PLUG-discuss@lists.phxlinux.org</a><br>
To subscribe, unsubscribe, or to change your mail settings:<br>
<a moz-do-not-send="true"
href="http://lists.phxlinux.org/mailman/listinfo/plug-discuss"
rel="noreferrer" target="_blank">http://lists.phxlinux.org/mailman/listinfo/plug-discuss</a><br>
</blockquote>
</div>
<br>
<br clear="all">
<div><br>
</div>
-- <br>
<div class="gmail_signature">James McPhee<br>
<a moz-do-not-send="true" href="mailto:jmcphe@gmail.com"
target="_blank">jmcphe@gmail.com</a></div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">---------------------------------------------------
PLUG-discuss mailing list - <a class="moz-txt-link-abbreviated" href="mailto:PLUG-discuss@lists.phxlinux.org">PLUG-discuss@lists.phxlinux.org</a>
To subscribe, unsubscribe, or to change your mail settings:
<a class="moz-txt-link-freetext" href="http://lists.phxlinux.org/mailman/listinfo/plug-discuss">http://lists.phxlinux.org/mailman/listinfo/plug-discuss</a></pre>
</blockquote>
<br>
</body>
</html>