[Bug 486477] New: ntp configuration test fails
https://bugzilla.novell.com/show_bug.cgi?id=486477 Summary: ntp configuration test fails Classification: openSUSE Product: openSUSE 11.1 Version: Final Platform: x86 OS/Version: openSUSE 11.1 Status: NEW Severity: Normal Priority: P5 - None Component: YaST2 AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: poolbarde@web.de QAContact: jsrain@novell.com Found By: --- Created an attachment (id=280343) --> (https://bugzilla.novell.com/attachment.cgi?id=280343) yast2 log User-Agent: Mozilla/5.0 (X11; U; Linux i686; de; rv:1.9.0.7) Gecko/2009022800 SUSE/3.0.7-1.1.6 Firefox/3.0.7 I tried to add our ntp server via NTP configuration tool of YaST2. When clicking on 'test' button i see error message: Der Server ist entweder nicht erreichbar oder antwortet nicht korrekt. Free translation from german: The server is either not reachable or not responsing. Anyhow if i click on 'ok' button then highlight the just entered server, click on 'show log' and choose 'save settings and restart ntp deamon', it looks like ntp is working. Reproducible: Always Steps to Reproduce: 1.add new ntp server via YaST2 configruation tool 2.click on 'test' button. 3. Actual Results: Error message: Der Server ist entweder nicht erreichbar oder antwortet nicht korrekt. Free translation from german: The server is either not reachable or not responsing. Expected Results: Just works. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=486477 User mvidner@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=486477#c1 Martin Vidner <mvidner@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P5 - None |P3 - Medium Status|NEW |ASSIGNED CC| |varkoly@novell.com AssignedTo|bnc-team-screening@forge.pr |mvidner@novell.com |ovo.novell.com | Summary|ntp configuration test |[yast2-ntp-client] |fails |configuration test fails --- Comment #1 from Martin Vidner <mvidner@novell.com> 2009-03-18 10:22:33 MST --- Strange... from the logs: 2009-03-18 13:07:00 <1> karclt0024(3796) [YCP] NtpClient.ycp:918 Testing reachability of server beaadc01.barco.com sntp: unable to format clock correction sntp: Success sntp: getaddrinfo(hostname, ntp) failed with Name or service not known 2009-03-18 13:07:00 <3> karclt0024(3796) [YCP] Report.ycp:472 Der Server ist entweder nicht erreichbar oder antwortet nicht korrekt. The command is "/usr/sbin/sntp -4 -c 1 -d 15 $SERVER" (there is also "sntp: getaddrinfo(hostname, ntp) failed with Address family for hostname not supported" for the case where -4 fails and we retry with -6) -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=486477 User poolbarde@web.de added comment https://bugzilla.novell.com/show_bug.cgi?id=486477#c2 --- Comment #2 from Hendrik Müller <poolbarde@web.de> 2009-03-19 01:03:02 MST --- After booting my machine this morning i read following lines mentioning 'ntp' in my /var/log/messages. Does this mean it realy works while yast2-ntp-client test function was failing?? Mar 19 07:42:18 karclt0024 kernel: type=1505 audit(1237444932.558:10): operation="profile_load" name="/usr/sbin/ntpd" name2="default" pid=1967 .. Mar 19 07:42:23 karclt0024 ntpd[3385]: ntpd 4.2.4p5@1.1541-o Mon Jan 19 15:18:44 UTC 2009 (1) Mar 19 07:42:23 karclt0024 ntpd[3386]: precision = 1.000 usec Mar 19 07:42:23 karclt0024 ntpd[3386]: ntp_io: estimated max descriptors: 1024, initial socket boundary: 16 Mar 19 07:42:23 karclt0024 ntpd[3386]: Listening on interface #0 wildcard, 0.0.0.0#123 Disabled Mar 19 07:42:23 karclt0024 ntpd[3386]: Listening on interface #1 wildcard, ::#123 Disabled Mar 19 07:42:23 karclt0024 ntpd[3386]: Listening on interface #2 lo, ::1#123 Enabled Mar 19 07:42:23 karclt0024 ntpd[3386]: Listening on interface #3 eth0, fe80::230:5ff:fe9f:c85f#123 Enabled Mar 19 07:42:23 karclt0024 ntpd[3386]: Listening on interface #4 lo, 127.0.0.1#123 Enabled Mar 19 07:42:23 karclt0024 ntpd[3386]: Listening on interface #5 lo, 127.0.0.2#123 Enabled Mar 19 07:42:23 karclt0024 ntpd[3386]: Listening on interface #6 eth0, 150.158.183.126#123 Enabled Mar 19 07:42:23 karclt0024 ntpd[3386]: kernel time sync status 0040 Mar 19 07:42:23 karclt0024 ntpd[3386]: frequency initialized -4.685 PPM from /var/lib/ntp/drift/ntp.drift -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=486477 User poolbarde@web.de added comment https://bugzilla.novell.com/show_bug.cgi?id=486477#c3 --- Comment #3 from Hendrik Müller <poolbarde@web.de> 2009-03-19 01:05:05 MST --- By the way, i have running this server with suse 10.2 and suse 10.3 without any problem. Also test function of these versions works fine. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=486477 User mvidner@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=486477#c4 Martin Vidner <mvidner@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |NEEDINFO Info Provider| |poolbarde@web.de --- Comment #4 from Martin Vidner <mvidner@novell.com> 2009-03-20 07:44:11 MST --- I have tried to reproduce it and I believe that YaST is correct here, and ntpd is silently ignoring the unknown server: # /usr/sbin/sntp -4 -c 1 -d 15 beaadc01.barco.com sntp: getaddrinfo(hostname, ntp) failed with Name or service not known # host beaadc01.barco.com Host beaadc01.barco.com not found: 3(NXDOMAIN) # vi /etc/ntp.conf # added "server beaadc01.barco.com iburst" # rcntp restart Shutting down network time protocol daemon (NTPD) done Starting network time protocol daemon (NTPD) done # rcntp status remote refid st t when poll reach delay offset jitter ============================================================================== LOCAL(0) .LOCL. 10 l 48 64 1 0.000 0.000 0.001 Checking for network time protocol daemon (NTPD): running I also saw the same messages as you in syslog with the unknown server. Please recheck that the server indeed is working, otherwise I think there is no bug. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=486477 User poolbarde@web.de added comment https://bugzilla.novell.com/show_bug.cgi?id=486477#c5 --- Comment #5 from Hendrik Müller <poolbarde@web.de> 2009-03-25 16:51:51 MST --- I'll check and add result here when I'm back in company. This will be around 8th of April. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com