<?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: NIS problem in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/nis-problem/m-p/2708790#M587459</link>
    <description>Are they servers and clients on the same subnet? I've had problems when the boxes are on different subnets. I've got a feeling NIS doesn't work across subnets. Maybe someone can clarify this.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;&lt;BR /&gt;Dave.</description>
    <pubDate>Tue, 23 Apr 2002 08:05:29 GMT</pubDate>
    <dc:creator>David Burgess</dc:creator>
    <dc:date>2002-04-23T08:05:29Z</dc:date>
    <item>
      <title>NIS problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/nis-problem/m-p/2708788#M587457</link>
      <description>I have one NIS master server and NIS slave server on my network. They are HPL1000 server, running on HP-UX11.00. I have almost 30 NIS clients, They are HP C3600 unix workstation, some of them running on hp-ux 10.20 and some of them running on hp-ux 11.00, some HP N4000 servers and Hp J series server, all the servers are runing on hp-ux 11.00. I found one stanger problem on some NIS clients. On some clients, when I type the command " ypcat ypservers". On some NIS clients, there are two servers listed, NIS master server and NIS slave server. But on some NIS clients, there is only one NIS server listed, sometimes they are nis master server and sometimes they are nis slave server. This happened both on hp-ux 10.20 and hp-ux 11.00. I don't know whether there is somebody met this problem, but this problem already bothered me for a very long time. I really hope to get some useful information from you.&lt;BR /&gt;&lt;BR /&gt;Thanks in advance&lt;BR /&gt;Annie</description>
      <pubDate>Tue, 23 Apr 2002 05:17:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/nis-problem/m-p/2708788#M587457</guid>
      <dc:creator>Annie_8</dc:creator>
      <dc:date>2002-04-23T05:17:09Z</dc:date>
    </item>
    <item>
      <title>Re: NIS problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/nis-problem/m-p/2708789#M587458</link>
      <description>On both of your nis-servers (master and slave) go to the directory /var/yp/&lt;YOUR_DOMAINNAME&gt;.&lt;BR /&gt;You should see the ypservers.dir and ypservers.pag files there.&lt;BR /&gt;&lt;BR /&gt;Use /usr/sbin/makedbm - u ypservers to display the content of the ypservers-map on both servers (master and client). They should have the same content.&lt;BR /&gt;&lt;BR /&gt;Hartmut&lt;/YOUR_DOMAINNAME&gt;</description>
      <pubDate>Tue, 23 Apr 2002 06:13:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/nis-problem/m-p/2708789#M587458</guid>
      <dc:creator>Hartmut Lang</dc:creator>
      <dc:date>2002-04-23T06:13:58Z</dc:date>
    </item>
    <item>
      <title>Re: NIS problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/nis-problem/m-p/2708790#M587459</link>
      <description>Are they servers and clients on the same subnet? I've had problems when the boxes are on different subnets. I've got a feeling NIS doesn't work across subnets. Maybe someone can clarify this.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;&lt;BR /&gt;Dave.</description>
      <pubDate>Tue, 23 Apr 2002 08:05:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/nis-problem/m-p/2708790#M587459</guid>
      <dc:creator>David Burgess</dc:creator>
      <dc:date>2002-04-23T08:05:29Z</dc:date>
    </item>
    <item>
      <title>Re: NIS problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/nis-problem/m-p/2708791#M587460</link>
      <description>hi,&lt;BR /&gt;NIS will work across subnets provided gateway &lt;BR /&gt;forwards broadcasts. The NIS binding problems can arise because of high forwarding delay , in some gateways ( reasons being high load , less memory etc). &lt;BR /&gt;So it is generally recommended to place one NIS server per subnet. Or if you want your&lt;BR /&gt;serverin other subnet , use powerful routers&lt;BR /&gt;( gateways).&lt;BR /&gt;&lt;BR /&gt;regards,&lt;BR /&gt;U.SivaKumar</description>
      <pubDate>Tue, 23 Apr 2002 08:31:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/nis-problem/m-p/2708791#M587460</guid>
      <dc:creator>U.SivaKumar_2</dc:creator>
      <dc:date>2002-04-23T08:31:03Z</dc:date>
    </item>
    <item>
      <title>Re: NIS problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/nis-problem/m-p/2708792#M587461</link>
      <description>Makes sense. &lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;&lt;BR /&gt;Dave.</description>
      <pubDate>Tue, 23 Apr 2002 08:35:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/nis-problem/m-p/2708792#M587461</guid>
      <dc:creator>David Burgess</dc:creator>
      <dc:date>2002-04-23T08:35:15Z</dc:date>
    </item>
    <item>
      <title>Re: NIS problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/nis-problem/m-p/2708793#M587462</link>
      <description>Hi everyone,&lt;BR /&gt;&lt;BR /&gt;     Thanks very much for your reply. But the problem is all the servers ( include NIS master and slave server, all NIS clients) are on one subnet. I also checked the nis server use the command "/usr/sbin/makedbm ypservers",&lt;BR /&gt;the output looks like this:&lt;BR /&gt;  koalapcc   koalapcc&lt;BR /&gt;  whalepcc&lt;BR /&gt;  YP_LAST_MODIFIED 1006761379&lt;BR /&gt;  YP_MASTER_NAME koalapcc&lt;BR /&gt;&lt;BR /&gt;  by the way,koalapcc is my nis master server name and whalepcc is my nis slave server name.&lt;BR /&gt;&lt;BR /&gt;Could anyone please give me some hints on this problem? whether there is some patch should be installed on NIS master,NIS slave or NIS clients?</description>
      <pubDate>Tue, 23 Apr 2002 08:47:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/nis-problem/m-p/2708793#M587462</guid>
      <dc:creator>Annie_8</dc:creator>
      <dc:date>2002-04-23T08:47:26Z</dc:date>
    </item>
    <item>
      <title>Re: NIS problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/nis-problem/m-p/2708794#M587463</link>
      <description>hi,&lt;BR /&gt;i see as a binding problem only. I think for some clients master server answers first and for some servers slave server responds first. Is this problem is random on your NIS clients ?. what is the system load on your master server and slave server ?.&lt;BR /&gt;&lt;BR /&gt;enable rpc.sprayd in /etc/inetd.conf on both servers .&lt;BR /&gt;#inetd -c&lt;BR /&gt;use spray command to throw packets on master &lt;BR /&gt;server and client server. whose response is &lt;BR /&gt;slow ?. &lt;BR /&gt;if you shutdown slave server , what does all the NIS clients show as NIS server now ?.&lt;BR /&gt;&lt;BR /&gt;regards,&lt;BR /&gt;U.SivaKumar</description>
      <pubDate>Tue, 23 Apr 2002 10:08:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/nis-problem/m-p/2708794#M587463</guid>
      <dc:creator>U.SivaKumar_2</dc:creator>
      <dc:date>2002-04-23T10:08:35Z</dc:date>
    </item>
    <item>
      <title>Re: NIS problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/nis-problem/m-p/2708795#M587464</link>
      <description>The content of your ypservers database looks strange to me. I would expect something like:&lt;BR /&gt;koalapcc koalapcc&lt;BR /&gt;whalepcc whalepcc YP_LAST_MODIFIED 1006761379 YP_MASTER_NAME koalapcc &lt;BR /&gt;&lt;BR /&gt;You only have one "whalepcc" in the second line. I think that is not ok.&lt;BR /&gt;What is the output of "ypcat -k ypservers".&lt;BR /&gt;You should see:&lt;BR /&gt;koalapcc koalapcc&lt;BR /&gt;whalepcc whalepcc &lt;BR /&gt;&lt;BR /&gt;This is how things look in my environment. Can someone validate this?&lt;BR /&gt;&lt;BR /&gt;Hartmut</description>
      <pubDate>Wed, 24 Apr 2002 04:32:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/nis-problem/m-p/2708795#M587464</guid>
      <dc:creator>Hartmut Lang</dc:creator>
      <dc:date>2002-04-24T04:32:36Z</dc:date>
    </item>
    <item>
      <title>Re: NIS problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/nis-problem/m-p/2708796#M587465</link>
      <description>What Hartmut said is correct, you should see 2 entries in ypservers as such ..&lt;BR /&gt;&lt;BR /&gt;koalapcc koalapcc &lt;BR /&gt;whalepcc whalepcc &lt;BR /&gt;&lt;BR /&gt;I would suggest you tweak/edit ypservers and re-push the map out.&lt;BR /&gt;&lt;BR /&gt;# cd /var/yp/&lt;YOUR-DOMAIN-NAME&gt;&lt;BR /&gt;# makedbm -u ypservers &amp;gt; ../nis-server-list&lt;BR /&gt;# vi ../nis-server-list&lt;BR /&gt;==&amp;gt; edit by adding another "whalepcc" entry&lt;BR /&gt;# makedbm ../nis-server-list ypservers&lt;BR /&gt;# /var/yp/ypmake  &lt;BR /&gt;==&amp;gt; Push it out to the slaves.&lt;BR /&gt;&lt;BR /&gt;On the slaves server, check the timestamp for ..&lt;BR /&gt;/var/yp/&lt;YOUR-DOMAIN-NAME&gt;/ypservers.dir&lt;BR /&gt;/var/yp/&lt;YOUR-DOMAIN-NAME&gt;&lt;/YOUR-DOMAIN-NAME&gt;to make sure they are updated, if not manually push it from the master ..&lt;BR /&gt;&lt;BR /&gt;# yppush -v ypservers&lt;BR /&gt;&lt;/YOUR-DOMAIN-NAME&gt;&lt;/YOUR-DOMAIN-NAME&gt;</description>
      <pubDate>Wed, 24 Apr 2002 04:55:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/nis-problem/m-p/2708796#M587465</guid>
      <dc:creator>S.K. Chan</dc:creator>
      <dc:date>2002-04-24T04:55:51Z</dc:date>
    </item>
    <item>
      <title>Re: NIS problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/nis-problem/m-p/2708797#M587466</link>
      <description>Hello everyone,&lt;BR /&gt;&lt;BR /&gt;      Thanks very much for your reply. Now this problem is sloved. I first use " /usr/sbin/makedbm -u ypservers &amp;gt; tempfile". and then edit tempfile like this&lt;BR /&gt;koalapcc koalapcc&lt;BR /&gt;whalepcc whalepcc&lt;BR /&gt;.........&lt;BR /&gt;.......&lt;BR /&gt;Then use the command "/usr/sbin/makedbm tempfile ypservers". Then it works. &lt;BR /&gt;&lt;BR /&gt;and thanks very much for Hartmut instruction. and thanks everyone for your reply.&lt;BR /&gt;&lt;BR /&gt;Have a nice day!&lt;BR /&gt;Annie</description>
      <pubDate>Wed, 24 Apr 2002 05:07:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/nis-problem/m-p/2708797#M587466</guid>
      <dc:creator>Annie_8</dc:creator>
      <dc:date>2002-04-24T05:07:44Z</dc:date>
    </item>
  </channel>
</rss>

