Tips for finding Knowledge Articles

  • - Enter just a few key words related to your question or problem
  • - Add Key words to refine your search as necessary
  • - Do not use punctuation
  • - Search is not case sensitive
  • - Avoid non-descriptive filler words like "how", "the", "what", etc.
  • - If you do not find what you are looking for the first time,reduce the number of key words you enter and try searching again.
  • - Minimum supported Internet Explorer version is IE9
Home  >

KB-1418: SAP SSO failure with error "Permission denied in replay cache code"

Auditing and Monitoring Service ,   Authentication Service ,   Mac & PC Management Service ,  

12 April,16 at 11:13 AM

Applies to: DirectControl for SAP running on IBM AIX 5.x, 6.1


After restart of the SAP, SNC initialization failed and SAP Single Sign On failed to work. The following error is reported:

GSS-API(maj): Miscellaneous failure
GSS-API(min): Permission denied in replay cache code


This error "Permission denied in replay cache code" is usually caused by a file permission (or file ownership) problem on the cache file.  On AIX systems, the cache file is located at /var/krb5/security/creds/krb5cc_xxx,  where the number xxx is the uid of the sap adm user.


1. Check ownership and permission of /etc/krb5/krb5.keytab.  The sap adm account need access to the keytab file.
2. Check ownership and permission of /var/krb5/security/creds/krb5cc_###, where ### is the uid of the sap adm user.
3. If sap adm account have the permission to access both file, then try removing the cache file:
It will be created next time when the sap adm user login again.