Support Questions

Find answers, ask questions, and share your expertise
Announcements
Celebrating as our community reaches 100,000 members! Thank you!

/opt/cloudera/cm/schema/scm_prepare_database.sh: No such file or directory

avatar
Explorer

I am installing Cloudera Enterprise 6.3.x and I am at step 5 (https://docs.cloudera.com/documentation/enterprise/6/6.3/topics/prepare_cm_database.html#scm_prepare...) .

 

I could not find /opt/cloudera/cm/schema/scm_prepare_database.sh file in my installation

 

Please help

1 ACCEPTED SOLUTION

avatar
Master Mentor

@Harisc4y 

Bingooooooooo !  You are trying to install CDH on Operating System that is not certified no wonder all this headache I can now go to sleep.
We NEVER stress enough before embarking on deploying a software HDP or CDH you MUST read the vendor's release notes and most important the compatibility matrix. Not heeding to these pre-requisites always leads to a very bad first experience.  

 

I downloaded and fired up your VM successfully, I then started form the basics Memory, CPU and networking then I saw a strange UI so checking the version confirmed my fears

 

Unsupported OS

001_Centos7.7b.PNG

 

 

Cloudera Compatability Matrix

Reference:

https://docs.cloudera.com/documentation/enterprise/6/release-notes/topics/rg_os_requirements.html#c6...
001_Supported OS.PNG

Currently, Centos/RHEL 7.6 is the  latest  compatible version so no need to proceed  further with investigations 

Happy hadooping

 










 

 

 

 

 

 

 

View solution in original post

6 REPLIES 6

avatar
Master Mentor

@Harisc4y 

 

The prepare database script is delivered by the previous steps 

Step 1: Configure a Repository

Configure  the Repository by running or chose appropriate CDH repos

$ sudo wget https://archive.cloudera.com/cm6/6.3.0/redhat7/yum/cloudera-manager.repo -P /etc/yum.repos.d/

Import the repository signing GPG key for Redhat 7 

sudo rpm --import https://archive.cloudera.com/cm6/6.3.0/redhat7/yum/RPM-GPG-KEY-cloudera

 

Step 3: Install Cloudera Manager Server for RHEL7 

or choose cm agent
$ sudo yum install cloudera-manager-daemons cloudera-manager-agent cloudera-manager-server

After the above steps, scm_prepare_database.sh  should have been delivered you can check that 

 

$ ll /opt/cloudera/cm/schema/

 

Hope that helps

avatar
Explorer

That did not help, I reinstalled but still no luck

[root@localhost ~]# ll /opt/cloudera/cm/

ls: cannot access /opt/cloudera/cm/: No such file or directory

avatar
Explorer

That didn't work, I reinstalled but still no luck...

[root@localhost ~]# ll /opt/cloudera/cm/

ls: cannot access /opt/cloudera/cm/: No such file or directory

avatar
Master Mentor

@Harisc4y 

Thats weird.can you share the following information

  • OS
  • Contents of your repo file
  • File System layout
  • Steps followed or documents
  • CM logs

Deployment shouldn't be that  complicated I will setup a VM to try that out.

 

 

avatar
Explorer

Thank you for your reply, I have uploaded my VM image here (https://drive.google.com/file/d/1vYXSmYyRPr4ahnt0gCwJ3LYuV1j_t7FX/view?usp=sharing) . You may download and check it.

 

userId : root

Password : postal

avatar
Master Mentor

@Harisc4y 

Bingooooooooo !  You are trying to install CDH on Operating System that is not certified no wonder all this headache I can now go to sleep.
We NEVER stress enough before embarking on deploying a software HDP or CDH you MUST read the vendor's release notes and most important the compatibility matrix. Not heeding to these pre-requisites always leads to a very bad first experience.  

 

I downloaded and fired up your VM successfully, I then started form the basics Memory, CPU and networking then I saw a strange UI so checking the version confirmed my fears

 

Unsupported OS

001_Centos7.7b.PNG

 

 

Cloudera Compatability Matrix

Reference:

https://docs.cloudera.com/documentation/enterprise/6/release-notes/topics/rg_os_requirements.html#c6...
001_Supported OS.PNG

Currently, Centos/RHEL 7.6 is the  latest  compatible version so no need to proceed  further with investigations 

Happy hadooping