<?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: NFS Server/Client - exportfs error: x: unknown host in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/nfs-server-client-exportfs-error-x-unknown-host/m-p/2478722#M598014</link>
    <description>Hi Glenn,&lt;BR /&gt;&lt;BR /&gt;Did you try wit FILES before DNS in /etc/nsswitch.conf ?&lt;BR /&gt;like in:&lt;BR /&gt;hosts:    files [TRYAGAIN=continue NOTFOUND=continue] dns&lt;BR /&gt;&lt;BR /&gt;Dan&lt;BR /&gt;</description>
    <pubDate>Thu, 04 Jan 2001 05:37:51 GMT</pubDate>
    <dc:creator>Dan Hetzel</dc:creator>
    <dc:date>2001-01-04T05:37:51Z</dc:date>
    <item>
      <title>NFS Server/Client - exportfs error: x: unknown host</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/nfs-server-client-exportfs-error-x-unknown-host/m-p/2478720#M598012</link>
      <description>A mysterious one just to keep you all on your toes.&lt;BR /&gt;This one has been buggin me for a few hours now...&lt;BR /&gt;&lt;BR /&gt;I was able to emulate this problem on another box, so I'll give you the minimum need to create the problem. The reason for such evades me, but I am sure many of you will have an answer.&lt;BR /&gt;&lt;BR /&gt;Promblem Box name: devdb1&lt;BR /&gt;Symptom:&lt;BR /&gt;in /etc/rc.log -&lt;BR /&gt;Output from "/sbin/rc2.d/S430nfs.client start"&lt;BR /&gt;exportfs error: devapp1: unknown host&lt;BR /&gt;exportfs error: devapp2: unknown host&lt;BR /&gt;exportfs error: devapp1: unknown host&lt;BR /&gt;exportfs error: devapp2: unknown host&lt;BR /&gt;exportfs error: prddb0e2.ampol.com.au: unknown host&lt;BR /&gt;&lt;BR /&gt;These hosts exist in both /etc/hosts and DNS&lt;BR /&gt;/etc/hosts entry is alias and not full name&lt;BR /&gt;&lt;BR /&gt;NFS is set to both Client and Server in /etc/nfsconf&lt;BR /&gt;This error does not occur if Server is set to 0 (obviously).&lt;BR /&gt;&lt;BR /&gt;/etc/exports has &lt;BR /&gt;/sapmnt/DEV/exe -anon=65534,root=devapp1:devapp2,access=devapp1:devapp2&lt;BR /&gt;&lt;BR /&gt;/etc/nsswitch.conf has DNS before files&lt;BR /&gt;&lt;BR /&gt;To debug I put a test nslookup in S430nfs.client of the host emulating the problem.&lt;BR /&gt;The result was:&lt;BR /&gt;&lt;BR /&gt;/usr/bin/nslookup devapp1&lt;BR /&gt;*** Can't find server name for address 203.0.34.97: Timed out&lt;BR /&gt;*** Can't find server name for address 203.0.34.34: Timed out&lt;BR /&gt;*** Can't find server name for address 203.0.34.33: Timed out&lt;BR /&gt;*** Default servers are not available&lt;BR /&gt;Using /etc/hosts on:  devdb3&lt;BR /&gt;&lt;BR /&gt;looking up FILES&lt;BR /&gt;Name:    devapp1.sydho.ampol.com.au&lt;BR /&gt;Address:  203.0.34.97&lt;BR /&gt;Aliases:  devapp1&lt;BR /&gt;&lt;BR /&gt;Of course it must be noted that resolv.conf contains:&lt;BR /&gt;search sydho.ampol.com.au ampol.com.au&lt;BR /&gt;nameserver 203.0.34.97&lt;BR /&gt;nameserver 203.0.34.34&lt;BR /&gt;nameserver 203.0.34.33&lt;BR /&gt;&lt;BR /&gt;Note that this problem only occurs during starting. Mounting is not a problem after box is up.&lt;BR /&gt;&lt;BR /&gt;exportfs would normally use /etc/hosts. Reading the man page, one could assume that DNS is not used.&lt;BR /&gt;I believe this might be related to the nsslookup failing.&lt;BR /&gt;Please note also that after the box is up, nslookup is fine.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Thanks</description>
      <pubDate>Thu, 04 Jan 2001 01:04:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/nfs-server-client-exportfs-error-x-unknown-host/m-p/2478720#M598012</guid>
      <dc:creator>Glenn L. Stewart</dc:creator>
      <dc:date>2001-01-04T01:04:05Z</dc:date>
    </item>
    <item>
      <title>Re: NFS Server/Client - exportfs error: x: unknown host</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/nfs-server-client-exportfs-error-x-unknown-host/m-p/2478721#M598013</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;There is an issue with aliases in /etc/hosts. If you are using the alias in your /etc/exports file, put it before your the qualified name in your /etc/hosts file.&lt;BR /&gt;&lt;BR /&gt;Hope this helps. Regards.&lt;BR /&gt;&lt;BR /&gt;Steven Sim&lt;BR /&gt;Brainbench MVP for Unix Admin&lt;BR /&gt;&lt;A href="http://www.brainbench.com" target="_blank"&gt;http://www.brainbench.com&lt;/A&gt;</description>
      <pubDate>Thu, 04 Jan 2001 05:37:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/nfs-server-client-exportfs-error-x-unknown-host/m-p/2478721#M598013</guid>
      <dc:creator>Steven Sim Kok Leong</dc:creator>
      <dc:date>2001-01-04T05:37:37Z</dc:date>
    </item>
    <item>
      <title>Re: NFS Server/Client - exportfs error: x: unknown host</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/nfs-server-client-exportfs-error-x-unknown-host/m-p/2478722#M598014</link>
      <description>Hi Glenn,&lt;BR /&gt;&lt;BR /&gt;Did you try wit FILES before DNS in /etc/nsswitch.conf ?&lt;BR /&gt;like in:&lt;BR /&gt;hosts:    files [TRYAGAIN=continue NOTFOUND=continue] dns&lt;BR /&gt;&lt;BR /&gt;Dan&lt;BR /&gt;</description>
      <pubDate>Thu, 04 Jan 2001 05:37:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/nfs-server-client-exportfs-error-x-unknown-host/m-p/2478722#M598014</guid>
      <dc:creator>Dan Hetzel</dc:creator>
      <dc:date>2001-01-04T05:37:51Z</dc:date>
    </item>
    <item>
      <title>Re: NFS Server/Client - exportfs error: x: unknown host</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/nfs-server-client-exportfs-error-x-unknown-host/m-p/2478723#M598015</link>
      <description>Ended up that having the correct order in /etc/hosts solved the problem.&lt;BR /&gt;I still cannot understand why nslookup would fail during this section of startup.&lt;BR /&gt;&lt;BR /&gt;I only wonder what would happen on a box with a limited /etc/hosts file. How many people reply on DNS over /etc/hosts these days given that a few DNS servers are much easier to maintain than an individual /etc/hosts file for each box. I have 18 HP boxes, so I don't have a very large updating task but....&lt;BR /&gt;&lt;BR /&gt;I will try reversing the order of files/DNS in nsswitch.conf too.</description>
      <pubDate>Thu, 04 Jan 2001 06:06:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/nfs-server-client-exportfs-error-x-unknown-host/m-p/2478723#M598015</guid>
      <dc:creator>Glenn L. Stewart</dc:creator>
      <dc:date>2001-01-04T06:06:24Z</dc:date>
    </item>
    <item>
      <title>Re: NFS Server/Client - exportfs error: x: unknown host</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/nfs-server-client-exportfs-error-x-unknown-host/m-p/2478724#M598016</link>
      <description>Hello Glenn,&lt;BR /&gt;just a matter of interest. May be there is something wrong in the sequence of your network initialisation ?&lt;BR /&gt;I.e. static routes to your nameserver are set up after your try to mount the nfs-drives ? (Yes most unlikely...)&lt;BR /&gt;Or (most likely) you use some dynamic routing which needs its time to rip around for some minutes to finaly reach your dns-server. In this case you might need to implement some delay before mounting the filesystems ?&lt;BR /&gt;Just an idea.&lt;BR /&gt;Volker</description>
      <pubDate>Thu, 04 Jan 2001 07:19:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/nfs-server-client-exportfs-error-x-unknown-host/m-p/2478724#M598016</guid>
      <dc:creator>Volker Borowski</dc:creator>
      <dc:date>2001-01-04T07:19:22Z</dc:date>
    </item>
    <item>
      <title>Re: NFS Server/Client - exportfs error: x: unknown host</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/nfs-server-client-exportfs-error-x-unknown-host/m-p/2478725#M598017</link>
      <description>nslookup needs to be able to do a reserve lookup on the dns servers in your /etc/resolv.conf&lt;BR /&gt;&lt;BR /&gt;You may want to enusre your resevrse lookup is configured.</description>
      <pubDate>Thu, 04 Jan 2001 21:15:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/nfs-server-client-exportfs-error-x-unknown-host/m-p/2478725#M598017</guid>
      <dc:creator>Rob Mallard</dc:creator>
      <dc:date>2001-01-04T21:15:34Z</dc:date>
    </item>
  </channel>
</rss>

