Is rpcbind needed or can it be removed?

Richard G

Verified User
Joined
Jul 6, 2008
Messages
12,566
Location
Maastricht
On our recently installed Centos 7 servers, the process is dead, looks like this:
Code:
[root@server23: /etc/csf]# systemctl status rpcbind
● rpcbind.service - RPC bind service
   Loaded: loaded (/usr/lib/systemd/system/rpcbind.service; enabled; vendor preset: enabled)
   Active: inactive (dead)

Sep 13 02:26:12 server.domain.com systemd[1]: Dependency failed for RPC bind service.
Sep 13 02:26:12 server.domain.com systemd[1]: Job rpcbind.service/start failed with result 'dependency'.

Seems some mssing dependency, I don't know why.

We also have a VPS installed it's working and I got CSF mails about it's process time (don't have it yet in csf.pignore)
Code:
[root@server: ~]# systemctl status rpcbind
● rpcbind.service - RPC bind service
   Loaded: loaded (/usr/lib/systemd/system/rpcbind.service; enabled; vendor preset: enabled)
   Active: active (running) since Thu 2019-09-19 01:32:31 CEST; 12h ago
  Process: 1521 ExecStart=/sbin/rpcbind -w $RPCBIND_ARGS (code=exited, status=0/SUCCESS)
Main PID: 1535 (rpcbind)
   CGroup: /system.slice/rpcbind.service
           └─1535 /sbin/rpcbind -w

Sep 19 01:32:31 server.mike-modding.com systemd[1]: Starting RPC bind service...
Sep 19 01:32:31 server.mike-modding.com systemd[1]: Started RPC bind service.

Since it's dead on the other servers, I wonder if it's even needed, otherwise I could just stop and delete it from the system. So is this needed for a server?
 
Last edited:
Im also interested to know if we need this as it comes up on CSF (using CentOS 8).

On most servers the following services are not needed and should be stopped and disabled from starting unless used:
rpcbind

Each service can usually be disabled using:
/bin/systemctl stop [service]
/bin/systemctl disable [service]
 
I disable mine as well. It's for Remote Procedure Calls.


 
Last edited:
Back
Top