Skip to main content
Kartik_Agarwal
Platinum ⭐️
Platinum ⭐️
Jan 10, 2023 1:46 PM UTC
Solved

while generating the missing credantial getting below error.

Encountered error with

 

/opt/cloudera/cm/bin/gen_credentials.sh: Cannot access generated keytab file /var/run/cloudera-scm-server/cmf32289673674897789.keytab

Kartik_Agarwal
Platinum ⭐️
Jan 10, 2023 1:47 PM UTC

To resolve this issue, open /opt/cloudera/cm/bin/gen_credentials.sh for editing and add the following to the very end of the script:

exit ${PIPESTATUS[0]}

And then try generating Kerberos credentials once more. 

1 reply

Kartik_Agarwal
Platinum ⭐️
Kartik_AgarwalAuthorAnswer
Platinum ⭐️
Jan 10, 2023 1:47 PM UTC

To resolve this issue, open /opt/cloudera/cm/bin/gen_credentials.sh for editing and add the following to the very end of the script:

exit ${PIPESTATUS[0]}

And then try generating Kerberos credentials once more. 

Translate