<?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: problem with NIS in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/problem-with-nis/m-p/3103762#M717795</link>
    <description>The message it gives with tusc mentions it cannot open a socket to localhost.&lt;BR /&gt;&lt;BR /&gt;Are the users able to start other X-applications with NIS enabled? If they are, then your problem is indeed with the application. Also, do you get more info out of tusc at the moment of the failure, like the routine that is calling the socket system call? That might give some info on what it is trying to do. For instance, is the socket call used to connect to NIS or to another service?&lt;BR /&gt;&lt;BR /&gt;Hope your answer can help solve your issue.</description>
    <pubDate>Tue, 09 Dec 2003 03:27:54 GMT</pubDate>
    <dc:creator>Elmar P. Kolkman</dc:creator>
    <dc:date>2003-12-09T03:27:54Z</dc:date>
    <item>
      <title>problem with NIS</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problem-with-nis/m-p/3103759#M717792</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Got an application (compiled and linked using aCC B3910B A.03.30). The application uses flexlm to handle the licensing. (flexlm libs are linked with the application). The application is based on X-windows and motif, and on invoking it comes with a GUI, but on client's machines we are facing a strange problem. The GUI doesn't come up at all. it just hangs. It works fine if we disable the NIS option in the system. &lt;BR /&gt;&lt;BR /&gt;Please suggest a way out&lt;BR /&gt;&lt;BR /&gt;TIA&lt;BR /&gt;satya&lt;BR /&gt;</description>
      <pubDate>Tue, 28 Oct 2003 01:25:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problem-with-nis/m-p/3103759#M717792</guid>
      <dc:creator>Satya_6</dc:creator>
      <dc:date>2003-10-28T01:25:16Z</dc:date>
    </item>
    <item>
      <title>Re: problem with NIS</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problem-with-nis/m-p/3103760#M717793</link>
      <description>Get a copy of tusc (trace utility) from&lt;BR /&gt;hpux.cs.utah.edu , run it on your application&lt;BR /&gt;in both cases with -vpf flags.See what system&lt;BR /&gt;call has the error (can be gethostbyname() for &lt;BR /&gt;example or else).By disabling NIS option you mean "hosts: NIS" line in /etc/nsswitch.conf or&lt;BR /&gt;stopping NIS (ypbind) client?If nsswitch.conf, just add "hosts: files nis".Can also be that you application is trying to contact localhost&lt;BR /&gt;which is defined in the /etc/hosts but obviously not in NIS hosts map?&lt;BR /&gt;&lt;BR /&gt;Zeev</description>
      <pubDate>Tue, 28 Oct 2003 04:18:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problem-with-nis/m-p/3103760#M717793</guid>
      <dc:creator>Zeev Schultz</dc:creator>
      <dc:date>2003-10-28T04:18:30Z</dc:date>
    </item>
    <item>
      <title>Re: problem with NIS</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problem-with-nis/m-p/3103761#M717794</link>
      <description>I have used the tusc utility and am not able to make much out of it. It looks like it is failing on a bind  on some socket. It just fails with an error saying  EADDRINUSE, for the address given as&lt;BR /&gt;sin_family: AF_INET&lt;BR /&gt;sin_port: 49381&lt;BR /&gt;sin_addr.s_addr: 127.0.0.1&lt;BR /&gt;&lt;BR /&gt;socket is opened using socket(AF_INET,  SOCK_DGRAM, 0) and bind on that is failing as said above. this scoket and bind calls repeat all the way.&lt;BR /&gt;&lt;BR /&gt;Also I find the command open("/var/yp/binding/Corn.2", O_RDONLY, 01) and lockf on the descriptor a couple of times in the logfile (the lockf fails with an error EBADF).  I don't find this on a machine with no NIS.&lt;BR /&gt;Also on a m/c with no NIS enabled, I find the socket opened with "socket(AF_UNIX, SOCK_DGRAM, 0)  and bind goes through fine on that socket.&lt;BR /&gt;&lt;BR /&gt;hope this would help you in suggesting a solution.&lt;BR /&gt;&lt;BR /&gt;Also the NIS client is disabled from SAM.&lt;BR /&gt;&lt;BR /&gt;In the SAM window, "Networking and Communications" -&amp;gt; "NIS" -&amp;gt; "Disable Client" &lt;BR /&gt;&lt;BR /&gt;Looks like the XtOpenDisplay is causing the problem. (NULL is sent for the display name)&lt;BR /&gt;&lt;BR /&gt;TIA&lt;BR /&gt;satya</description>
      <pubDate>Wed, 19 Nov 2003 09:06:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problem-with-nis/m-p/3103761#M717794</guid>
      <dc:creator>Satya_6</dc:creator>
      <dc:date>2003-11-19T09:06:50Z</dc:date>
    </item>
    <item>
      <title>Re: problem with NIS</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problem-with-nis/m-p/3103762#M717795</link>
      <description>The message it gives with tusc mentions it cannot open a socket to localhost.&lt;BR /&gt;&lt;BR /&gt;Are the users able to start other X-applications with NIS enabled? If they are, then your problem is indeed with the application. Also, do you get more info out of tusc at the moment of the failure, like the routine that is calling the socket system call? That might give some info on what it is trying to do. For instance, is the socket call used to connect to NIS or to another service?&lt;BR /&gt;&lt;BR /&gt;Hope your answer can help solve your issue.</description>
      <pubDate>Tue, 09 Dec 2003 03:27:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problem-with-nis/m-p/3103762#M717795</guid>
      <dc:creator>Elmar P. Kolkman</dc:creator>
      <dc:date>2003-12-09T03:27:54Z</dc:date>
    </item>
  </channel>
</rss>

