'service rpcbind start' fails to start the rpcbind service, the command appears to do nothing
Environment
- Red Hat Enterprise Linux
Issue
- The
rpcbindinitscript does not start therpcbindservice correctly. - Neither of the following commands start the
rpcbindservice:
# 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
rpcbindinitscript located at/etc/init.d/rpcbindand compare it to a functional initscript taken from a secondary machine:
# diff rpcbind_good rpcbind_bad
- Debug the initscript using the
bash -xcommand:
# 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.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
