Member since
09-04-2015
10
Posts
0
Kudos Received
2
Solutions
My Accepted Solutions
Title | Views | Posted |
---|---|---|
5533 | 12-14-2016 10:27 AM | |
5080 | 09-04-2015 06:43 AM |
12-14-2016
10:27 AM
I worked around this by using this enctype in the wizard. default_tkt_enctypes = des-cbc-md5 des-cbc-crc des3-cbc-sha1 rc4-hmac
default_tgs_enctypes = des-cbc-md5 des-cbc-crc des3-cbc-sha1 rc4-hmac
permitted_enctypes = des-cbc-md5 des-cbc-crc des3-cbc-sha1 rc4-hmac Curiously I had rc4-hmac in my /etc/krb5.conf and also on the KDC server but for whatever reason it didn't seem to be working. Switching to the above encryption type solved my issue with the wizard.
... View more
12-14-2016
06:31 AM
I'm attempting to install CDH 5.9 and enable Kerberos but am getting the following error when going through the Kerberos wizard. /usr/share/cmf/bin/import_credentials.sh failed with exit code 1 and output of <<
+ export PATH=/usr/kerberos/bin:/usr/kerberos/sbin:/usr/lib/mit/sbin:/usr/sbin:/usr/lib/mit/bin:/usr/bin:/sbin:/usr/sbin:/bin:/usr/bin
+ PATH=/usr/kerberos/bin:/usr/kerberos/sbin:/usr/lib/mit/sbin:/usr/sbin:/usr/lib/mit/bin:/usr/bin:/sbin:/usr/sbin:/bin:/usr/bin
+ KEYTAB_OUT=/var/run/cloudera-scm-server/cmf4852346331449807753.keytab
+ USER=cloudera-scm/admin@TD.MYDOM.COM
+ PASSWD=REDACTED
+ KVNO=1
+ SLEEP=0
+ RHEL_FILE=/etc/redhat-release
+ '[' -f /etc/redhat-release ']'
+ set +e
+ grep Tikanga /etc/redhat-release
+ '[' 1 -eq 0 ']'
+ '[' 0 -eq 0 ']'
+ grep 'CentOS release 5' /etc/redhat-release
+ '[' 1 -eq 0 ']'
+ '[' 0 -eq 0 ']'
+ grep 'Scientific Linux release 5' /etc/redhat-release
+ '[' 1 -eq 0 ']'
+ set -e
+ '[' -z /etc/krb5.conf ']'
+ echo 'Using custom config path '\''/etc/krb5.conf'\'', contents below:'
+ cat /etc/krb5.conf
+ IFS=' '
+ read -a ENC_ARR
+ for ENC in '"${ENC_ARR[@]}"'
+ ktutil
+ echo 'addent -REDACTED -p cloudera-scm/admin@TD.MYDOM.COM -k 1 -e rc4-hmac'
+ '[' 0 -eq 1 ']'
+ echo REDACTED
+ echo 'wkt /var/run/cloudera-scm-server/cmf4852346331449807753.keytab'
+ chmod 600 /var/run/cloudera-scm-server/cmf4852346331449807753.keytab
+ kinit -k -t /var/run/cloudera-scm-server/cmf4852346331449807753.keytab cloudera-scm/admin@TD.MYDOM.COM
kinit: Generic preauthentication failure while getting initial credentials
>> The principal cloudera-scm/admin@TD.MYDOM.COM works fine when I do this on the CM Host. $ kinit cloudera-scm/admin@TD.MYDOM.COM
Password for cloudera-scm/admin@TD.MYDOM.COM:
$ klist -e
Ticket cache: FILE:/tmp/krb5cc_0
Default principal: cloudera-scm/admin@TD.MYDOM.COM
Valid starting Expires Service principal
12/14/16 09:30:07 12/14/16 09:40:07 krbtgt/TD.MYDOM.COM@TD.MYDOM.COM
renew until 12/21/16 09:30:05, Etype (skey, tkt): des3-cbc-sha1, des3-cbc-sha1
... View more
Labels:
- Labels:
-
Cloudera Manager
-
Kerberos
-
Security
02-16-2016
02:44 PM
09-21-2015
07:42 AM
Just wanted to add that I was able to work around the issue by uinstalling CM and re-installing it: $ /usr/share/cmf/uninstall-cloudera-manager.sh
... View more
09-08-2015
10:36 AM
I too ran into this issue. I manually started the Host Monitor which allowed that service to start, however I was still plagued with the error message "Cannot have empty version string segment" each time I'd login to the dashboard. Will attempt to do a uninstall and reinstall to see if it clears it up. UPDATE A uninstall/re-install seems to have cleared things up.
... View more
09-08-2015
06:18 AM
I too experienced this same error. Identical dialogs to the ones the OP posted. Was attempting to install 5.3.4 on CentOS 6.7.
... View more
09-04-2015
12:16 PM
Thanks for the tip on the CM API, wasn't aware it had one. Knowing that little bit I was able to find an example that uses Ansible: https://github.com/ymc-geko/ansible-cdh-cluster. There's an article discussing it here as well: http://blog.cloudera.com/blog/2013/08/how-to-install-cloudera-manager-and-search-with-ansible/.
... View more
09-04-2015
06:43 AM
I found the following on this website:https://groups.google.com/a/cloudera.org/forum/#!topic/scm-users/07LXywbFolk as well as here: https://community.cloudera.com/t5/Cloudera-Manager-Installation/Automate-CM-Express-Wizard-installation-via-API/td-p/2855 $ ./cloudera-manager-installer.bin --i-agree-to-all-licenses \ --noprompt --noreadme --nooptions
... View more