Support Questions

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

Unable to run cloudera manager

avatar
New Contributor

ERROR StatusLogger No log4j2 configuration file found. Using default configuration: logging only errors t>
Dec 22 04:06:46 vhcccloudera01d cm-server[771896]: 04:06:46.929 [main] ERROR org.hibernate.engine.jdbc.spi.SqlExceptionHelper - ERROR: relation "cm_version">

 

I am trying to run cloudera manager but  my ip:7180  shows "cant be reached "

can anyone please tell how to resolve this

2 REPLIES 2

avatar
Master Collaborator

This could the possible solution, Please share the CM server logs
1) log into CM server host and take a backup file of /etc/default/cloudera-scm-server to a backup location
2) Open /etc/default/cloudera-scm-server file and add the following to the CMF_JAVA_OPTS:
-Dlog4j.configurationFile=file:/etc/cloudera-scm-server/log4j2.properties

With the above configuration, the file looks like this:
[...]
export CMF_JAVA_OPTS="[...existing...javaoptions] -Dlog4j.configurationFile=file:/etc/cloudera-scm-server/log4j2.properties"
[...]

3) Create the /etc/cloudera-scm-server/log4j2.properties file.

#chmod 644 /etc/cloudera-scm-server/log4j2.properties

4) We noticed some issues with the ODBC connector:

#ls -ltr /usr/share/java/mysql-connector-java.jar
*Not existing file

6) We copied the ODBC from a different environment. Cloudera Manager is able to start, but it is failing to connect to DB, We granted more connections in the db.properties file:
#vi /etc/cloudera-scm-server/db.properties and add the below line in this file:

> com.cloudera.cmf.orm.hibernate.c3p0.max_statements=0 <

7) After the restart, the CM server started successfully

avatar
Community Manager

@Akku97 Has the reply helped resolve your issue? If so, please mark the appropriate reply as the solution, as it will make it easier for others to find the answer in the future. Thanks


Regards,

Diana Torres,
Community Moderator


Was your question answered? Make sure to mark the answer as the accepted solution.
If you find a reply useful, say thanks by clicking on the thumbs up button.
Learn more about the Cloudera Community: