Ask Your Question

Puppet server service not starting in centos 7

asked 2016-09-26 11:59:11 -0500 gravatar image

updated 2016-09-26 13:05:47 -0500

DarylW gravatar image


Puppet server service not starting in centos 7. Please help below is the log details and config files


Service staus:

● puppetserver.service - puppetserver Service
   Loaded: loaded (/usr/lib/systemd/system/puppetserver.service; disabled; vendor preset: disabled)
   Active: activating (start-post) since Mon 2016-09-26 17:07:09 IST; 26s ago
  Process: 6694 ExecStartPre=/usr/bin/install --directory --owner=puppet --group=puppet --mode=775 /var/run/puppetlabs/puppetserver (code=exited, status=0/SUCCESS)
 Main PID: 6696 (java);         : 6697 (bash)
   CGroup: /system.slice/puppetserver.service
           ├─6696 /usr/bin/java -Xms2g -Xmx2g -XX:MaxPermSize=256m -XX:OnOutOfMemoryError=kill -9 %p -cp /opt/puppetlabs/server/apps/puppetserver/puppet-server-release.jar c...
             ├─6697 /bin/bash /opt/puppetlabs/server/apps/puppetserver/ wait_for_app
             └─6847 sleep 1

Sep 26 17:07:09 systemd[1]: Starting puppetserver Service...
Sep 26 17:07:09 java[6696]: OpenJDK 64-Bit Server VM warning: ignoring option MaxPermSize=256m; support was removed in 8.0

log file output

2016-09-26 17:08:20,584 INFO  [async-dispatch-2] [p.t.s.w.jetty9-core] Shutting down web server.
2016-09-26 17:08:20,586 INFO  [async-dispatch-2] [o.e.j.s.ServerConnector] Stopped ServerConnector@10496c61{SSL-HTTP/1.1}{}
2016-09-26 17:08:20,587 INFO  [async-dispatch-2] [o.e.j.s.h.ContextHandler] Stopped o.e.j.s.h.ContextHandler@2e443239{/puppet,null,UNAVAILABLE}
2016-09-26 17:08:20,587 INFO  [async-dispatch-2] [o.e.j.s.h.ContextHandler] Stopped o.e.j.s.h.ContextHandler@6bed5e38{/,null,UNAVAILABLE}
2016-09-26 17:08:20,587 INFO  [async-dispatch-2] [o.e.j.s.h.ContextHandler] Stopped o.e.j.s.h.ContextHandler@22aa1e14{/puppet-admin-api,null,UNAVAILABLE}
2016-09-26 17:08:20,587 INFO  [async-dispatch-2] [o.e.j.s.h.ContextHandler] Stopped o.e.j.s.h.ContextHandler@5ef6f488{/puppet-ca,null,UNAVAILABLE}
2016-09-26 17:08:20,592 INFO  [async-dispatch-2] [p.t.s.w.jetty9-core] Web server shutdown
2016-09-26 17:08:20,593 ERROR [async-dispatch-2] [p.t.internal] Error during service start!!! Address already in use
    at Method)
    at org.eclipse.jetty.server.AbstractNetworkConnector.doStart(
    at org.eclipse.jetty.server.ServerConnector.doStart(
    at org.eclipse.jetty.util.component.AbstractLifeCycle.start(
    at org.eclipse.jetty.server.Server.doStart(
    at org.eclipse.jetty.util.component.AbstractLifeCycle.start(
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(
    at java.lang.reflect.Method.invoke(
    at clojure.lang.Reflector.invokeMatchingMethod(
    at clojure.lang.Reflector.invokeNoArgInstanceMember(
    at ...
edit retag flag offensive close merge delete

1 answer

Sort by » oldest newest most voted

answered 2016-09-26 13:43:00 -0500

cprice404 gravatar image

The error that you included sounds like there is already an application running on port 8140. Also, Puppet Server contains an embedded web server that replaces the older Apache/Passenger setup, so, since you've included your passenger configuration files I suspect that what may be happening is that Apache has already bound port 8140 by the time you attempt to start the Puppet Server service.

edit flag offensive delete link more


Thanks a lot It got fixed after i changed port to 8080 in puppetmaster and how do we access through pupet using web (Exact url). gravatar ( 2016-09-26 17:28:29 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower


Asked: 2016-09-26 11:59:11 -0500

Seen: 97 times

Last updated: Sep 26 '16