Re: NTP fails synchronization with server at startup

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, 2007-12-05 at 00:30 +0000, Paul Smith wrote:
> On Dec 5, 2007 12:22 AM, Craig White <craig@xxxxxxxxxxxxx> wrote:
> > > > > I have NTP configured to synchronize with a server at startup, but it
> > > > > always fails that as reported by F8 during the booting.
> > > > > Notwithstanding:
> > > > >
> > > > > # /sbin/service ntpd restart
> > > > > Shutting down ntpd:                                        [  OK  ]
> > > > > ntpd: Synchronizing with time server:                      [  OK  ]
> > > > > Starting ntpd:                                             [  OK  ]
> > > > > #
> > > > >
> > > > > Any ideas?
> > > > ----
> > > > output of ???
> > > >
> > > > cat /etc/ntp/step-tickers
> > > > cat /etc/ntp/ntpservers
> > > > grep server /etc/ntp.conf
> > > > grep ntp /var/log/messages
> > >
> > > Thanks to both. The requested output:
> > >
> > > # cat /etc/ntp/step-tickers
> > > # List of servers used for initial synchronization.
> > > ntp.ist.utl.pt
> > > #
> > >
> > > # grep server /etc/ntp.conf
> > > # Use public servers from the pool.ntp.org project.
> > > #broadcast 192.168.1.255 autokey        # broadcast server
> > > #broadcast 224.0.1.1 autokey            # multicast server
> > > #manycastserver 239.255.254.254         # manycast server
> > > #server 127.127.1.0     # local clock
> > > server ntp.ist.utl.pt
> > > #
> > >
> > > # cat /etc/ntp/ntpservers
> > > clock.redhat.com
> > > clock2.redhat.com
> > > #
> > >
> > > /var/log/messages:Dec  4 20:58:14 localhost ntpdate[1943]: can't find
> > > host ntp.ist.utl.pt
> > > /var/log/messages:Dec  4 20:58:14 localhost ntpdate[1943]: no servers
> > > can be used, exiting
> > > /var/log/messages:Dec  4 20:58:14 localhost ntpd[1946]: ntpd
> > > 4.2.4p2@xxxxxxxx Mon Sep 24 14:40:07 UTC 2007 (1)
> > > /var/log/messages:Dec  4 20:58:14 localhost ntpd[1947]: precision = 1.000 usec
> > > /var/log/messages:Dec  4 20:58:14 localhost ntpd[1947]: Listening on
> > > interface #0 wildcard, 0.0.0.0#123 Disabled
> > > /var/log/messages:Dec  4 20:58:14 localhost ntpd[1947]: Listening on
> > > interface #1 wildcard, ::#123 Disabled
> > > /var/log/messages:Dec  4 20:58:14 localhost ntpd[1947]: Listening on
> > > interface #2 lo, ::1#123 Enabled
> > > /var/log/messages:Dec  4 20:58:14 localhost ntpd[1947]: Listening on
> > > interface #3 vmnet1, fe80::250:56ff:fec0:1#123 Enabled
> > > /var/log/messages:Dec  4 20:58:14 localhost ntpd[1947]: Listening on
> > > interface #4 lo, 127.0.0.1#123 Enabled
> > > /var/log/messages:Dec  4 20:58:14 localhost ntpd[1947]: Listening on
> > > interface #5 vmnet1, 192.168.113.1#123 Enabled
> > > /var/log/messages:Dec  4 20:58:14 localhost ntpd[1947]: Listening on
> > > interface #6 vmnet8, 192.168.139.1#123 Enabled
> > > /var/log/messages:Dec  4 20:58:14 localhost ntpd[1947]: kernel time
> > > sync status 0040
> > > /var/log/messages:Dec  4 20:58:14 localhost ntpd[1947]: frequency
> > > initialized 198.964 PPM from /var/lib/ntp/drift
> > > /var/log/messages:Dec  4 20:58:14 localhost ntpd[1947]: getaddrinfo:
> > > "ntp.ist.utl.pt" invalid host address, ignored
> > > /var/log/messages:Dec  4 20:58:15 localhost ntpd[1947]: Listening on
> > > interface #7 vmnet8, fe80::250:56ff:fec0:8#123 Enabled
> > > /var/log/messages:Dec  4 20:59:16 localhost ntpd[1947]: Cannot find
> > > existing interface for address 193.136.134.3
> > > /var/log/messages:Dec  4 20:59:16 localhost ntpd_initres[1951]: ntpd
> > > indicates no data available!
> > > /
> > ----
> > do you live in Portugal? (I think that's what tld=pt is)
> >
> > Why are there so many interfaces? Something seems broken with your
> > setup. You probably should turn ipv6 off (I think you can do that in
> > system-config-network).
> >
> > what is output of...
> >
> > /sbin/ifconfig
> > /etc/modprobe.conf
> 
> Thanks to both.
> 
> Yes, I do live in Portugal.
> 
> Answer to the other questions:
> 
> $ host ntp.ist.utl.pt
> ntp.ist.utl.pt has address 193.136.134.3
> $
> 
>  # /sbin/ifconfig
> eth0      Link encap:Ethernet  HWaddr 00:14:85:38:2C:93
>           inet addr:192.168.1.64  Bcast:192.168.1.255  Mask:255.255.255.0
>           inet6 addr: fe80::214:85ff:fe38:2c93/64 Scope:Link
>           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
>           RX packets:69568 errors:0 dropped:0 overruns:0 frame:0
>           TX packets:64273 errors:0 dropped:0 overruns:0 carrier:0
>           collisions:0 txqueuelen:1000
>           RX bytes:95856484 (91.4 MiB)  TX bytes:5951540 (5.6 MiB)
>           Interrupt:17
> 
> lo        Link encap:Local Loopback
>           inet addr:127.0.0.1  Mask:255.0.0.0
>           inet6 addr: ::1/128 Scope:Host
>           UP LOOPBACK RUNNING  MTU:16436  Metric:1
>           RX packets:1010 errors:0 dropped:0 overruns:0 frame:0
>           TX packets:1010 errors:0 dropped:0 overruns:0 carrier:0
>           collisions:0 txqueuelen:0
>           RX bytes:3043224 (2.9 MiB)  TX bytes:3043224 (2.9 MiB)
> 
> #
> 
> # more /etc/modprobe.conf
> alias eth0 tg3
> alias snd-card-0 snd-hda-intel
> options snd-card-0 index=0
> options snd-hda-intel index=0
> #
----
OK - I think Rick is onto something (DNS).

I would probably turn off ipv6 but that's me as I've seen that seriously
slow DNS queries.

Craig

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux