<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>question i can't start all services in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/i-can-t-start-all-services/m-p/193938#M62169</link>
    <description>&lt;P&gt;i can start the service one by one,&lt;/P&gt;&lt;P&gt;but when i use the 'start all' button,the browser shows:&lt;/P&gt;&lt;DIV&gt;vendor.js:127  PUT &lt;A href="http://host:8080/api/v1/clusters/&amp;lt;clusters" target="_blank"&gt;http://host:8080/api/v1/clusters/&amp;lt;clusters&lt;/A&gt; name&amp;gt;/services? 500 (Internal Server Error)&lt;/DIV&gt;
&lt;DIV&gt;and the ambari-server.log:&lt;/DIV&gt;
&lt;DIV&gt;01 Jun 2017 14:41:49,171 ERROR [qtp-ambari-client-84] AbstractResourceProvider:338 - Caught AmbariException when modifying a resource
org.apache.ambari.server.AmbariException: Invalid transition for servicecomponenthost, clusterName=&amp;lt;mycluster&amp;gt;, clusterId=2, serviceName=RANGER_KMS, componentName=RANGER_KMS_SERVER, hostname=&amp;lt;myhostname&amp;gt; currentState=INSTALL_FAILED, newDesiredState=STARTED&lt;/DIV&gt;</description>
    <pubDate>Thu, 01 Jun 2017 16:35:17 GMT</pubDate>
    <dc:creator>warthi</dc:creator>
    <dc:date>2017-06-01T16:35:17Z</dc:date>
    <item>
      <title>i can't start all services</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/i-can-t-start-all-services/m-p/193938#M62169</link>
      <description>&lt;P&gt;i can start the service one by one,&lt;/P&gt;&lt;P&gt;but when i use the 'start all' button,the browser shows:&lt;/P&gt;&lt;DIV&gt;vendor.js:127  PUT &lt;A href="http://host:8080/api/v1/clusters/&amp;lt;clusters" target="_blank"&gt;http://host:8080/api/v1/clusters/&amp;lt;clusters&lt;/A&gt; name&amp;gt;/services? 500 (Internal Server Error)&lt;/DIV&gt;
&lt;DIV&gt;and the ambari-server.log:&lt;/DIV&gt;
&lt;DIV&gt;01 Jun 2017 14:41:49,171 ERROR [qtp-ambari-client-84] AbstractResourceProvider:338 - Caught AmbariException when modifying a resource
org.apache.ambari.server.AmbariException: Invalid transition for servicecomponenthost, clusterName=&amp;lt;mycluster&amp;gt;, clusterId=2, serviceName=RANGER_KMS, componentName=RANGER_KMS_SERVER, hostname=&amp;lt;myhostname&amp;gt; currentState=INSTALL_FAILED, newDesiredState=STARTED&lt;/DIV&gt;</description>
      <pubDate>Thu, 01 Jun 2017 16:35:17 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/i-can-t-start-all-services/m-p/193938#M62169</guid>
      <dc:creator>warthi</dc:creator>
      <dc:date>2017-06-01T16:35:17Z</dc:date>
    </item>
    <item>
      <title>Re: i can't start all services</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/i-can-t-start-all-services/m-p/193939#M62170</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/18625/wartihwhite.html" nodeid="18625"&gt;@white wartih&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Can you pelase share the complete stackTrace of the failure from the ambari-server.log?&lt;/P&gt;</description>
      <pubDate>Thu, 01 Jun 2017 16:41:25 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/i-can-t-start-all-services/m-p/193939#M62170</guid>
      <dc:creator>jsensharma</dc:creator>
      <dc:date>2017-06-01T16:41:25Z</dc:date>
    </item>
    <item>
      <title>Re: i can't start all services</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/i-can-t-start-all-services/m-p/193940#M62171</link>
      <description>&lt;P&gt;&lt;A href="https://community.hortonworks.com/users/3418/jsensharma.html"&gt;@Jay SenSharma&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.hortonworks.com/users/3418/jsensharma.html"&gt;&lt;/A&gt;&lt;A href="https://community.cloudera.com/legacyfs/online/attachments/15924-ambari-serverlog.txt"&gt;ambari-serverlog.txt&lt;/A&gt;&lt;/P&gt;&lt;P&gt;i restart the ambari-server this morning&lt;/P&gt;&lt;P&gt;thanks for help!&lt;/P&gt;</description>
      <pubDate>Fri, 02 Jun 2017 09:04:49 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/i-can-t-start-all-services/m-p/193940#M62171</guid>
      <dc:creator>warthi</dc:creator>
      <dc:date>2017-06-02T09:04:49Z</dc:date>
    </item>
    <item>
      <title>Re: i can't start all services</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/i-can-t-start-all-services/m-p/193941#M62172</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/18625/wartihwhite.html" nodeid="18625"&gt;@white wartih&lt;/A&gt;
From your previous log snippet shows that the "RANGER_KMS" is also not installed properly hence it is in "INSTALL_FAILED" state.
&lt;/P&gt;&lt;PRE&gt;org.apache.ambari.server.AmbariException: Invalid transition for servicecomponenthost, clusterName=&amp;lt;mycluster&amp;gt;, clusterId=2, serviceName=RANGER_KMS, componentName=RANGER_KMS_SERVER, 
hostname=&amp;lt;myhostname&amp;gt; currentState=INSTALL_FAILED, newDesiredState=STARTED &lt;/PRE&gt;&lt;P&gt;
From your attached log we see that the "RANGER" service is not installed properly  it is currently in "INSTALL_FAILED" state:&lt;/P&gt;&lt;PRE&gt;org.apache.ambari.server.AmbariException: Invalid transition for servicecomponenthost, clusterName=bb, clusterId=2, serviceName=RANGER, componentName=RANGER_ADMIN, hostname=&amp;lt;myhostname&amp;gt;, currentState=INSTALL_FAILED, newDesiredState=STARTED&lt;/PRE&gt;&lt;P&gt;
We will suggest you to completely remove the "RANGER" and "RANGER_KMS" services first and then try adding them freshly because they are not installed properly.  If you face any error/issue during installing these services then please let us know.&lt;/P&gt;&lt;P&gt;
Either Using Ambari UI or Using API call as well we can try deleting those services (if that does not work due to some issues then let us know)&lt;/P&gt;&lt;PRE&gt;# curl -u admin:admin -H "X-Requested-By: ambari" -X DELETE &lt;A href="http://&amp;lt;AMBARi_SERVER_HOST&amp;gt;:8080/api/v1/clusters/&amp;lt;$CLUSTER_NAME&amp;gt;/services/RANGER_KMS" target="_blank"&gt;http://&amp;lt;AMBARi_SERVER_HOST&amp;gt;:8080/api/v1/clusters/&amp;lt;$CLUSTER_NAME&amp;gt;/services/RANGER_KMS&lt;/A&gt;

# curl -u admin:admin -H "X-Requested-By: ambari" -X DELETE &lt;A href="http://&amp;lt;AMBARi_SERVER_HOST&amp;gt;:8080/api/v1/clusters/&amp;lt;$CLUSTER_NAME&amp;gt;/services/RANGER" target="_blank"&gt;http://&amp;lt;AMBARi_SERVER_HOST&amp;gt;:8080/api/v1/clusters/&amp;lt;$CLUSTER_NAME&amp;gt;/services/RANGER&lt;/A&gt;&lt;/PRE&gt;&lt;P&gt;.&lt;/P&gt;</description>
      <pubDate>Fri, 02 Jun 2017 10:29:56 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/i-can-t-start-all-services/m-p/193941#M62172</guid>
      <dc:creator>jsensharma</dc:creator>
      <dc:date>2017-06-02T10:29:56Z</dc:date>
    </item>
  </channel>
</rss>

