Why is rpc.svcgssd not starting with message 'do you have a keytab entry for nfs/<your.host>@<YOUR.REALM> in /etc/krb5.keytab' ?

Solution Verified - Updated -

Issue

  • I want to setup secured/kerberized nfs, why is gssd not starting?
  • When executing service nfs start I see that RPC svcgssd is not starting.
  • When executing service rpcsvcgssd start I see that RPC svcgssd is not starting.
  • Why is rpc.svcgssd not starting with the following message?
rpc.svcgssd[25]: ERROR: GSS-API: error in gss_acquire_cred(): Unspecified GSS failure.  Minor code may provide more information - No principal in keytab matches desired name
rpc.svcgssd[25]: unable to obtain root (machine) credentials
rpc.svcgssd[25]: do you have a keytab entry for nfs/<your.host>@<YOUR.REALM> in /etc/krb5.keytab?

Environment

  • Red Hat Enterprise Linux (RHEL) 5 and 6
  • NFSv4
  • Kerberos

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.