Support Questions

Find answers, ask questions, and share your expertise

Cloudera Agent won't start - WARNING Stopping daemon

avatar
New Contributor

Hello,

 

I tried to migrate Cloudera from 5.9 to 5.10. Cloudera Manager Server works well but the agent on the same server doesn't want to start.

The cloudera-scm-agent.log shows only this : 

 

[01/Feb/2017 14:35:48 +0000] 3347 MainThread agent        INFO     SCM Agent Version: 5.10.0
[01/Feb/2017 14:35:48 +0000] 3347 MainThread agent        INFO     Agent Protocol Version: 4
[01/Feb/2017 14:35:48 +0000] 3347 MainThread agent        INFO     Using Host ID: 8ec9211f-6612-49f6-b4d5-d2c4fc4e7ada
[01/Feb/2017 14:35:48 +0000] 3347 MainThread agent        INFO     Using directory: /home/cloudera-scm/var/run/cloudera-scm-agent
[01/Feb/2017 14:35:48 +0000] 3347 MainThread agent        INFO     Using supervisor binary path: /home/cloudera-scm/cm-5.10.0/lib64/cmf/agent/build/env/bin/supervisord
[01/Feb/2017 14:35:48 +0000] 3347 MainThread agent        INFO     Neither verify_cert_file nor verify_cert_dir are configured. Not performing validation of server certificates in HTTPS communication. These options can be configured in this agent's config.ini file to enable certificate validation.
[01/Feb/2017 14:35:48 +0000] 3347 MainThread agent        INFO     Agent Logging Level: DEBUG
[01/Feb/2017 14:35:48 +0000] 3347 MainThread agent        INFO     No command line vars
[01/Feb/2017 14:35:48 +0000] 3347 MainThread agent        INFO     Missing database jar: /usr/share/java/mysql-connector-java.jar (normal, if you're not using this database type)
[01/Feb/2017 14:35:48 +0000] 3347 MainThread agent        INFO     Missing database jar: /usr/share/java/oracle-connector-java.jar (normal, if you're not using this database type)
[01/Feb/2017 14:35:48 +0000] 3347 MainThread agent        INFO     Found database jar: /home/cloudera-scm/cm-5.10.0/share/cmf/lib/postgresql-9.0-801.jdbc4.jar
[01/Feb/2017 14:35:48 +0000] 3347 MainThread agent        INFO     Agent starting as pid 3347 user root(0) group root(0).
[01/Feb/2017 14:35:50 +0000] 3347 Dummy-1 daemonize    WARNING  Stopping daemon.

I did'nt find any other helpful logs.

How can I get more info about this ?

 

Thanks

1 ACCEPTED SOLUTION

avatar
New Contributor

It was maybe a corruption in the /var/run folder.

 

I deleted it and the agent recreated it. Now it works.

View solution in original post

2 REPLIES 2

avatar
New Contributor

It was maybe a corruption in the /var/run folder.

 

I deleted it and the agent recreated it. Now it works.

avatar

How to set DEBUG log level on agent?