Support Questions
Find answers, ask questions, and share your expertise

why ambari server not starting?

I have installed ambari server version 2.2.2.2.0-460, agent version is aslo same. NTP server is running, Ambari agent is also running, postgresql server also running but ambari server is not running giving below error:

/var/log/ambari-server/ambari-server.log file :

24 Jul 2017 18:58:20,360 ERROR [main] AmbariServer:844 - Failed to run the Ambari Server MultiException[java.io.IOException: Short read of DER length, java.io.IOException: Short read of DER length] at org.eclipse.jetty.server.Server.doStart(Server.java:275) at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64) at org.apache.ambari.server.controller.AmbariServer.run(AmbariServer.java:557) at org.apache.ambari.server.controller.AmbariServer.main(AmbariServer.java:842) java.io.IOException: Short read of DER length at sun.security.util.DerInputStream.getLength(DerInputStream.java:582) at sun.security.util.DerValue.init(DerValue.java:365) at sun.security.util.DerValue.<init>(DerValue.java:320) at sun.security.pkcs12.PKCS12KeyStore.engineLoad(PKCS12KeyStore.java:1212) at java.security.KeyStore.load(KeyStore.java:1214) at org.eclipse.jetty.util.security.CertificateUtils.getKeyStore(CertificateUtils.java:55) 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:293) at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64) at org.apache.ambari.server.controller.AmbariServer.run(AmbariServer.java:557) at org.apache.ambari.server.controller.AmbariServer.main(AmbariServer.java:842) java.io.IOException: Short read of DER length at sun.security.util.DerInputStream.getLength(DerInputStream.java:582) at sun.security.util.DerValue.init(DerValue.java:365) at sun.security.util.DerValue.<init>(DerValue.java:320) at sun.security.pkcs12.PKCS12KeyStore.engineLoad(PKCS12KeyStore.java:1212) at java.security.KeyStore.load(KeyStore.java:1214) at org.eclipse.jetty.util.security.CertificateUtils.getKeyStore(CertificateUtils.java:55) 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:293) at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64) at org.apache.ambari.server.controller.AmbariServer.run(AmbariServer.java:557) at org.apache.ambari.server.controller.AmbariServer.main(AmbariServer.java:842) 24 Jul 2017 18:58:20,384 INFO [main] ContextHandler:843 - stopped o.e.j.s.ServletContextHandler{/,file:/usr/lib/ambari-server/web/} 24 Jul 2017 18:58:20,390 INFO [main] ELContextCleaner:63 - javax.el.BeanELResolver purged 24 Jul 2017 18:58:20,394 INFO [main] ContextHandler:843 - stopped o.e.j.w.WebAppContext{/views/ADMIN_VIEW/2.2.2.0/INSTANCE,file:/var/lib/ambari-server/resources/views/work/ADMIN_VIEW%7B2.2.2.0%7D/},/var/lib/ambari-server/resources/views/work/ADMIN_VIEW{2.2.2.0} 24 Jul 2017 18:58:20,498 WARN [main] QueuedThreadPool:145 - 5 threads could not be stopped

2 REPLIES 2

Super Mentor

@Ankita Ghate

Looks like you have opened duplicate HCC Thread for the same query. Can you please close this one and continue on the other threads where already few users have shared their answered.

.

Duplicate: https://community.hortonworks.com/questions/114631/why-ambari-server-is-not-running-on-ubuntu-1404.h...

@Jay SenSharma Alright. closing this thread.