Header Shadow Image


Cloudera Manager: Exception: It seems that a CA setup has already been created.

If you get this message:

Exception: It seems that a CA setup has already been created.

simply remove the folder:

[root@cm-r01nn01 ~]# rmdir /var/lib/cloudera-scm-server/certmanager

And rerun the correct command as per the Cloudera Installation Pages:

JAVA_HOME=/usr/java/jdk1.8.0_181-cloudera /opt/cloudera/cm-agent/bin/certmanager setup –configure-services

Note that the original error resulted because we were using a newer version of Java and therefore the Cloudera WIKI pages were slightly dated vs the binaries we were using:

JAVA_HOME=/usr/java/jdk1.8.0_141-cloudera /opt/cloudera/cm-agent/bin/certmanager setup --configure-services

This is the reason behind the original error.  Once successful, the output should be as follows:

[root@cm-r01nn01 ~]# JAVA_HOME=/usr/java/jdk1.8.0_181-cloudera /opt/cloudera/cm-agent/bin/certmanager setup –configure-services
INFO:root:Logging to /var/log/cloudera-scm-agent/certmanager.log
[root@cm-r01nn01 ~]# ls -altri /var/lib/cloudera-scm-server/certmanager
total 24
  3317904 drwxrwx—. 3 cloudera-scm cloudera-scm   24 Mar  3 23:44 ..
 71595544 -rw-r–r–. 1 cloudera-scm cloudera-scm   65 Mar  3 23:44 frozen_config.ini
134523303 drwx——. 2 cloudera-scm cloudera-scm 4096 Mar  3 23:44 private
202434209 drwxr-xr-x. 2 cloudera-scm cloudera-scm 4096 Mar  3 23:44 trust-store
 71595545 drwx——. 4 cloudera-scm cloudera-scm   76 Mar  3 23:44 CMCA
  3435858 drwx——. 3 cloudera-scm cloudera-scm   35 Mar  3 23:44 hosts-key-store
 71595550 -rwxr-xr-x. 1 cloudera-scm cloudera-scm  144 Mar  3 23:44 generate_host_cert
 71595543 drwxr-xr-x. 6 cloudera-scm cloudera-scm 4096 Mar  3 23:44 .
 71595311 -rw——-. 1 cloudera-scm cloudera-scm  835 Mar  3 23:44 cm_init.txt
[root@cm-r01nn01 ~]#

 

Thx,
TK

Leave a Reply

You must be logged in to post a comment.


     
  Copyright © 2003 - 2013 Tom Kacperski (microdevsys.com). All rights reserved.

Creative Commons License
This work is licensed under a Creative Commons Attribution 3.0 Unported License