<?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 Problems in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/nis-problems/m-p/5013827#M539764</link>
    <description>&lt;!--!*#--&gt;For the record, I did finally manage to gain access to the data in the passwd.org_dir file by adjusting the /etc/nsswitch.conf file. It originally had records in it like:&lt;BR /&gt;&lt;BR /&gt;  passwd:       files&lt;BR /&gt;  group:        files&lt;BR /&gt;  hosts:        files&lt;BR /&gt;  services:     files&lt;BR /&gt;&lt;BR /&gt;I changed it to look like:&lt;BR /&gt;&lt;BR /&gt;  passwd:       files nisplus&lt;BR /&gt;  group:        files nisplus&lt;BR /&gt;  hosts:        nisplus [NOTFOUND=return] files&lt;BR /&gt;  services:     nisplus [NOTFOUND=return] files&lt;BR /&gt;&lt;BR /&gt;Then I stopped and started the NIS+ servers again, and voila, niscat now works, and doesn't hang!&lt;BR /&gt;&lt;BR /&gt;Thanks again to SEP, whose excellent suggestions got me going on the right track.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Barry.&lt;BR /&gt;</description>
    <pubDate>Wed, 15 Nov 2006 16:41:14 GMT</pubDate>
    <dc:creator>Barry Lake</dc:creator>
    <dc:date>2006-11-15T16:41:14Z</dc:date>
    <item>
      <title>NIS Problems</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/nis-problems/m-p/5013824#M539761</link>
      <description>Hi, I have inherited some HP-UX 11.0 systems that were left in terrible disarray. These systems are running NIS and/or NIS+, and I have no experience with these products, unfortunately. My immediate problem is that I need to gain access to the data in the passwd.org_dir file. When I try doing "niscat passwd.org_dir" while logged in as root with my current directory set to passwd.org_dir's parent directory, niscat just hangs. It gives no output, and it never returns. I have to hit ctrl-c to get out. Can someone please give me some hints as to what I need to do to get this to work? Thanks!</description>
      <pubDate>Mon, 13 Nov 2006 17:14:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/nis-problems/m-p/5013824#M539761</guid>
      <dc:creator>Barry Lake</dc:creator>
      <dc:date>2006-11-13T17:14:43Z</dc:date>
    </item>
    <item>
      <title>Re: NIS Problems</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/nis-problems/m-p/5013825#M539762</link>
      <description>Shalom,&lt;BR /&gt;&lt;BR /&gt;First step in an ugly process.&lt;BR /&gt;&lt;BR /&gt;See if the nis daemons are running.&lt;BR /&gt;&lt;BR /&gt;The start/stop scrips are in /sbin/init.d&lt;BR /&gt;&lt;BR /&gt;They start with nis, there is a server or client program.&lt;BR /&gt;&lt;BR /&gt;stop the client&lt;BR /&gt;stop the server&lt;BR /&gt;start the server&lt;BR /&gt;start the client&lt;BR /&gt;&lt;BR /&gt;Take a look at the config files in /etc/rc.config.d/namesvrs and see what the intent of the setup is.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Mon, 13 Nov 2006 17:36:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/nis-problems/m-p/5013825#M539762</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2006-11-13T17:36:22Z</dc:date>
    </item>
    <item>
      <title>Re: NIS Problems</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/nis-problems/m-p/5013826#M539763</link>
      <description>Steven, thanks for the reply. I found the following:&lt;BR /&gt;&lt;BR /&gt;1) On one of the three servers the NIS_DOMAIN setting in the /etc/rc.config.d/namesvrs config file was different from the other two. I fixed that so all three servers have the same NIS_DOMAIN.&lt;BR /&gt;&lt;BR /&gt;2) On all three servers I confirmed that the namesvrs config file has &lt;BR /&gt;&lt;BR /&gt;  NIS_MASTER_SERVER=0&lt;BR /&gt;  NIS_SLAVE_SERVER=0&lt;BR /&gt;  NIS_CLIENT=0&lt;BR /&gt;  NISPLUS_SERVER=1&lt;BR /&gt;  NISPLUS_CLIENT=1&lt;BR /&gt;&lt;BR /&gt;3) ps -ef on each of the three servers showed a different set of demons running. One had rpc.nispasswdd, another had rpc.nisd and the third had nis_cachemgr. Also a couple of them had keyserv.&lt;BR /&gt;&lt;BR /&gt;4) On all three servers I stopped the demons with&lt;BR /&gt;&lt;BR /&gt;  # /sbin/init.d/nisplus.client stop&lt;BR /&gt;  # /sbin/init.d/nisplus.server stop&lt;BR /&gt;&lt;BR /&gt;5) On all three servers I started the demons with&lt;BR /&gt;&lt;BR /&gt;  # /sbin/init.d/nisplus.server start&lt;BR /&gt;  # /sbin/init.d/nisplus.client start&lt;BR /&gt;&lt;BR /&gt;6) On one of the three servers ps -ef shows:&lt;BR /&gt;&lt;BR /&gt;  # ps -ef | grep nis&lt;BR /&gt;    root 23889     1 210 15:01:40 ?        10:03 /usr/sbin/nis_cachemgr&lt;BR /&gt;    root 23852     1 20 15:00:26 ?         1:52 /usr/sbin/rpc.nisd&lt;BR /&gt;&lt;BR /&gt;On another I see:&lt;BR /&gt;&lt;BR /&gt;  # ps -ef | grep nis&lt;BR /&gt;    root 20418     1 205 14:52:03 ?         9:55 /usr/sbin/nis_cachemgr&lt;BR /&gt;    root 20387     1  0 14:51:01 ?         0:00 /usr/sbin/rpc.nispasswdd&lt;BR /&gt;    root 20382     1 101 14:51:01 ?         7:28 /usr/sbin/rpc.nisd&lt;BR /&gt;&lt;BR /&gt;On the third server ps -ef hangs now (didn't before) and never returns without ctrl-c. Incidentally, that's the same server where I changed the NIS_DOMAIN to match the other two.&lt;BR /&gt;&lt;BR /&gt;7) On all three servers "niscat passwd.org_dir" still hangs.&lt;BR /&gt;&lt;BR /&gt;Any more suggestions?  :)&lt;BR /&gt;&lt;BR /&gt;TIA,&lt;BR /&gt;Barry.</description>
      <pubDate>Tue, 14 Nov 2006 15:36:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/nis-problems/m-p/5013826#M539763</guid>
      <dc:creator>Barry Lake</dc:creator>
      <dc:date>2006-11-14T15:36:05Z</dc:date>
    </item>
    <item>
      <title>Re: NIS Problems</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/nis-problems/m-p/5013827#M539764</link>
      <description>&lt;!--!*#--&gt;For the record, I did finally manage to gain access to the data in the passwd.org_dir file by adjusting the /etc/nsswitch.conf file. It originally had records in it like:&lt;BR /&gt;&lt;BR /&gt;  passwd:       files&lt;BR /&gt;  group:        files&lt;BR /&gt;  hosts:        files&lt;BR /&gt;  services:     files&lt;BR /&gt;&lt;BR /&gt;I changed it to look like:&lt;BR /&gt;&lt;BR /&gt;  passwd:       files nisplus&lt;BR /&gt;  group:        files nisplus&lt;BR /&gt;  hosts:        nisplus [NOTFOUND=return] files&lt;BR /&gt;  services:     nisplus [NOTFOUND=return] files&lt;BR /&gt;&lt;BR /&gt;Then I stopped and started the NIS+ servers again, and voila, niscat now works, and doesn't hang!&lt;BR /&gt;&lt;BR /&gt;Thanks again to SEP, whose excellent suggestions got me going on the right track.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Barry.&lt;BR /&gt;</description>
      <pubDate>Wed, 15 Nov 2006 16:41:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/nis-problems/m-p/5013827#M539764</guid>
      <dc:creator>Barry Lake</dc:creator>
      <dc:date>2006-11-15T16:41:14Z</dc:date>
    </item>
    <item>
      <title>Re: NIS Problems</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/nis-problems/m-p/5013828#M539765</link>
      <description>Hi,&lt;BR /&gt;Can you test an "nisping -C" on server, nisls org_dir on host,niscat -o paswwd.org_dir on the server  ? Give me the return&lt;BR /&gt;&lt;BR /&gt;Regards</description>
      <pubDate>Thu, 30 Nov 2006 05:43:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/nis-problems/m-p/5013828#M539765</guid>
      <dc:creator>SupraTeam_1</dc:creator>
      <dc:date>2006-11-30T05:43:18Z</dc:date>
    </item>
    <item>
      <title>Re: NIS Problems</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/nis-problems/m-p/5013829#M539766</link>
      <description>Closing thread from 2006; all pertinent data is in prior replies.</description>
      <pubDate>Wed, 16 Jul 2008 20:05:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/nis-problems/m-p/5013829#M539766</guid>
      <dc:creator>Barry Lake</dc:creator>
      <dc:date>2008-07-16T20:05:57Z</dc:date>
    </item>
  </channel>
</rss>

