I just setup CENTOS 4.7 with latest patches on DELL server. I also configured NTP point to out time server. I found /var/log/messages file every 20 to 30 minutes will generate a error message : Mar 15 14:28:15 SER1 ntpd[25037]: sendto(172.29.21.16): Invalid argument Mar 15 14:45:22 SER1 ntpd[25037]: sendto(172.29.21.16): Invalid argument Mar 15 15:02:29 SER1 ntpd[25037]: sendto(172.29.21.16): Invalid argument Any one know whar wring it is? Thanks ______________________________________________________________________________________________________ ?????????Yahoo!??????2.0????????????? http://tw.mg0.mail.yahoo.com/dc/landing
mcclnx mcc wrote:> I just setup CENTOS 4.7 with latest patches on DELL server. I also configured NTP point to out time server. I found /var/log/messages file every 20 to 30 minutes will generate a error message : > > Mar 15 14:28:15 SER1 ntpd[25037]: sendto(172.29.21.16): Invalid argument > Mar 15 14:45:22 SER1 ntpd[25037]: sendto(172.29.21.16): Invalid argument > Mar 15 15:02:29 SER1 ntpd[25037]: sendto(172.29.21.16): Invalid argument >I'd take a look at /etc/ntpd.conf as it sounds like something is setup wrong in there. is that IP your NTP server? .
On Sunday 15 March 2009 16:22, mcclnx mcc wrote:> I just setup CENTOS 4.7 with latest patches on DELL server. I also > configured NTP point to out time server. I found /var/log/messages file > every 20 to 30 minutes will generate a error message : > > Mar 15 14:28:15 SER1 ntpd[25037]: sendto(172.29.21.16): Invalid argument > Mar 15 14:45:22 SER1 ntpd[25037]: sendto(172.29.21.16): Invalid argument > Mar 15 15:02:29 SER1 ntpd[25037]: sendto(172.29.21.16): Invalid argument > > Any one know whar wring it is?Any firewalls setup? Is port 123 open? -- Regards Robert Linux User #296285 http://counter.li.org
Filipe Brandenburger
2009-Mar-15 23:30 UTC
[CentOS] NTP error message on /var/log/messages
Hi, 2009/3/15 mcclnx mcc <mcclnx at yahoo.com.tw>:> I just setup CENTOS 4.7 with latest patches on DELL server. > ?I also configured NTP point to out time server. ?I found > /var/log/messages file every 20 to 30 minutes will generate > a error message : > Mar 15 14:28:15 SER1 ntpd[25037]: sendto(172.29.21.16): Invalid argumentI saw this once when I changed a machine's IP but did not restart the NTP service. The daemon was still trying to send/receive packets using the old IP. After restarting NTP (service ntpd restart) the problem was fixed. Make sure you also check that NTP is properly synchronizing the clocks with the "ntpq -p" command. HTH, Filipe
Thanks. You are right. I did NOT reboot after change Ip address. It is correct now. --- 09/3/15 (?)?Filipe Brandenburger <filbranden at gmail.com> ???> ???: Filipe Brandenburger <filbranden at gmail.com> > ??: Re: [CentOS] NTP error message on /var/log/messages > ???: "CentOS mailing list" <centos at centos.org> > ??: 2009 3 15 ? ?? 7:30 > Hi, > > 2009/3/15 mcclnx mcc <mcclnx at yahoo.com.tw>: > > I just setup CENTOS 4.7 with latest patches on DELL > server. > > ? also configured NTP point to out time server. ? > found > > /var/log/messages file every 20 to 30 minutes will > generate > > a error message : > > Mar 15 14:28:15 SER1 ntpd[25037]: > sendto(172.29.21.16): Invalid argument > > I saw this once when I changed a machine's IP but did not > restart the > NTP service. The daemon was still trying to send/receive > packets using > the old IP. After restarting NTP (service ntpd restart) the > problem > was fixed. > > Make sure you also check that NTP is properly synchronizing > the clocks > with the "ntpq -p" command. > > HTH, > Filipe > _______________________________________________ > CentOS mailing list > CentOS at centos.org > http://lists.centos.org/mailman/listinfo/centos >______________________________________________________________________________________________________ ?????????Yahoo!??????2.0????????????? http://tw.mg0.mail.yahoo.com/dc/landing
> Mar 15 14:28:15 SER1 ntpd[25037]: sendto(172.29.21.16): Invalid argument > Mar 15 14:45:22 SER1 ntpd[25037]: sendto(172.29.21.16): Invalid argument > Mar 15 15:02:29 SER1 ntpd[25037]: sendto(172.29.21.16): Invalid argumenti remember (or think so) i had this some time ago on one of my machines. it turned out that 2 ntpd were running. if so, kill the "bad" one. best regards, markus