<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: ntpq -p &amp;quot;Name or service not known&amp;quot; in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/ntpq-p-quot-name-or-service-not-known-quot/m-p/3695052#M21080</link>
    <description>check if the file is in place (/usr/sbin/ntpq)&lt;BR /&gt;otherwise reinstall the ntp package.&lt;BR /&gt;Regards.</description>
    <pubDate>Tue, 20 Dec 2005 11:01:45 GMT</pubDate>
    <dc:creator>Alexander Chuzhoy</dc:creator>
    <dc:date>2005-12-20T11:01:45Z</dc:date>
    <item>
      <title>ntpq -p "Name or service not known"</title>
      <link>https://community.hpe.com/t5/operating-system-linux/ntpq-p-quot-name-or-service-not-known-quot/m-p/3695051#M21079</link>
      <description>Ok, sometimes even the easy things get messed up and don't want to work regardless of what you do.&lt;BR /&gt;&lt;BR /&gt;On my clients the /etc/ntp.conf has only one line in it.&lt;BR /&gt;server 10.20.20.52&lt;BR /&gt;&lt;BR /&gt;if I run ntpd -d (in debug mode) it doesnt core dump and more importantly, it gets teh time tics and sets the local clock correctly.&lt;BR /&gt;&lt;BR /&gt;However if I run ntpq -p on the box I get "Name or service not known"&lt;BR /&gt;&lt;BR /&gt;ntp is listed in /etc/services&lt;BR /&gt;ntp     123/tcp&lt;BR /&gt;ntp     123/udp&lt;BR /&gt;&lt;BR /&gt;any help in this regard would be very welcome.&lt;BR /&gt;Donny&lt;BR /&gt;"keep warm"</description>
      <pubDate>Tue, 20 Dec 2005 10:48:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/ntpq-p-quot-name-or-service-not-known-quot/m-p/3695051#M21079</guid>
      <dc:creator>Donny Jekels</dc:creator>
      <dc:date>2005-12-20T10:48:29Z</dc:date>
    </item>
    <item>
      <title>Re: ntpq -p "Name or service not known"</title>
      <link>https://community.hpe.com/t5/operating-system-linux/ntpq-p-quot-name-or-service-not-known-quot/m-p/3695052#M21080</link>
      <description>check if the file is in place (/usr/sbin/ntpq)&lt;BR /&gt;otherwise reinstall the ntp package.&lt;BR /&gt;Regards.</description>
      <pubDate>Tue, 20 Dec 2005 11:01:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/ntpq-p-quot-name-or-service-not-known-quot/m-p/3695052#M21080</guid>
      <dc:creator>Alexander Chuzhoy</dc:creator>
      <dc:date>2005-12-20T11:01:45Z</dc:date>
    </item>
    <item>
      <title>Re: ntpq -p "Name or service not known"</title>
      <link>https://community.hpe.com/t5/operating-system-linux/ntpq-p-quot-name-or-service-not-known-quot/m-p/3695053#M21081</link>
      <description>You can try using strace to try to find out where is the problem.&lt;BR /&gt;&lt;BR /&gt;You can use rpm -V to verify the ntp package.</description>
      <pubDate>Tue, 20 Dec 2005 13:49:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/ntpq-p-quot-name-or-service-not-known-quot/m-p/3695053#M21081</guid>
      <dc:creator>Ivan Ferreira</dc:creator>
      <dc:date>2005-12-20T13:49:51Z</dc:date>
    </item>
    <item>
      <title>Re: ntpq -p "Name or service not known"</title>
      <link>https://community.hpe.com/t5/operating-system-linux/ntpq-p-quot-name-or-service-not-known-quot/m-p/3695054#M21082</link>
      <description>and you would think this will work in linux.&lt;BR /&gt;&lt;BR /&gt;/etc/nsswitch.conf&lt;BR /&gt;&lt;BR /&gt;hosts dns [NOTFOUND==continue] files&lt;BR /&gt;&lt;BR /&gt;with the above setup ping localhost return host not found even if its listed in the hosts file.s&lt;BR /&gt;&lt;BR /&gt;even though the above is a perfect solution to ensure no hosts entries are followed as depicted in dns.&lt;BR /&gt;&lt;BR /&gt;I had to remove the NOTFOUND statement.&lt;BR /&gt;now it works.</description>
      <pubDate>Tue, 20 Dec 2005 16:43:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/ntpq-p-quot-name-or-service-not-known-quot/m-p/3695054#M21082</guid>
      <dc:creator>Donny Jekels</dc:creator>
      <dc:date>2005-12-20T16:43:53Z</dc:date>
    </item>
  </channel>
</rss>

