Answer
New Contributor
Posts: 9
Registered: ‎09-02-2016
Accepted Solution
cannot start cloudera-scm-agent after upgrade to cm6

HI,

 

Try to follow this document for upgrading from cdh5.13

https://www.cloudera.com/documentation/enterprise/6/latest/topics/cm_upgrade_c6.html#concept_pyn_qdf...

 

in step 14

run command 'service cloudera-scm-agent start' but failed

and the log said Error: no such option: --hostname

 

What does that mean?

 

Thanks.

 

Accepted Solution
Cloudera Employee
Posts: 13
Registered: ‎04-21-2016
Answered

 

Looking at 

https://www.cloudera.com/documentation/enterprise/6/latest/topics/cm_upgrade_c6.html#concept_pyn_qdf...

 

Step 14 says:

 

If you previously stopped the Cloudera Manager Agent, start the agent:

sudo systemctl start cloudera-scm-agent

 

Please do not use the "service" command unless you're on RHEL6.

 

Other Answers: 1
Cloudera Employee Ana
Cloudera Employee
Posts: 83
Registered: ‎10-14-2015
Answered
[ Edited ]

For all OSes other than RHEL6 , the commands should be "systemctl <command> <service>. We will update our documentation. Thanks for the feedback!