Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 01-08-2009, 01:20 PM   #1
Registered: Nov 2003
Posts: 795

Rep: Reputation: 39
problem getting ntp to run properly

Hi there --

We have several workstations that are running a 'derivative' of the Fedora operating system. The problem that is occurring is their inability to run the ntp daemon.

The workstations have DNS enabled, and also have the correct subnet mask and gateway settings configured for their NIC's. There are no firewall applications running, and all workstations have selinux set to disabled.

When the ntpq -p command is entered at the root prompt, the following error message appears on-screen:

Servname not supported for ai_socktype
When an nslookup is done on the known NTP server, the following is displayed on-screen:

Server: DNS Server IP Address
Address: DNS Server IP Address#53

Non-authoritative answer:
Name: NTP Server FQDN
Address: NTP Server IP Address
I have checked other systems that rely on the NTP server for time synchronziation, and the error messages did not manifest themselves.
The settings that I am trying to configure on the systems in question are the same as those that are in place on the other systems.

What step(s) do I need to take in order to get NTP to run properly?
Old 01-08-2009, 01:24 PM   #2
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1977Reputation: 1977Reputation: 1977Reputation: 1977Reputation: 1977Reputation: 1977Reputation: 1977Reputation: 1977Reputation: 1977Reputation: 1977Reputation: 1977
plenty of hits for that error message. have you tried the ususal suspects? for example -
Old 01-08-2009, 02:18 PM   #3
Registered: Nov 2003
Posts: 795

Original Poster
Rep: Reputation: 39
Hi there --

Thanks for your reply. The answer was the ntp lines being commented out in /etc/services. Once those were uncommented, the problem was solved.

Thanks again.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Can konsole run properly without kde? Guest1234 Linux - Software 5 10-01-2008 08:39 AM
Program doesn't run properly on boot KenPem Programming 8 12-27-2007 05:42 PM
getting ntp to run upon boot 00 noob Linux - Server 6 06-26-2007 08:36 AM
The script needs uudecode(1) to run properly xelt Linux - Software 1 04-18-2005 04:14 PM
Cannot get to run properly doctorwebbox Linux - Hardware 0 02-06-2005 07:18 AM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 09:45 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration