[7.850][BUG][OPEN] ntp server configuration

Hello Friends !

i am TRYING to setup a NTP server (never done this before ,if makeing some mistake please please correct me )

2009:12:22-10:32:01 acenn /usr/sbin/cron[18156]: (root) CMD ( nice -n19 /usr/local/bin/gen_inline_reporting_data.plx)
2009:12:22-10:34:47 acenn ntpd[17783]: sendto(192.43.244.18) (fd=23): Invalid argument
2009:12:22-10:35:01 acenn /usr/sbin/cron[18553]: (root) CMD ( /usr/local/bin/reportcontrol.sh)
2009:12:22-10:35:02 acenn postgres[18564]: [2-1] ERROR: invalid input syntax for type inet: ""Dec 22 10:35:02 postgres[18564]: [2-2] STATEMENT: select ins_pfilter($1, $2, $3, $4, $5)
2009:12:22-10:35:50 acenn ntpd[17783]: sendto(192.43.244.18) (fd=23): 

Invalid argument 

i have chage ntp server time.nist.gov as windows xp can understand that and added that server in ntp server  and was able to resolve in astaro ntp server (192.43.244.18)

thanks
Parents Reply Children
  • yes i test that 

    Test successful. Reported offsets:
    192.43.244.18  35ms

    thanks
  • Can you restart the ntpd via WebAdmin and post the complete startup sequence?

    Here it looks like this:
    2009:12:22-09:51:50 v8 ntpd[16691]: ntpd 4.2.4p6@1.1549-o Tue Jun  2 15:31:50 UTC 2009 (1)
    2009:12:22-09:51:50 v8 ntpd[16692]: precision = 1.000 usec
    2009:12:22-09:51:50 v8 ntpd[16692]: ntp_io: estimated max descriptors: 1024, initial socket boundary: 16
    2009:12:22-09:51:50 v8 ntpd[16692]: Listening on interface #0 wildcard, 0.0.0.0#123 Disabled
    2009:12:22-09:51:50 v8 ntpd[16692]: Listening on interface #1 wildcard, ::#123 Disabled
    2009:12:22-09:51:50 v8 ntpd[16692]: Listening on interface #2 br0, fe80::210:f3ff:fe14[:D]bc1#123 Enabled
    2009:12:22-09:51:50 v8 ntpd[16692]: Listening on interface #3 br0, 2a01:198:128::4#123 Enabled
    2009:12:22-09:51:50 v8 ntpd[16692]: Listening on interface #4 lo, ::1#123 Enabled
    2009:12:22-09:51:50 v8 ntpd[16692]: Listening on interface #5 aiccu, 2a01:198:101:5::2#123 Enabled
    2009:12:22-09:51:50 v8 ntpd[16692]: Listening on interface #6 eth3, fe80::210:f5ff:fe14[:D]aa3#123 Enabled
    2009:12:22-09:51:50 v8 ntpd[16692]: Listening on interface #7 eth2, fe80::210:f3ff:fe14:aabb#123 Enabled
    2009:12:22-09:51:50 v8 ntpd[16692]: Listening on interface #8 aiccu, fe80::98:200:51c:2#123 Enabled
    2009:12:22-09:51:50 v8 ntpd[16692]: Listening on interface #9 lo, 127.0.0.1#123 Enabled
    2009:12:22-09:51:50 v8 ntpd[16692]: Listening on interface #10 eth0, 192.168.0.1#123 Enabled
    2009:12:22-09:51:50 v8 ntpd[16692]: Listening on interface #11 br0, 10.254.23.100#123 Enabled
    2009:12:22-09:51:50 v8 ntpd[16692]: kernel time sync status 0040
    2009:12:22-09:51:50 v8 ntpd[16692]: frequency initialized 88.377 PPM from /var/ntp.drift
    2009:12:22-09:52:00 v8 ntpd[16692]: synchronized to 192.43.244.18, stratum 1
    2009:12:22-09:52:00 v8 ntpd[16692]: kernel time sync status change 0001

    Can you provide me a login to the machine?

    Thank you.
    Regards,
    Daniel
  • ntpd[4922]: ntpd 4.2.4p8@1.1612 Fri Dec 11 15:49:08 UTC 2009 (1)
    2009:12:22-11:58:09 (none) ntpd[4923]: precision = 1.000 usec
    2009:12:22-11:58:09 (none) ntpd[4923]: ntp_io: estimated max descriptors: 1024, initial socket boundary: 16
    2009:12:22-11:58:09 (none) ntpd[4923]: Listening on interface #0 wildcard, 0.0.0.0#123 Disabled
    2009:12:22-11:58:09 (none) ntpd[4923]: Listening on interface #1 wildcard, ::#123 Disabled
    2009:12:22-11:58:09 (none) ntpd[4923]: Listening on interface #2 lo, ::1#123 Enabled
    2009:12:22-11:58:09 (none) ntpd[4923]: Listening on interface #3 lo, 127.0.0.1#123 Enabled
    2009:12:22-11:58:09 (none) ntpd[4923]: Listening on interface #4 eth0, 192.168.2.100#123 Enabled
    2009:12:22-11:58:09 (none) ntpd[4923]: Listening on interface #5 eth0, 192.168.1.15#123 Enabled
    2009:12:22-11:58:09 (none) ntpd[4923]: Listening on interface #6 eth0, 192.168.1.10#123 Enabled
    2009:12:22-11:58:09 (none) ntpd[4923]: Listening on interface #7 eth1, 121.SSx.***.1X#123 Enabled
    2009:12:22-11:58:09 (none) ntpd[4923]: kernel time sync status 0040
    2009:12:22-11:58:09 (none) ntpd[4923]: frequency initialized 27.997 PPM from /var/ntp.drift
    2009:12:22-11:58:10 (none) ntpd[4923]: Listening on interface #8 tun0, 10.242.2.1#123 Enabled
    2009:12:22-11:58:10 (none) ntpd[4923]: new interface(s) found: waking up resolver
    2009:12:22-11:58:13 (none) ulogd[3842]: SIGHUP received
    2009:12:22-11:58:13 (none) syslog-ng[3174]: Termination requested via signal, terminating;

    Working 


    see this is again 1 example after configuration 

    it work after hours
    is it working as expected ?
    thanks

    and sorry