How to start rpcbind automatically at boot on Ubuntu 14.04 server?

6,344

I finally found one way to do it that works. I simply added the command service rpcbind start inside the /etc/rc.local script. I don't know if this is the proper way to do it, but it works.

Share:
6,344

Related videos on Youtube

Neo_999
Author by

Neo_999

Updated on September 18, 2022

Comments

  • Neo_999
    Neo_999 almost 2 years

    I have been unsuccessfully trying to configure my Ubuntu 14.04 server to start rpcbind on boot.
    RPCbind is installed and works fine if I start it manually with
    service rpcbind start
    I have added the symlinks to the runlevel directories automatically using the command
    update-rc.d rpcbind defaults
    For the record, I tried other variations of the previous command, such as update-rc.d rpcbind start 2345 and update-rc.d rpcbind enable 2345. None of them created the symlinks, only update-rc.d rpcbind defaults did.
    Now, in my default runlevel, there is a symlink that looks like this:

    S20rpcbind -> ../init.d/rpcbind
    

    Even with this, when I reboot the server, rpcbind does not start automatically. Any help to make this work will be appreciated! Thanks.

    • Admin
      Admin over 9 years
      You have to remove rcpbind-boot.override in /etc/init (look at Ubuntu upstart wiki)!