02.08.2011 19:26, Danny Mayer ?????:
On 7/29/2011 9:47 AM, Valera wrote:
Hello.

I have some issues with ntp-4.2.6p3 package which was downloaded from
www.ntp.org
I did all build stages such as: ./configure and make. After that I tried
to execute obtained ntpd binary file with arguments "-p
/var/run/ntpd.pid -g". Full execution string is: sudo
~/ntp-4.2.6p3/ntpd/ntpd -p /var/run/ntpd.pid -g
The ntpd binary file related to my ubuntu 11.04 reliase works and
syncronizes time with default ubuntu time servers fine. But ntpd from
ntp-4.2.6p3 works without any visible issues but didn't syncronize local
time with time servers.
Both servers were executed with the same argument strings and the same
configureation files. I think that this issue may be related to
configuration(in config.h for example) but can't find the place.

Best wishes.
I installed a prebuilt ntp package on ubuntu last week using apt-get. It
gave me 4.2.6p2. Do you know what you got?

I got the same version.
I did have to fix the ntp.conf file because they did not use any iburst
lines and I did change it to use the pool option rather than server
option to fetch a number of addresses to use. Are you using the ubuntu
configuration unchanged?

Yes I'm using ntp.conf without any changes.What I should change in my's configuration file?
Did you run ntpq -p to see what if anything you are getting for servers?
Can you post it here?


   vvs@sigaev:~$ ~/work/ntp-4.2.6p3/ntpq/ntpq -p
remote refid st t when poll reach delay offset jitter
   
==============================================================================
-c53n253.polustr 131.188.3.220 2 u 3 64 377 4.825 273.376 1.615 +mail.bisel.ru 62.149.0.30 2 u 65 64 377 9.834 315.948 1.293 -webhost.mitht.r 81.95.131.130 3 u 3 64 377 12.084 302.347 0.312 *194.190.16.51 62.117.76.138 2 u 66 64 377 12.631 315.785 0.446 +europium.canoni 193.79.237.14 2 u 11 64 377 47.618 309.748 5.935
   vvs@sigaev:~$
   vvs@sigaev:~$ ~/work/ntp-4.2.6p3/sntp/sntp 194.190.16.51
     2 Aug 19:59:25 sntp[18295]: Started sntp
   2011-08-02 19:59:25.052161 (-0300) +0.315752 +/- 0.018951 secs


Btw: After that I downloaded development version 4.2.7... and this version also synchronizes pc fine.
Danny

_______________________________________________
questions mailing list
[email protected]
http://lists.ntp.org/listinfo/questions

Reply via email to