Solaris Troubleshooting : error “RPC: program not registered” Errors

[vc_row][vc_column width=”2/3″][vc_text_separator title=”Other Learning Articles that you may like to read” color=”black”][vc_tta_tour style=”flat” spacing=”2″ gap=”2″ controls_size=”sm” active_section=”1″ css=”.vc_custom_1469259876636{background-color: #ffffff !important;}” no_fill_content_area=”true”][vc_tta_section title=”Latest Articles” tab_id=”1468871183598-9466d85c-9ce4″][vc_masonry_grid post_type=”post” max_items=”50″ style=”load-more” items_per_page=”7″ element_width=”12″ gap=”2″ item=”17530″ grid_id=”vc_gid:1469282723468-c7b025065176ca8c9d9de4399966c6ec-7″ btn_add_icon=”true” btn_custom_onclick=”true” css=”.vc_custom_1469258760195{background-color: #eaeaea !important;}”][/vc_tta_section][vc_tta_section title=”Information Centers” tab_id=”1468869118809-6c32c26d-7a73″][vc_masonry_grid post_type=”post” max_items=”30″ style=”load-more” items_per_page=”7″ element_width=”12″ gap=”2″ item=”17530″ btn_title=”Show me More Posts” btn_shape=”round” grid_id=”vc_gid:1469282723519-5bda201289ffc3488d36d95b9a511fdc-10″ taxonomies=”674″ btn_add_icon=”true” btn_custom_onclick=”true” css=”.vc_custom_1469282769356{background-color: #dbdbdb !important;}”][/vc_tta_section][vc_tta_section title=”Linux Admin” tab_id=”1468863117966-71d46596-1349″][vc_masonry_grid post_type=”post” max_items=”100″ style=”load-more” items_per_page=”7″ element_width=”12″ gap=”2″ item=”17530″ initial_loading_animation=”none” grid_id=”vc_gid:1469282723571-63cba23831dc7526adf19df94fd0828e-3″ taxonomies=”35, 649, 427″ btn_add_icon=”true” btn_custom_onclick=”true” css=”.vc_custom_1469258736301{background-color: #ededed !important;}”][/vc_tta_section][vc_tta_section title=”Solaris Admin” tab_id=”1468859378329-df794d2f-31ff”][vc_masonry_grid post_type=”post” max_items=”50″ style=”load-more” items_per_page=”7″ element_width=”12″ gap=”5″ item=”17530″ initial_loading_animation=”none” grid_id=”vc_gid:1469282723619-7293ebb36536eb1860a075d903dcb71f-5″ taxonomies=”125, 65, 84″ btn_add_icon=”true” btn_custom_onclick=”true” css=”.vc_custom_1469258528977{background-color: #eaeaea !important;}”][/vc_tta_section][vc_tta_section title=”VxVM Admin” tab_id=”1468863449237-8094f6e6-e47a”][vc_masonry_grid post_type=”post” max_items=”40″ style=”load-more” items_per_page=”7″ element_width=”12″ gap=”5″ item=”17530″ initial_loading_animation=”none” grid_id=”vc_gid:1469282723666-38716db4886d75c4e259e23ceed8d18e-4″ taxonomies=”20″ btn_add_icon=”true” btn_custom_onclick=”true” css=”.vc_custom_1469258547772{background-color: #eaeaea !important;}”][/vc_tta_section][vc_tta_section title=”VCS Admin” tab_id=”1468859393073-b591c633-e80c”][vc_masonry_grid post_type=”post” max_items=”40″ style=”load-more” items_per_page=”7″ element_width=”12″ gap=”2″ item=”17530″ grid_id=”vc_gid:1469282723714-67f3aac26e429b44918631262b219431-0″ taxonomies=”587, 636, 95, 93, 94, 96, 98, 583″ btn_add_icon=”true” btn_custom_onclick=”true” css=”.vc_custom_1469258815100{background-color: #e5e5e5 !important;}”][/vc_tta_section][vc_tta_section title=”Career Guidance” tab_id=”1468859409803-7e8f1d27-b880″][vc_masonry_grid post_type=”post” max_items=”50″ style=”load-more” items_per_page=”7″ element_width=”12″ gap=”2″ item=”17530″ grid_id=”vc_gid:1469282723757-bf496e80da38119f50feee30d2d9bae7-1″ taxonomies=”27, 156″ btn_add_icon=”true” btn_custom_onclick=”true” css=”.vc_custom_1469258835863{background-color: #e5e5e5 !important;}”][/vc_tta_section][vc_tta_section title=”Scripting” tab_id=”1468863616077-d75c044f-0d6a”][vc_masonry_grid post_type=”post” max_items=”50″ style=”load-more” items_per_page=”7″ element_width=”12″ gap=”5″ item=”17530″ grid_id=”vc_gid:1469282723805-e82cf3f477d33494c907fdfc921fb261-2″ taxonomies=”117″ btn_add_icon=”true” btn_custom_onclick=”true”][/vc_tta_section][vc_tta_section title=”Storage Admin” tab_id=”1468864446328-8f46c04c-e442″][vc_masonry_grid post_type=”post” max_items=”50″ style=”load-more” items_per_page=”7″ element_width=”12″ gap=”2″ item=”17530″ initial_loading_animation=”none” grid_id=”vc_gid:1469282723828-fc94cceb74954650b42d157258f9c6e0-7″ taxonomies=”87, 63, 86, 124, 109″ btn_add_icon=”true” btn_custom_onclick=”true” css=”.vc_custom_1469259411409{background-color: #e0e0e0 !important;}”][/vc_tta_section][vc_tta_section title=”Quick Reference” tab_id=”1468864576012-b7f2e683-10d4″][vc_masonry_grid post_type=”post” max_items=”30″ style=”load-more” items_per_page=”6″ element_width=”12″ gap=”2″ item=”17530″ grid_id=”vc_gid:1469282723883-7e90c912885cc85cdc19d133fe4849f2-2″ taxonomies=”116, 625, 624, 626″ btn_add_icon=”true” btn_custom_onclick=”true” css=”.vc_custom_1469258877449{background-color: #dddddd !important;}”][/vc_tta_section][/vc_tta_tour][/vc_column][vc_column width=”1/3″][vc_text_separator title=”Free Courses We Offer” color=”black”][vc_btn title=”Linux Administration Interview Preparation `{`Free Email Crash Course`}`” style=”outline-custom” outline_custom_color=”#666666″ outline_custom_hover_background=”#666666″ outline_custom_hover_text=”#ffffff” shape=”square” align=”center” link=”url:http%3A%2F%2Funixadminschool.com%2Fblog%2F2016%2F03%2Ffree-email-crash-course-for-linux-admin-interview-preparation%2F||target:%20_blank|” button_block=”true”][vc_btn title=”Roles and Responsibilities of System Admin `{`Free Course`}` ” style=”outline-custom” outline_custom_color=”#666666″ outline_custom_hover_background=”#666666″ outline_custom_hover_text=”#ffffff” shape=”square” align=”center” link=”url:http%3A%2F%2Funixadminschool.com%2Fmember%2Fcourse%2Fknow-about-solaris-system-administration-job%2F||target:%20_blank|” button_block=”true”][vc_btn title=”Getting Started with RHEL7 Administration `{`Free Course`}` ” style=”outline-custom” outline_custom_color=”#666666″ outline_custom_hover_background=”#666666″ outline_custom_hover_text=”#ffffff” shape=”square” align=”center” link=”url:http%3A%2F%2Funixadminschool.com%2Fmember%2Fcourse%2Ffree-course-getting-started-with-red-hat-enterprise-linux-7%2F||target:%20_blank|” button_block=”true”][vc_text_separator title=”Paid Training Courses we Offer” color=”black”][vc_tta_tabs style=”flat” color=”black” gap=”2″ active_section=”1″ no_fill_content_area=”true” css=”.vc_custom_1469259083495{background-color: #f2f2f2 !important;border-radius: 1px !important;}”][vc_tta_section title=”Self Paced Courses” tab_id=”1469255118344-7aa625f2-e823″][vc_btn title=”Solaris11 Self Paced Video Learning” style=”classic” color=”primary” align=”center” link=”url:http%3A%2F%2Funixadminschool.com%2Fmember%2Fcourse%2Fsolaris11-administration-for-experience-solaris10-administrators%2F||target:%20_blank|” button_block=”true”][vc_btn title=”RHEL7 Self Paced Video Learning” style=”classic” color=”primary” align=”center” link=”url:http%3A%2F%2Funixadminschool.com%2Fmember%2Fproduct%2Fbecome-an-expert-in-red-hat-enterprise-linux-7%2F||target:%20_blank|” button_block=”true”][vc_btn title=”VxVM + VCS Self Paced Video Learning” style=”classic” color=”primary” align=”center” link=”url:http%3A%2F%2Funixadminschool.com%2Fmember%2Fproduct%2Fstorage-foundation-and-vcs-administration-for-unix-and-linux-engineers%2F||target:%20_blank|” button_block=”true”][vc_btn title=”Solaris10 Self Paced Video Learning” style=”classic” color=”primary” align=”center” link=”url:http%3A%2F%2Funixadminschool.com%2Fmember%2Fproduct%2Fsolaris-associate-membership%2F||target:%20_blank|” button_block=”true”][vc_btn title=”Puppet Automation Self Paced Video Learning” style=”classic” color=”primary” align=”center” link=”url:http%3A%2F%2Funixadminschool.com%2Fmember%2Fcourse%2Fautomation-with-puppet-self-paced-video-learning%2F||target:%20_blank|” button_block=”true”][/vc_tta_section][vc_tta_section title=”Live Webex” tab_id=”1469255118345-d6338902-a6d4″][vc_btn title=”Solaris 11 Administration Live WebEx” style=”classic” color=”warning” align=”center” link=”url:http%3A%2F%2Funixadminschool.com%2Fmember%2Fcourse%2Fsolaris11-administration-for-experience-solaris10-administrators%2F||target:%20_blank|” button_block=”true”][vc_btn title=”Puppet Automation – Live WebEx” style=”classic” color=”warning” align=”center” link=”url:http%3A%2F%2Funixadminschool.com%2Fmember%2Fcourse%2Fautomation-with-puppet-self-paced-video-learning%2F||target:%20_blank|” button_block=”true”][vc_btn title=”Veritas ( VCS+VxVM) Live Webex” style=”classic” color=”warning” align=”center” link=”url:http%3A%2F%2Funixadminschool.com%2Fmember%2Fproduct%2Fveritas-training-vxvm-vcs-live-webex-training%2F||target:%20_blank|” button_block=”true”][/vc_tta_section][/vc_tta_tabs][vc_separator][/vc_column][/vc_row]

When we trying to use a particular RPC  program, below may indicate that rpcbind is not running or the program is not registered with rpcbind.

Error “RPC: Program not registered”


When an RPC service is started, it makes a library call that tells rpcbind the address at which it is listening and the RPC version numbers it is prepared to serve.

When a client wishes to make an RPC call to a given program number, it first contacts rpcbind on the server machine to determine the address to which requests should be sent. Therefore, if rpcbind is not running, RPC processes would not be registered on the server.

To check whether rpcbind is running:

On Server :

$ ps -e | grep rpcbind

139 ?        0:00 rpcbind

$ pgrep -l rpcbind

139 rpcbind

From a client: (and the server could also be client)

use rpcinfo The rpcinfo(1M) command lists RPC services available. If there are plenty of services listed, it is possible that the particular service required is no longer registered.  If there are no services registered then it is most likely that rpcbind has been restarted and all previous RPC bindings have been lost.

$ rpcinfo -s servername

Also, rpcbind should be started before any RPC service.  If a RPC daemon is started before rpcbind, the daemon will run but will not be registered and will therefore not be accessible. To check whether a particular service is running a call can be made to the specific service. Just because a service is registered doesn’t mean it is responding. The rpcinfo(1M) command can make an explicit call to a specific service.

$ rpcinfo -T tcp servername nfs

program 100003 version 2 ready and waiting
program 100003 version 3 ready and waiting

If an RPC based daemon is not registered but is running (verified with the ‘ps’ command) then restarting the daemon should cause it to register.

Not all RPC based daemons can easily or safely be restarted and in many cases it is simpler to reboot. Do not attempt to restart rpcbind using /etc/init.d/rpc. The “stop” script kills the rpcbind process which will lose all existing bindings.  The “start” script starts rpcbind with no bindings at all.

The “start” and “stop” functions of /etc/init.d/rpc are only intended for system start-up and shutdown. If rpcbind has been stopped and restarted without the use of the “warm start” feature then the safest recovery procedure is to reboot.

A partial recovery can be made by restarting any RPC daemons and sending a HUP signal to inetd to reregister RPC services it manages.  This is not recommended and a clean reboot is always the preferred method of recovery.

Ramdev

I have started unixadminschool.com ( aka gurkulindia.com) in 2009 as my own personal reference blog, and later sometime i have realized that my leanings might be helpful for other unixadmins if I manage my knowledge-base in more user friendly format. And the result is today's' unixadminschool.com. You can connect me at - https://www.linkedin.com/in/unixadminschool/

2 Responses

  1. September 16, 2015

    […] Read – error “RPC: program not registered” Errors […]

  2. September 17, 2015

    […] Read – error “RPC: program not registered” Errors […]

Leave a Reply

Your email address will not be published. Required fields are marked *