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.

Service and Host Monitor failed to start

Service and Host Monitor failed to start

Explorer

Hello,

 

I have installed Cloudera manager but Service and Host monitor does not start. The log is in below. Could you help me on this.

 

Exception in thread "main" java.lang.UnsatisfiedLinkError: Could not load library. Reasons: [Can't load library: /run/cloudera-scm-agent/process/50-cloudera-mgmt-SERVICEMONITOR/libleveldbjni-1.7-cloudera.2-SNAPSHOT.so, Can't load library: /run/cloudera-scm-agent/process/50-cloudera-mgmt-SERVICEMONITOR/libleveldbjni.so, no leveldbjni32-1.7-cloudera.2-SNAPSHOT in java.library.path, no leveldbjni-1.7-cloudera.2-SNAPSHOT in java.library.path, no leveldbjni in java.library.path]
	at org.fusesource.hawtjni.runtime.Library.doLoad(Library.java:182)
	at org.fusesource.hawtjni.runtime.Library.load(Library.java:140)
	at org.fusesource.leveldbjni.JniDBFactory.<clinit>(JniDBFactory.java:48)
	at com.cloudera.cmon.tstore.leveldb.LDBTimeSeriesMetadataStore.openMetadataDB(LDBTimeSeriesMetadataStore.java:148)
	at com.cloudera.cmon.tstore.leveldb.LDBTimeSeriesMetadataStore.<init>(LDBTimeSeriesMetadataStore.java:138)
	at com.cloudera.cmon.firehose.Main.main(Main.java:474)
2 REPLIES 2

Re: Service and Host Monitor failed to start

Explorer

@Huriye

In which version of SCM , you got this error.. 

 

 

Did you set the JAVA_HOME path correctly with JDK

Re: Service and Host Monitor failed to start

Explorer

Hello,

 

Yes I have set the java home as in below

 

[root@h-cm-prod ~]# echo $JAVA_HOME
/usr/java/jdk1.7.0_80/bin/java
[root@h-cm-prod ~]#

 

I dont know how to check version of the scm.