View previous topic :: View next topic |
Author |
Message |
Lupin_the_3rd Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/169138963942cc4c4079aa7.jpg)
Joined: 03 Apr 2005 Posts: 168
|
Posted: Sat Aug 18, 2007 7:19 pm Post subject: ntp-client "Name or service not known" |
|
|
Just noticed that my ntp client is failing during bootup. Fails in the same way if you try to run it manually after system is up:
# /etc/init.d/ntp-client restart
* Setting clock via the NTP client 'ntpdate' ...
Error : Name or service not known
* Failed to set clock [ !! ]
Anyone come across this before? TIA! _________________ Compaq XP1000 Alpha EV67 667Mhz w/ 2GB ECC
32bit PCI: ATI Radeon 9100 (DRI works!)
32bit PCI: Generic Firewire 400 card
64bit PCI: BCM5703 Gig-E (Compaq NC7771)
64bit PCI: Sil3124 SATA w/ mdadm RAID1 (pair of WD VelociRaptors) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
PaulBredbury Watchman
![Watchman Watchman](/images/ranks/rank-G-2-watchman.gif)
![](images/avatars/15669254994381f44a81f83.jpg)
Joined: 14 Jul 2005 Posts: 7310
|
Posted: Sat Aug 18, 2007 7:48 pm Post subject: |
|
|
Google for "Name or service not known" - it means the DNS lookup failed.
Check your entries in /etc/conf.d/ntp-client |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Mambo n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/13533962553f908a9e0ed3d.gif)
Joined: 18 Oct 2003 Posts: 12
|
Posted: Sun Aug 19, 2007 5:50 am Post subject: |
|
|
Problem is the "pool.ntp.org" which is in there doesn't resolve
Just change it to whatever ntp server you wish to sync from. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
genterminl Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/8933797555ebd90d5c762f.jpg)
Joined: 12 Feb 2005 Posts: 527 Location: Connecticut, USA
|
Posted: Fri Oct 19, 2007 12:20 pm Post subject: |
|
|
pool.ntp.org resolves just fine for me. Is it possible that ntp-client is trying to start before net.eth0 is up and running? Can you manually start net-client once bootup is complete? |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
RicardoRossetto n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 17 Dec 2007 Posts: 1
|
Posted: Mon Dec 17, 2007 2:06 pm Post subject: |
|
|
Quote: | # /etc/init.d/ntp-client restart
* Setting clock via the NTP client 'ntpdate' ...
Error : Name or service not known
* Failed to set clock [ !! ]
|
I've just had this problem, reproducible after startup.
Yesterday it was all right, no updates...But ping still worked while ntpdate didn't:
Code: | PING 0.pool.ntp.org (209.67.219.106) 56(84) bytes of data.
64 bytes from lashiir.sapros.com (209.67.219.106): icmp_seq=1 ttl=46 time=202 ms
64 bytes from lashiir.sapros.com (209.67.219.106): icmp_seq=2 ttl=46 time=237 ms
64 bytes from lashiir.sapros.com (209.67.219.106): icmp_seq=3 ttl=46 time=194 ms
64 bytes from lashiir.sapros.com (209.67.219.106): icmp_seq=4 ttl=46 time=191 ms
--- 0.pool.ntp.org ping statistics ---
4 packets transmitted, 4 received, 0% packet loss, time 3002ms
rtt min/avg/max/mdev = 191.179/206.648/237.786/18.449 ms
|
A few hours latter, all was back in place... |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|