'service rpcbind start' fails to start the rpcbind service, the command appears to do nothing

Solution Verified - Updated -

Environment

  • Red Hat Enterprise Linux

Issue

  • The rpcbind initscript does not start the rpcbind service correctly.
  • Neither of the following commands start the rpcbind service:
 # service rpcbind start 
 # /etc/init.d/rpcbind start
  • The service can manually be started using the command:
 # /sbin/rpcbind

Resolution

  • Ensure the following line is present in /etc/sysconfig/network:
NETWORKING=yes  

Diagnostic Steps

  • If possible inspect the rpcbind initscript located at /etc/init.d/rpcbind and compare it to a functional initscript taken from a secondary machine:
 # diff rpcbind_good rpcbind_bad
  • Debug the initscript using the bash -x command:
 # bash -x /etc/init.d/rpcbind start

This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.

Comments