* Arun K. Khan <[EMAIL PROTECTED]> [2006-06-28 19:37:42 +0530]:

>On Wed, 2006-06-28 at 15:41 +0100, Ajitabh Pandey wrote:
>
>> Revisited my ntp configuration file and found, hell lot of problems there. 
>> Fixed those, restarted ntpd and all was well within a minute. 
>
>Can you share with us what were the problems with your ntp.conf? So that
>we can all learn from your mistakes :)

Sorry for late reply, but here ae my configs:

My config file which did not work was as follows:

<ntp_config_1>
server  127.127.1.0     # local clock
fudge   127.127.1.0 stratum 3   

server uk.pool.ntp.org prefer
server uk.pool.ntp.org
server us.pool.ntp.org
server pool.ntp.org
driftfile /etc/ntp/drift
multicastclient                 # listen on default 224.0.1.1
broadcastdelay  0.008
logfile /var/log/ntp.log
restrict 127.0.0.1
</ntp_config_1>

The config file which worked was as follows:

<ntp_config_working>
server 127.127.1.0
fudge 127.127.1.0 stratum 10

server uk.pool.ntp.org prefer iburst
server europe.pool.ntp.org iburst
server 0.pool.ntp.org iburst
server 1.pool.ntp.org iburst
server 2.pool.ntp.org iburst
server pool.ntp.org iburst

driftfile /var/lib/ntp/ntp.drift

logfile /var/log/ntp/ntpd.log
statsdir /var/log/ntp/ntpstats/

statistics loopstats peerstats clockstats
filegen loopstats file loopstats type day enable
filegen peerstats file peerstats type day enable
filegen clockstats file clockstats type day enable
restrict default kod notrap nomodify nopeer noquery
restrict 127.0.0.1 nomodify/ntp_config_working
</ntp_config_working>

There are lots of extra lines in the second working configuration which I have 
put later on. The problem in my opinion with the configuration which did not 
work was the line "multicastclient" when I dont have a multicast server on the 
network. The line "multicastclient" was not letting the synchronisation with 
the servers to happen as none of them is a multicast server.

Any comments are welcome.

Regards.
-- 
Ajitabh Pandey
http://www.ajitabhpandey.info/
ICQ - 150615062
Registered Linux User - 240748
GnuPG Key ID - C2AED210
Key fingerprint = 8A56 0684 44C2 3373 D441  20AF 7398 4DEB C2AE D210
-----------------------------------
"Yeah, but you're taking the universe out of context."

Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
linux-india-help mailing list
linux-india-help@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-india-help

Reply via email to