<?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 Ambari Server java process died with exitcode -1. in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-Server-java-process-died-with-exitcode-1/m-p/166913#M45434</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I have installed ambari-server following this link&lt;/P&gt;&lt;P&gt;&lt;A href="http://docs.hortonworks.com/HDPDocuments/Ambari-2.1.2.0/bk_Installing_HDP_AMB/content/_download_the_ambari_repo_ubuntu14.html" target="_blank"&gt;http://docs.hortonworks.com/HDPDocuments/Ambari-2.1.2.0/bk_Installing_HDP_AMB/content/_download_the_ambari_repo_ubuntu14.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Everything went well, except I am not able to start. I am getting the following response.&lt;/P&gt;&lt;P&gt;"p.p1 {margin: 0.0px 0.0px 0.0px 0.0px; font: 10.0px Monaco; color: #f4f4f4; background-color: #000000; background-color: rgba(0, 0, 0, 0.85)}
span.s1 {font-variant-ligatures: no-common-ligatures; color: #34bc26}
span.s2 {font-variant-ligatures: no-common-ligatures}
span.s3 {font-variant-ligatures: no-common-ligatures; color: #5230e1}&lt;/P&gt;&lt;P&gt;ubuntu@ip-172-31-30-230:~$ sudo ambari-server start&lt;/P&gt;&lt;P&gt;Using python  /usr/bin/python2.7&lt;/P&gt;&lt;P&gt;Starting ambari-server&lt;/P&gt;&lt;P&gt;Ambari Server running with administrator privileges.&lt;/P&gt;&lt;P&gt;About to start PostgreSQL&lt;/P&gt;&lt;P&gt;Organizing resource files at /var/lib/ambari-server/resources...&lt;/P&gt;&lt;P&gt;Server PID at: /var/run/ambari-server/ambari-server.pid&lt;/P&gt;&lt;P&gt;Server out at: /var/log/ambari-server/ambari-server.out&lt;/P&gt;&lt;P&gt;Server log at: /var/log/ambari-server/ambari-server.log&lt;/P&gt;&lt;P&gt;Waiting for server start....No passwd entry for user 'admin'&lt;/P&gt;&lt;P&gt;.....&lt;/P&gt;&lt;P&gt;ERROR: Exiting with exit code -1. &lt;/P&gt;&lt;P&gt;REASON: Ambari Server java process died with exitcode -1. Check /var/log/ambari-server/ambari-server.out for more information.&lt;/P&gt;&lt;P&gt;It says to check ambari-server.out where as this file was never created, but I do have ambari-server.log, but it doesn't have any exception or information. Please find below is the content of the log.&lt;/P&gt;&lt;P&gt;p.p1 {margin: 0.0px 0.0px 0.0px 0.0px; font: 10.0px Monaco; color: #f4f4f4; background-color: #000000; background-color: rgba(0, 0, 0, 0.85)}
span.s1 {font-variant-ligatures: no-common-ligatures}&lt;/P&gt;&lt;P&gt;06 Nov 2016 09:45:25,915  INFO [main] Configuration:657 - Generation of file with password&lt;/P&gt;&lt;P&gt;06 Nov 2016 09:45:27,185  INFO [main] Configuration:670 - Reading password from existing file&lt;/P&gt;&lt;P&gt;06 Nov 2016 09:45:28,281  INFO [main] Configuration:670 - Reading password from existing file&lt;/P&gt;&lt;P&gt;06 Nov 2016 09:45:29,401  INFO [main] Configuration:670 - Reading password from existing file&lt;/P&gt;&lt;P&gt;06 Nov 2016 09:45:30,555  INFO [main] Configuration:670 - Reading password from existing file&lt;/P&gt;&lt;P&gt;06 Nov 2016 09:45:31,700  INFO [main] Configuration:670 - Reading password from existing file&lt;/P&gt;&lt;P&gt;06 Nov 2016 09:45:32,331  INFO [main] ViewExtractor:82 - Creating archive folder /var/lib/ambari-server/resources/views/work/ADMIN_VIEW{2.1.2}.&lt;/P&gt;&lt;P&gt;06 Nov 2016 09:45:32,333  INFO [main] ViewExtractor:89 - Extracting files from ambari-admin-2.1.2.377.jar.&lt;/P&gt;&lt;P&gt;06 Nov 2016 09:45:33,035  INFO [main] Configuration:670 - Reading password from existing file&lt;/P&gt;&lt;P&gt;Please advice, thanks in advance! &lt;/P&gt;</description>
    <pubDate>Sun, 06 Nov 2016 18:03:05 GMT</pubDate>
    <dc:creator>harishkumarg12</dc:creator>
    <dc:date>2016-11-06T18:03:05Z</dc:date>
    <item>
      <title>Ambari Server java process died with exitcode -1.</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-Server-java-process-died-with-exitcode-1/m-p/166913#M45434</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I have installed ambari-server following this link&lt;/P&gt;&lt;P&gt;&lt;A href="http://docs.hortonworks.com/HDPDocuments/Ambari-2.1.2.0/bk_Installing_HDP_AMB/content/_download_the_ambari_repo_ubuntu14.html" target="_blank"&gt;http://docs.hortonworks.com/HDPDocuments/Ambari-2.1.2.0/bk_Installing_HDP_AMB/content/_download_the_ambari_repo_ubuntu14.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Everything went well, except I am not able to start. I am getting the following response.&lt;/P&gt;&lt;P&gt;"p.p1 {margin: 0.0px 0.0px 0.0px 0.0px; font: 10.0px Monaco; color: #f4f4f4; background-color: #000000; background-color: rgba(0, 0, 0, 0.85)}
span.s1 {font-variant-ligatures: no-common-ligatures; color: #34bc26}
span.s2 {font-variant-ligatures: no-common-ligatures}
span.s3 {font-variant-ligatures: no-common-ligatures; color: #5230e1}&lt;/P&gt;&lt;P&gt;ubuntu@ip-172-31-30-230:~$ sudo ambari-server start&lt;/P&gt;&lt;P&gt;Using python  /usr/bin/python2.7&lt;/P&gt;&lt;P&gt;Starting ambari-server&lt;/P&gt;&lt;P&gt;Ambari Server running with administrator privileges.&lt;/P&gt;&lt;P&gt;About to start PostgreSQL&lt;/P&gt;&lt;P&gt;Organizing resource files at /var/lib/ambari-server/resources...&lt;/P&gt;&lt;P&gt;Server PID at: /var/run/ambari-server/ambari-server.pid&lt;/P&gt;&lt;P&gt;Server out at: /var/log/ambari-server/ambari-server.out&lt;/P&gt;&lt;P&gt;Server log at: /var/log/ambari-server/ambari-server.log&lt;/P&gt;&lt;P&gt;Waiting for server start....No passwd entry for user 'admin'&lt;/P&gt;&lt;P&gt;.....&lt;/P&gt;&lt;P&gt;ERROR: Exiting with exit code -1. &lt;/P&gt;&lt;P&gt;REASON: Ambari Server java process died with exitcode -1. Check /var/log/ambari-server/ambari-server.out for more information.&lt;/P&gt;&lt;P&gt;It says to check ambari-server.out where as this file was never created, but I do have ambari-server.log, but it doesn't have any exception or information. Please find below is the content of the log.&lt;/P&gt;&lt;P&gt;p.p1 {margin: 0.0px 0.0px 0.0px 0.0px; font: 10.0px Monaco; color: #f4f4f4; background-color: #000000; background-color: rgba(0, 0, 0, 0.85)}
span.s1 {font-variant-ligatures: no-common-ligatures}&lt;/P&gt;&lt;P&gt;06 Nov 2016 09:45:25,915  INFO [main] Configuration:657 - Generation of file with password&lt;/P&gt;&lt;P&gt;06 Nov 2016 09:45:27,185  INFO [main] Configuration:670 - Reading password from existing file&lt;/P&gt;&lt;P&gt;06 Nov 2016 09:45:28,281  INFO [main] Configuration:670 - Reading password from existing file&lt;/P&gt;&lt;P&gt;06 Nov 2016 09:45:29,401  INFO [main] Configuration:670 - Reading password from existing file&lt;/P&gt;&lt;P&gt;06 Nov 2016 09:45:30,555  INFO [main] Configuration:670 - Reading password from existing file&lt;/P&gt;&lt;P&gt;06 Nov 2016 09:45:31,700  INFO [main] Configuration:670 - Reading password from existing file&lt;/P&gt;&lt;P&gt;06 Nov 2016 09:45:32,331  INFO [main] ViewExtractor:82 - Creating archive folder /var/lib/ambari-server/resources/views/work/ADMIN_VIEW{2.1.2}.&lt;/P&gt;&lt;P&gt;06 Nov 2016 09:45:32,333  INFO [main] ViewExtractor:89 - Extracting files from ambari-admin-2.1.2.377.jar.&lt;/P&gt;&lt;P&gt;06 Nov 2016 09:45:33,035  INFO [main] Configuration:670 - Reading password from existing file&lt;/P&gt;&lt;P&gt;Please advice, thanks in advance! &lt;/P&gt;</description>
      <pubDate>Sun, 06 Nov 2016 18:03:05 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-Server-java-process-died-with-exitcode-1/m-p/166913#M45434</guid>
      <dc:creator>harishkumarg12</dc:creator>
      <dc:date>2016-11-06T18:03:05Z</dc:date>
    </item>
    <item>
      <title>Re: Ambari Server java process died with exitcode -1.</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-Server-java-process-died-with-exitcode-1/m-p/166914#M45435</link>
      <description>&lt;P&gt;@&lt;A href="https://community.hortonworks.com/users/14190/harishkumarg12.html"&gt;Harish Gudella&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.hortonworks.com/users/14190/harishkumarg12.html"&gt;&lt;/A&gt;Please try running your server in DEBUG bode by editing the following line :&lt;/P&gt;&lt;PRE&gt;sed -i.bak    's/^log4j.rootLogger=INFO,file/log4j.rootLogger=DEBUG,file/'    /etc/ambari-server/conf/log4j.properties

ambari-server restart&lt;/PRE&gt;&lt;P&gt;And then it should show more details of the failure in the ambari-server.log.&lt;/P&gt;&lt;P&gt;Also please let us know if you are running your ambari server is running as a "root" user or some other user?&lt;/P&gt;</description>
      <pubDate>Sun, 06 Nov 2016 20:29:09 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-Server-java-process-died-with-exitcode-1/m-p/166914#M45435</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2016-11-06T20:29:09Z</dc:date>
    </item>
    <item>
      <title>Re: Ambari Server java process died with exitcode -1.</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-Server-java-process-died-with-exitcode-1/m-p/166915#M45436</link>
      <description>&lt;P&gt;Thanks &lt;A rel="user" href="https://community.cloudera.com/users/3823/joysensharma.html" nodeid="3823"&gt;@jss&lt;/A&gt;! I found the issue. The issue was with user I am using. Thanks a lot for helping out.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Harish&lt;/P&gt;</description>
      <pubDate>Mon, 07 Nov 2016 02:25:39 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-Server-java-process-died-with-exitcode-1/m-p/166915#M45436</guid>
      <dc:creator>harishkumarg12</dc:creator>
      <dc:date>2016-11-07T02:25:39Z</dc:date>
    </item>
  </channel>
</rss>

