Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

Cloudera Manager Install: scm_prepare_database.sh does not exist

SOLVED Go to solution

Cloudera Manager Install: scm_prepare_database.sh does not exist

New Contributor

I'm trying to install Cloudera Manager for a production deployment on Ubuntu 14.04.  I'm following the instructions here: https://www.cloudera.com/documentation/enterprise/latest/topics/install_cm_cdh.html

 

Through step 4, things are going well.  When I get to step 5: "Set up the Cloudera Manager Database", the instructions tell me to run 

/opt/cloudera/cm/schema/scm_prepare_database.sh

However, this script doesn't exist.  Notably, /opt/cloudera/ contains only two folders, csd and parcel-repo, both empty.  How could this be?  All previous steps ran without error.

 

This is my first Cloudera installation, and I apologize if this question contains too little detail.  Please let me know if there is more I should add.

1 ACCEPTED SOLUTION

Accepted Solutions

Re: Cloudera Manager Install: scm_prepare_database.sh does not exist

Super Collaborator

The location of "scm_prepare_database.sh" will change in CM 6.x, I will check with our documentation team as this may be a doc issue. 

 

For CM 5.x please use the default location, such as "/usr/share/cmf/schema/scm_prepare_database.sh"

 

You can check this by listing the rpm contents.

 

# rpm -qlp http://archive.cloudera.com/cm5/redhat/7/x86_64/cm/5.15/RPMS/x86_64/cloudera-manager-daemons-5.15.0-1.cm5150.p0.62.el7.x86_64.rpm | grep scm_prepare_database.sh
/usr/share/cmf/schema/scm_prepare_database.sh

Let me know if this helps

2 REPLIES 2

Re: Cloudera Manager Install: scm_prepare_database.sh does not exist

Super Collaborator

The location of "scm_prepare_database.sh" will change in CM 6.x, I will check with our documentation team as this may be a doc issue. 

 

For CM 5.x please use the default location, such as "/usr/share/cmf/schema/scm_prepare_database.sh"

 

You can check this by listing the rpm contents.

 

# rpm -qlp http://archive.cloudera.com/cm5/redhat/7/x86_64/cm/5.15/RPMS/x86_64/cloudera-manager-daemons-5.15.0-1.cm5150.p0.62.el7.x86_64.rpm | grep scm_prepare_database.sh
/usr/share/cmf/schema/scm_prepare_database.sh

Let me know if this helps

Highlighted

Re: Cloudera Manager Install: scm_prepare_database.sh does not exist

New Contributor

Yes, this solved my problem.  Thank you.