Reply
Highlighted
New Contributor
Posts: 2
Registered: ‎06-17-2018
Accepted Solution

Cloudera Manager Install: scm_prepare_database.sh does not exist

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.

Cloudera Employee
Posts: 220
Registered: ‎07-08-2013

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

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

New Contributor
Posts: 2
Registered: ‎06-17-2018

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

Yes, this solved my problem.  Thank you.

Announcements