<?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: RPC help. in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/rpc-help/m-p/2834798#M581391</link>
    <description>shiva,&lt;BR /&gt;i added the port number and version number in etc/services and etc/rpc files. if i run the daemon its running fine and if i check the rpc using the following command it gives the below error.&lt;BR /&gt;&lt;BR /&gt;$&amp;gt;rpcinfo -t IPaddress 824395014&lt;BR /&gt;rpcinfo: RPC: Unable to receive; event requires attention&lt;BR /&gt;program 824395014 version 6 is not available&lt;BR /&gt;[1] + Bus error(coredump)      run.exe &amp;amp;&lt;BR /&gt;&lt;BR /&gt;any advise ???&lt;BR /&gt;&lt;BR /&gt;Thanks &lt;BR /&gt;-Anand.</description>
    <pubDate>Tue, 29 Oct 2002 10:09:39 GMT</pubDate>
    <dc:creator>M.R.Anand</dc:creator>
    <dc:date>2002-10-29T10:09:39Z</dc:date>
    <item>
      <title>RPC help.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/rpc-help/m-p/2834793#M581386</link>
      <description>Friends,&lt;BR /&gt;&lt;BR /&gt; I have created a sample RPC program to use a particular PORT instead of using the dynamic port. I have attached the sample files with this message.&lt;BR /&gt;&lt;BR /&gt; I have done the following to bind to the specific port but if i check the daemon it is telling me that the RPC is not registered and sometimes misc. tli flags error. but in the code it is not giving any error or failiure status.&lt;BR /&gt;&lt;BR /&gt; FYI. i have done the following steps in sample code.&lt;BR /&gt;&lt;BR /&gt; 1. created the tcp port with ANYSOCK value.&lt;BR /&gt; 2. Creating the new socket.&lt;BR /&gt; 3. Set the sockopt value&lt;BR /&gt; 4. bind the port and address details with new socket.&lt;BR /&gt; 5. created the RPC using svc_create. and run it using svc_run(). &lt;BR /&gt;&lt;BR /&gt; please let me know &lt;BR /&gt; &lt;BR /&gt; 1. how to confirm the PRC port usage? any command?&lt;BR /&gt; 2. What would be the changes to be done on client RPC side??&lt;BR /&gt;</description>
      <pubDate>Tue, 29 Oct 2002 02:13:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/rpc-help/m-p/2834793#M581386</guid>
      <dc:creator>M.R.Anand</dc:creator>
      <dc:date>2002-10-29T02:13:31Z</dc:date>
    </item>
    <item>
      <title>Re: RPC help.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/rpc-help/m-p/2834794#M581387</link>
      <description>It will be very helpful for me if you friends give me the reply in detail.&lt;BR /&gt;&lt;BR /&gt;Thank you very much in advance for your help.&lt;BR /&gt;&lt;BR /&gt;-Anand.</description>
      <pubDate>Tue, 29 Oct 2002 02:17:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/rpc-help/m-p/2834794#M581387</guid>
      <dc:creator>M.R.Anand</dc:creator>
      <dc:date>2002-10-29T02:17:03Z</dc:date>
    </item>
    <item>
      <title>Re: RPC help.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/rpc-help/m-p/2834795#M581388</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;First you have to select a unique TCP port number which is not listed in /etc/services file.&lt;BR /&gt;&lt;BR /&gt;Then add your service name , port number and tcp as per sytax in the file /etc/services.&lt;BR /&gt;&lt;BR /&gt;If you want to use any program number for your RPC service add it in /etc/rpc file.&lt;BR /&gt;&lt;BR /&gt;After the above changes &lt;BR /&gt;#inetd -c&lt;BR /&gt;&lt;BR /&gt;To see whether RPC service is running use this command&lt;BR /&gt;#rpcinfo&lt;BR /&gt;&lt;BR /&gt;more details&lt;BR /&gt;#man rpcinfo&lt;BR /&gt;&lt;BR /&gt;regards,&lt;BR /&gt;U.SivaKumar</description>
      <pubDate>Tue, 29 Oct 2002 03:47:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/rpc-help/m-p/2834795#M581388</guid>
      <dc:creator>U.SivaKumar_2</dc:creator>
      <dc:date>2002-10-29T03:47:17Z</dc:date>
    </item>
    <item>
      <title>Re: RPC help.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/rpc-help/m-p/2834796#M581389</link>
      <description>Dear siva,&lt;BR /&gt;&lt;BR /&gt;    Im the application support and i dont have the access to system files ie etc/ directory. But i check with support and they updated me that update for the said files not required. Please confirm if i use Specific port should i configure the service and rpc files?? is it a must? is that the reason??&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Anand.</description>
      <pubDate>Tue, 29 Oct 2002 07:24:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/rpc-help/m-p/2834796#M581389</guid>
      <dc:creator>M.R.Anand</dc:creator>
      <dc:date>2002-10-29T07:24:54Z</dc:date>
    </item>
    <item>
      <title>Re: RPC help.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/rpc-help/m-p/2834797#M581390</link>
      <description>Dear anand ,&lt;BR /&gt;IF you want to run your service in inetd mode  example :- telnetd daemon ( look at /etc/inetd.conf ) you will have to do the things I have mentioned.&lt;BR /&gt;&lt;BR /&gt;But If you want to just run the program in daemon mode for your service to listen then avoid my steps. Since you using higher port number &amp;gt; 1023 for binding , you will not need &lt;BR /&gt;any root permission to bind to your specified port.&lt;BR /&gt;&lt;BR /&gt;regards,&lt;BR /&gt;U.SivaKumar</description>
      <pubDate>Tue, 29 Oct 2002 10:00:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/rpc-help/m-p/2834797#M581390</guid>
      <dc:creator>U.SivaKumar_2</dc:creator>
      <dc:date>2002-10-29T10:00:53Z</dc:date>
    </item>
    <item>
      <title>Re: RPC help.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/rpc-help/m-p/2834798#M581391</link>
      <description>shiva,&lt;BR /&gt;i added the port number and version number in etc/services and etc/rpc files. if i run the daemon its running fine and if i check the rpc using the following command it gives the below error.&lt;BR /&gt;&lt;BR /&gt;$&amp;gt;rpcinfo -t IPaddress 824395014&lt;BR /&gt;rpcinfo: RPC: Unable to receive; event requires attention&lt;BR /&gt;program 824395014 version 6 is not available&lt;BR /&gt;[1] + Bus error(coredump)      run.exe &amp;amp;&lt;BR /&gt;&lt;BR /&gt;any advise ???&lt;BR /&gt;&lt;BR /&gt;Thanks &lt;BR /&gt;-Anand.</description>
      <pubDate>Tue, 29 Oct 2002 10:09:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/rpc-help/m-p/2834798#M581391</guid>
      <dc:creator>M.R.Anand</dc:creator>
      <dc:date>2002-10-29T10:09:39Z</dc:date>
    </item>
    <item>
      <title>Re: RPC help.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/rpc-help/m-p/2834799#M581392</link>
      <description>Hi,&lt;BR /&gt;try removing that line from /etc/rpc and runing your program as standalone daemon.&lt;BR /&gt;#./myrpcservice&lt;BR /&gt;&lt;BR /&gt;run rpcinfo does the error show up ?&lt;BR /&gt;&lt;BR /&gt;regards,&lt;BR /&gt;U.Sivakumar</description>
      <pubDate>Tue, 29 Oct 2002 10:56:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/rpc-help/m-p/2834799#M581392</guid>
      <dc:creator>U.SivaKumar_2</dc:creator>
      <dc:date>2002-10-29T10:56:51Z</dc:date>
    </item>
    <item>
      <title>Re: RPC help.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/rpc-help/m-p/2834800#M581393</link>
      <description>yes..still the same error im getting. If possible can you check the same piece of code in your system?? i think this concept includes only two files. I have attached the two files with this reply.&lt;BR /&gt;&lt;BR /&gt;run.c file includes the following&lt;BR /&gt;&lt;BR /&gt;#include &lt;STDIO.H&gt;&lt;BR /&gt;#include &lt;RPC&gt;&lt;BR /&gt;&lt;BR /&gt;extern SVCXPRT *svc_port_create();&lt;BR /&gt;int test_only(struct svc_req *, SVCXPRT *);&lt;BR /&gt;&lt;BR /&gt;int main()&lt;BR /&gt;{&lt;BR /&gt; SVCXPRT *SvcPtr = NULL;&lt;BR /&gt; struct svc_req *InPtr1;&lt;BR /&gt; SVCXPRT *InPtr2;&lt;BR /&gt;&lt;BR /&gt; SvcPtr = svc_port_create(50005, test_only(InPtr1, InPtr2), 824395014, 6, "tcp");&lt;BR /&gt; svc_run();&lt;BR /&gt; return 0;&lt;BR /&gt;}&lt;BR /&gt;&lt;BR /&gt;int test_only(struct svc_req *ptr1, SVCXPRT *ptr2)&lt;BR /&gt;{&lt;BR /&gt;  /* do nothing */&lt;BR /&gt;  return 0;&lt;BR /&gt;}&lt;BR /&gt;&lt;BR /&gt;HUGGG!!! its really hard time for me to fix this...&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;Anand&lt;/RPC&gt;&lt;/STDIO.H&gt;</description>
      <pubDate>Tue, 29 Oct 2002 11:04:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/rpc-help/m-p/2834800#M581393</guid>
      <dc:creator>M.R.Anand</dc:creator>
      <dc:date>2002-10-29T11:04:16Z</dc:date>
    </item>
    <item>
      <title>Re: RPC help.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/rpc-help/m-p/2834801#M581394</link>
      <description>Restart rpcd daemon with help of root after you make chages to /etc/rpc &lt;BR /&gt;&lt;BR /&gt;regards,&lt;BR /&gt;U.SivaKumar</description>
      <pubDate>Tue, 29 Oct 2002 11:43:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/rpc-help/m-p/2834801#M581394</guid>
      <dc:creator>U.SivaKumar_2</dc:creator>
      <dc:date>2002-10-29T11:43:47Z</dc:date>
    </item>
    <item>
      <title>Re: RPC help.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/rpc-help/m-p/2834802#M581395</link>
      <description>Done. now the error message is "connection refused" if i try to start the port daemon.&lt;BR /&gt;&lt;BR /&gt;thanks&lt;BR /&gt;-Anand.</description>
      <pubDate>Wed, 30 Oct 2002 01:38:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/rpc-help/m-p/2834802#M581395</guid>
      <dc:creator>M.R.Anand</dc:creator>
      <dc:date>2002-10-30T01:38:31Z</dc:date>
    </item>
    <item>
      <title>Re: RPC help.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/rpc-help/m-p/2834803#M581396</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Forgot to say , restart rpcbind daemon ( HP-UX 11.X ) or portmap daemon ( HP-UX 10.X ) after changing /etc/rpc configuration. &lt;BR /&gt;&lt;BR /&gt;After editing /etc/service restart inetd daemon&lt;BR /&gt;by&lt;BR /&gt;#inetd -c&lt;BR /&gt;&lt;BR /&gt;regards,&lt;BR /&gt;U.SivaKumar</description>
      <pubDate>Wed, 30 Oct 2002 06:41:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/rpc-help/m-p/2834803#M581396</guid>
      <dc:creator>U.SivaKumar_2</dc:creator>
      <dc:date>2002-10-30T06:41:06Z</dc:date>
    </item>
  </channel>
</rss>

