<?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 issues - in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/nis-issues/m-p/3356084#M193262</link>
    <description>The way I typically determine which systems were configured as slaves during the previous incarnation of "ypinit -m" is to un-makedbm the ypservers map.&lt;BR /&gt;&lt;BR /&gt;Try this:&lt;BR /&gt;&lt;BR /&gt;# cd /var/yp/&lt;DOMAIN&gt;&lt;BR /&gt;# makedbm -u ypservers&lt;BR /&gt;&lt;BR /&gt;On my NIS master, this returns:&lt;BR /&gt;&lt;BR /&gt;hpatcux1 hpatcux1&lt;BR /&gt;hpatcux2 hpatcux2&lt;BR /&gt;hpatcux4 hpatcux4&lt;BR /&gt;YP_LAST_MODIFIED 1092346033&lt;BR /&gt;YP_MASTER_NAME hpatcux1&lt;BR /&gt;&lt;BR /&gt;This shows the master is "hpatcux1" and the slaves are "hpatcux2" and "hpatcux4".&lt;BR /&gt;&lt;BR /&gt;Good luck,&lt;BR /&gt;&lt;BR /&gt;Dave&lt;BR /&gt;&lt;BR /&gt;&lt;/DOMAIN&gt;</description>
    <pubDate>Thu, 12 Aug 2004 16:17:53 GMT</pubDate>
    <dc:creator>Dave Olker</dc:creator>
    <dc:date>2004-08-12T16:17:53Z</dc:date>
    <item>
      <title>nis issues -</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/nis-issues/m-p/3356080#M193258</link>
      <description>Hello,&lt;BR /&gt;&lt;BR /&gt;very urgent!&lt;BR /&gt;&lt;BR /&gt;NIS master  # ypcat passwd |wc -l &lt;BR /&gt;&lt;BR /&gt;output is 23&lt;BR /&gt;&lt;BR /&gt;# cat /etc/passwd |wc -l&lt;BR /&gt;output is 1107&lt;BR /&gt;&lt;BR /&gt;the nis master files seem to have become corrupt and we have many users not able to login&lt;BR /&gt;&lt;BR /&gt;has anyone got any tips please</description>
      <pubDate>Thu, 12 Aug 2004 14:16:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/nis-issues/m-p/3356080#M193258</guid>
      <dc:creator>lawrenzo</dc:creator>
      <dc:date>2004-08-12T14:16:00Z</dc:date>
    </item>
    <item>
      <title>Re: nis issues -</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/nis-issues/m-p/3356081#M193259</link>
      <description>I assume the "cat /etc/passwd" output was from the NIS master, and that this system is configured to build the NIS passwd tables from the /etc/passwd file and not some other source.  If that is the case, I'd try:&lt;BR /&gt;&lt;BR /&gt;# touch /etc/passwd&lt;BR /&gt;# /var/yp/ypmake&lt;BR /&gt;&lt;BR /&gt;Make sure the passwd maps are re-built and pushed to any slaves.&lt;BR /&gt;&lt;BR /&gt;Dave</description>
      <pubDate>Thu, 12 Aug 2004 14:30:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/nis-issues/m-p/3356081#M193259</guid>
      <dc:creator>Dave Olker</dc:creator>
      <dc:date>2004-08-12T14:30:20Z</dc:date>
    </item>
    <item>
      <title>Re: nis issues -</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/nis-issues/m-p/3356082#M193260</link>
      <description>Also check to ensure that the /etc/passwd file is the passwd file used for NIS. Could be named passwd.yp or something else. Check your yp scripts that do the make and find out what is being pushed out to the slaves</description>
      <pubDate>Thu, 12 Aug 2004 14:38:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/nis-issues/m-p/3356082#M193260</guid>
      <dc:creator>Rick Garland</dc:creator>
      <dc:date>2004-08-12T14:38:49Z</dc:date>
    </item>
    <item>
      <title>Re: nis issues -</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/nis-issues/m-p/3356083#M193261</link>
      <description>The issue is that someone pushed out the maps from a client server corrrupting the environment.&lt;BR /&gt;&lt;BR /&gt;We have logged a call with HP and they have advised to run ypinit -m,&lt;BR /&gt;&lt;BR /&gt;during this process the system is asking for slaves&lt;BR /&gt;&lt;BR /&gt;what commnad can be run to identify slave servers form the master&amp;gt;?&lt;BR /&gt;&lt;BR /&gt;Thanks</description>
      <pubDate>Thu, 12 Aug 2004 16:10:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/nis-issues/m-p/3356083#M193261</guid>
      <dc:creator>lawrenzo</dc:creator>
      <dc:date>2004-08-12T16:10:04Z</dc:date>
    </item>
    <item>
      <title>Re: nis issues -</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/nis-issues/m-p/3356084#M193262</link>
      <description>The way I typically determine which systems were configured as slaves during the previous incarnation of "ypinit -m" is to un-makedbm the ypservers map.&lt;BR /&gt;&lt;BR /&gt;Try this:&lt;BR /&gt;&lt;BR /&gt;# cd /var/yp/&lt;DOMAIN&gt;&lt;BR /&gt;# makedbm -u ypservers&lt;BR /&gt;&lt;BR /&gt;On my NIS master, this returns:&lt;BR /&gt;&lt;BR /&gt;hpatcux1 hpatcux1&lt;BR /&gt;hpatcux2 hpatcux2&lt;BR /&gt;hpatcux4 hpatcux4&lt;BR /&gt;YP_LAST_MODIFIED 1092346033&lt;BR /&gt;YP_MASTER_NAME hpatcux1&lt;BR /&gt;&lt;BR /&gt;This shows the master is "hpatcux1" and the slaves are "hpatcux2" and "hpatcux4".&lt;BR /&gt;&lt;BR /&gt;Good luck,&lt;BR /&gt;&lt;BR /&gt;Dave&lt;BR /&gt;&lt;BR /&gt;&lt;/DOMAIN&gt;</description>
      <pubDate>Thu, 12 Aug 2004 16:17:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/nis-issues/m-p/3356084#M193262</guid>
      <dc:creator>Dave Olker</dc:creator>
      <dc:date>2004-08-12T16:17:53Z</dc:date>
    </item>
    <item>
      <title>Re: nis issues -</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/nis-issues/m-p/3356085#M193263</link>
      <description>Thanks everone,&lt;BR /&gt;&lt;BR /&gt;After running commands with ypservers, it was evident that the master NIS was pointing to a slave server.&lt;BR /&gt;&lt;BR /&gt;this happened because the ypmake was used on a server other than the master&lt;BR /&gt;&lt;BR /&gt;To prevent this would I have to add something to the ypmake script to determine which server the command is being run on?&lt;BR /&gt;&lt;BR /&gt;Many thanks</description>
      <pubDate>Thu, 12 Aug 2004 20:37:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/nis-issues/m-p/3356085#M193263</guid>
      <dc:creator>lawrenzo</dc:creator>
      <dc:date>2004-08-12T20:37:49Z</dc:date>
    </item>
    <item>
      <title>Re: nis issues -</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/nis-issues/m-p/3356086#M193264</link>
      <description>You could add to the ypmake script some logic that is testing the hostname value. &lt;BR /&gt;if [ `hostname` != &lt;MYSERVER&gt; ]&lt;BR /&gt;then&lt;BR /&gt;  echo "not here!"&lt;BR /&gt;  exit&lt;BR /&gt;fi&lt;BR /&gt;&lt;BR /&gt;Could be as simple as this or as elaborate as you want.&lt;/MYSERVER&gt;</description>
      <pubDate>Fri, 13 Aug 2004 09:58:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/nis-issues/m-p/3356086#M193264</guid>
      <dc:creator>Rick Garland</dc:creator>
      <dc:date>2004-08-13T09:58:44Z</dc:date>
    </item>
    <item>
      <title>Re: nis issues -</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/nis-issues/m-p/3356087#M193265</link>
      <description>Thank you all</description>
      <pubDate>Mon, 16 Aug 2004 01:19:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/nis-issues/m-p/3356087#M193265</guid>
      <dc:creator>lawrenzo</dc:creator>
      <dc:date>2004-08-16T01:19:30Z</dc:date>
    </item>
  </channel>
</rss>

