HDP on Linux – Installation Forum

ambari-service startup failed

  • #28993

    This is my first time installing Horton works and Ambari-server startup failed.Here are the error logs,

    java.io.FileNotFoundException: /var/lib/ambari-server/keys/keystore.p12 (No such file or directory)
    at java.io.FileInputStream.open(Native Method)
    at java.io.FileInputStream.(FileInputStream.java:120)
    at org.eclipse.jetty.util.resource.FileResource.getInputStream(FileResource.java:282)
    at org.eclipse.jetty.util.security.CertificateUtils.getKeyStore(CertificateUtils.java:43)
    at org.eclipse.jetty.util.ssl.SslContextFactory.getKeyStore(SslContextFactory.java:1053)
    at org.eclipse.jetty.util.ssl.SslContextFactory.loadKeyStore(SslContextFactory.java:1013)
    at org.eclipse.jetty.util.ssl.SslContextFactory.doStart(SslContextFactory.java:264)
    at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
    at org.eclipse.jetty.server.ssl.SslSelectChannelConnector.doStart(SslSelectChannelConnector.java:612)
    at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
    at org.eclipse.jetty.server.Server.doStart(Server.java:286)
    at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
    at org.apache.ambari.server.controller.AmbariServer.run(AmbariServer.java:342)
    at org.apache.ambari.server.controller.AmbariServer.main(AmbariServer.java:434)
    15:36:34,629 INFO ContextHandler:795 – stopped o.e.j.s.ServletContextHandler{/,file:/usr/lib/ambari-server/web/}
    Thanks for the help.

to create new topics or reply. | New User Registration

  • Author
  • #29001

    Hi Sandeep,

    Need a bit more information:
    – What OS are you attempting to install on?
    – How many nodes in the cluster?
    – Did you make sure that all of the prerequisites are met?
    – What user are you running ambari-server as?



    Hi Ted,
    Thanks for the reply
    Red Hat Enterprise Linux Server release 6.2 (Santiago)
    Test cluster 3 nodes, currently trying to start ambari-server on master nodes
    we are using only one node so ididnt setup any ssh, other prerequisites are configured
    i’m trying to start with root


    Hi Sandeep,

    Ambari-server only needs to be one on node. Did you set up passwordless ssh to the box itself? This is required even on a single node install.



    Hi Ted,
    Due to some security concern we cant setup passwordless ssh for root. But we can setup passwordless ssh for users like hdfs,mapred,hive,pig.


    Even after doing passwordless ssh for root i’m getting the same error. Am i missing anything?

You must be to reply to this topic. | Create Account

Support from the Experts

A HDP Support Subscription connects you experts with deep experience running Apache Hadoop in production, at-scale on the most demanding workloads.

Enterprise Support »

Become HDP Certified

Real world training designed by the core architects of Hadoop. Scenario-based training courses are available in-classroom or online from anywhere in the world

Training »

Hortonworks Data Platform
The Hortonworks Data Platform is a 100% open source distribution of Apache Hadoop that is truly enterprise grade having been built, tested and hardened with enterprise rigor.
Get started with Sandbox
Hortonworks Sandbox is a self-contained virtual machine with Apache Hadoop pre-configured alongside a set of hands-on, step-by-step Hadoop tutorials.
Modern Data Architecture
Tackle the challenges of big data. Hadoop integrates with existing EDW, RDBMS and MPP systems to deliver lower cost, higher capacity infrastructure.