Created 06-17-2018 03:42 PM
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.
Created 06-18-2018 03:38 AM
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
Created 06-18-2018 03:38 AM
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
Created 06-18-2018 06:04 AM
Yes, this solved my problem. Thank you.
Created 02-21-2020 02:23 AM
Created on 05-20-2020 08:11 AM - edited 05-20-2020 08:17 AM
Hi,
I'm still getting an error even when I've done that
I tried running,
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
And nothing showed up.
Also:
sudo /opt/cloudera/cm/schema/scm_prepare_database.sh mysql scm scm
Gave the following Error:
sudo: /opt/cloudera/cm/schema/scm_prepare_database.sh: command not found
Created 05-20-2020 08:13 AM
I tried running,
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
And nothing showed up.
Created 05-20-2020 10:07 AM
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
I've noticed that the url you've given is /5.15/ that redirects to the latest maintenance release of the CM 5.15 which is 5.15.2.
And you've given file "cloudera-manager-daemons-5.15.0-1.cm5150.p0.62.el7.x86_64.rpm" 5.15.0 which is not present in that folder.
For your rpm -qlp to work try the /5.15.0/
rpm -qlp http://archive.cloudera.com/cm5/redhat/7/x86_64/cm/5.15.0/RPMS/x86_64/cloudera-manager-daemons-5.15.... | grep scm_prepare_database.sh