<?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: getservbyname in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/getservbyname/m-p/2705769#M59246</link>
    <description>Have a look at ypserv and ypfiles:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www.informatik.uni-frankfurt.de/doc/man/hpux/getservent.3n.html" target="_blank"&gt;http://www.informatik.uni-frankfurt.de/doc/man/hpux/getservent.3n.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;If the system is running Network Information Service (NFS), getservbyname() gets the service                   information from the NIS server (see ypserv(1M) and ypfiles(4)).&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www.informatik.uni-frankfurt.de/doc/man/hpux/ypserv.1m.html" target="_blank"&gt;http://www.informatik.uni-frankfurt.de/doc/man/hpux/ypserv.1m.html&lt;/A&gt;&lt;BR /&gt;&lt;A href="http://www.informatik.uni-frankfurt.de/doc/man/hpux/ypfiles.4.html" target="_blank"&gt;http://www.informatik.uni-frankfurt.de/doc/man/hpux/ypfiles.4.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;live free or die&lt;BR /&gt;harry&lt;BR /&gt;&lt;BR /&gt;</description>
    <pubDate>Thu, 18 Apr 2002 00:09:28 GMT</pubDate>
    <dc:creator>harry d brown jr</dc:creator>
    <dc:date>2002-04-18T00:09:28Z</dc:date>
    <item>
      <title>getservbyname</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/getservbyname/m-p/2705768#M59245</link>
      <description>Hi All,&lt;BR /&gt;&lt;BR /&gt;My application having problem in getservbyname.&lt;BR /&gt;Error messages of "Systemerror = &lt;PERMISSION denied=""&gt;" prompt out.&lt;BR /&gt;&lt;BR /&gt;Currently my system have apply NIS.&lt;BR /&gt;&lt;BR /&gt;Please advise.&lt;BR /&gt;&lt;BR /&gt;Thanks.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Pat&lt;BR /&gt;&lt;/PERMISSION&gt;</description>
      <pubDate>Thu, 18 Apr 2002 00:00:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/getservbyname/m-p/2705768#M59245</guid>
      <dc:creator>Patricia Tang</dc:creator>
      <dc:date>2002-04-18T00:00:03Z</dc:date>
    </item>
    <item>
      <title>Re: getservbyname</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/getservbyname/m-p/2705769#M59246</link>
      <description>Have a look at ypserv and ypfiles:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www.informatik.uni-frankfurt.de/doc/man/hpux/getservent.3n.html" target="_blank"&gt;http://www.informatik.uni-frankfurt.de/doc/man/hpux/getservent.3n.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;If the system is running Network Information Service (NFS), getservbyname() gets the service                   information from the NIS server (see ypserv(1M) and ypfiles(4)).&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www.informatik.uni-frankfurt.de/doc/man/hpux/ypserv.1m.html" target="_blank"&gt;http://www.informatik.uni-frankfurt.de/doc/man/hpux/ypserv.1m.html&lt;/A&gt;&lt;BR /&gt;&lt;A href="http://www.informatik.uni-frankfurt.de/doc/man/hpux/ypfiles.4.html" target="_blank"&gt;http://www.informatik.uni-frankfurt.de/doc/man/hpux/ypfiles.4.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;live free or die&lt;BR /&gt;harry&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 18 Apr 2002 00:09:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/getservbyname/m-p/2705769#M59246</guid>
      <dc:creator>harry d brown jr</dc:creator>
      <dc:date>2002-04-18T00:09:28Z</dc:date>
    </item>
    <item>
      <title>Re: getservbyname</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/getservbyname/m-p/2705770#M59247</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Was /etc/services recently updated? &lt;BR /&gt;&lt;BR /&gt;If /etc/services was updated but NIS was not aware, then you need to update the NIS yellow pages by running make inside /var/yp:&lt;BR /&gt;&lt;BR /&gt;# cd /var/yp&lt;BR /&gt;# make&lt;BR /&gt;&lt;BR /&gt;Hope this helps. Regards.&lt;BR /&gt;&lt;BR /&gt;Steven Sim Kok Leong</description>
      <pubDate>Thu, 18 Apr 2002 00:16:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/getservbyname/m-p/2705770#M59247</guid>
      <dc:creator>Steven Sim Kok Leong</dc:creator>
      <dc:date>2002-04-18T00:16:16Z</dc:date>
    </item>
    <item>
      <title>Re: getservbyname</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/getservbyname/m-p/2705771#M59248</link>
      <description>Hi steven,&lt;BR /&gt;&lt;BR /&gt;Thanks for replying.&lt;BR /&gt;&lt;BR /&gt;The NIS is always update.&lt;BR /&gt;&lt;BR /&gt;My Current Server act as NIS Client.&lt;BR /&gt;&lt;BR /&gt;Please advise.&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Pat</description>
      <pubDate>Thu, 18 Apr 2002 00:23:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/getservbyname/m-p/2705771#M59248</guid>
      <dc:creator>Patricia Tang</dc:creator>
      <dc:date>2002-04-18T00:23:09Z</dc:date>
    </item>
    <item>
      <title>Re: getservbyname</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/getservbyname/m-p/2705772#M59249</link>
      <description>The function getservbyname usually need to access to certain files (eg: /etc/services being one of them), I'm guessing you have some permission problem on those files which prevent getservbyname from reading it. To start of, check permission of /etc/services (should be 444), also check permission of other files like /etc/hosts and /etc/inetd.conf</description>
      <pubDate>Thu, 18 Apr 2002 01:06:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/getservbyname/m-p/2705772#M59249</guid>
      <dc:creator>S.K. Chan</dc:creator>
      <dc:date>2002-04-18T01:06:25Z</dc:date>
    </item>
    <item>
      <title>Re: getservbyname</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/getservbyname/m-p/2705773#M59250</link>
      <description>Hi Chan,&lt;BR /&gt;&lt;BR /&gt;Yes. I agree with you. cause i did modify file permission somewhere last week for security purpose. &lt;BR /&gt;&lt;BR /&gt;But i can't remember what file i did change.&lt;BR /&gt;I have check those file that u meantion ( /etc/host, /etc/hosts.equiv , /etc/inetd.conf,/etc/services ) all permission have set to 444&lt;BR /&gt;&lt;BR /&gt;if there any other file i need to concern???&lt;BR /&gt;&lt;BR /&gt;Many Thanks.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Pat&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 18 Apr 2002 02:18:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/getservbyname/m-p/2705773#M59250</guid>
      <dc:creator>Patricia Tang</dc:creator>
      <dc:date>2002-04-18T02:18:33Z</dc:date>
    </item>
    <item>
      <title>Re: getservbyname</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/getservbyname/m-p/2705774#M59251</link>
      <description>Others that I can think of .. (all should have at least 444)..&lt;BR /&gt;In /etc&lt;BR /&gt;resolv.conf&lt;BR /&gt;nsswitch.conf&lt;BR /&gt;networks&lt;BR /&gt;netgroup&lt;BR /&gt;netmasks&lt;BR /&gt;netconfig&lt;BR /&gt;In /var/adm&lt;BR /&gt;inetd.sec&lt;BR /&gt;&lt;BR /&gt;Are you able to trace which file/files permission did you change ? Check .sh_history (if you got one setup -- hopefully) for previous executed commands. What about comparing the files permission with that of other NIS client box that worked fine.</description>
      <pubDate>Thu, 18 Apr 2002 03:29:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/getservbyname/m-p/2705774#M59251</guid>
      <dc:creator>S.K. Chan</dc:creator>
      <dc:date>2002-04-18T03:29:40Z</dc:date>
    </item>
  </channel>
</rss>

