rpc-statd.service failed with error "svc_reg() err: RPC: Remote system error - Connection refused"

Solution Verified - Updated -

Issue

  • rpc-statd.service can not be started with log below:
* rpc-statd.service - NFS status monitor for NFSv2/3 locking.
   Loaded: loaded (/usr/lib/systemd/system/rpc-statd.service; static; vendor preset: disabled)
   Active: failed (Result: exit-code) since Tue 2023-02-07 21:02:30 CST; 6min ago
  Process: 102862 ExecStart=/usr/sbin/rpc.statd $STATDARGS (code=exited, status=1/FAILURE)
 Main PID: 93050 (code=exited, status=0/SUCCESS)

Feb 07 21:02:30 <NFS-Client> rpc.statd[102863]: Flags: TI-RPC
Feb 07 21:02:30 <NFS-Client> rpc.statd[102863]: Failed to register (statd, 1, udp): svc_reg() err: RPC: Remote system error - Connection refused
Feb 07 21:02:30 <NFS-Client> rpc.statd[102863]: Failed to register (statd, 1, tcp): svc_reg() err: RPC: Remote system error - Connection refused
Feb 07 21:02:30 <NFS-Client> rpc.statd[102863]: Failed to register (statd, 1, udp6): svc_reg() err: RPC: Remote system error - Connection refused
Feb 07 21:02:30 <NFS-Client> rpc.statd[102863]: Failed to register (statd, 1, tcp6): svc_reg() err: RPC: Remote system error - Connection refused
Feb 07 21:02:30 <NFS-Client> rpc.statd[102863]: failed to create RPC listeners, exiting
Feb 07 21:02:30 <NFS-Client> systemd[1]: rpc-statd.service: control process exited, code=exited status=1
Feb 07 21:02:30 <NFS-Client> systemd[1]: Failed to start NFS status monitor for NFSv2/3 locking..
Feb 07 21:02:30 <NFS-Client> systemd[1]: Unit rpc-statd.service entered failed state.
Feb 07 21:02:30 <NFS-Client> systemd[1]: rpc-statd.service failed.

Environment

  • Red Hat Enterprise Linux 7
  • Red Hat Enterprise Linux 8
  • Red Hat Enterprise Linux 9

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content