title: How do I access scm database and change the status of a service there?
body: <p>This guy's question on cloudera forums summarizes my problem:</p>
  
  <p><a href="http://community.cloudera.com/t5/Cloudera-Manager-Installation/DataNode-role-stuck-in-quot-stopping-quot/td-p/36933" rel="nofollow noreferrer">http://community.cloudera.com/t5/Cloudera-Manager-Installation/DataNode-role-stuck-in-quot-stopping-quot/td-p/36933</a></p>
  
  <p>I have a hue-server service and it is stuck in the stopping state and because of that I can't manipulate it (i.e. restart it, access it, what have you). As a lot of other links suggest, I need to update the status value in the SCM database, e.g. look here:</p>
  
  <p><a href="https://community.cloudera.com/t5/Cloudera-Manager-Installation/Custom-add-on-service-stuck-in-starting-state-and-now-cannot/ta-p/39525" rel="nofollow noreferrer">https://community.cloudera.com/t5/Cloudera-Manager-Installation/Custom-add-on-service-stuck-in-starting-state-and-now-cannot/ta-p/39525</a></p>
  
  <p>The problem is that I have no idea what scm database is and how to access it, can anyone explain?</p>