Problem to start puppetserver service (Ubuntu 15 and CentOs 7)

asked 2016-07-23 19:51:45 -0500

Marcos Lira gravatar image

updated 2016-07-23 21:13:03 -0500

I'm unable to start puppetserver service on Ubuntu Willy 15.10 and CentOs 7.

CentOS 7

[root@puppetserver ~]# puppet resource service puppetserver ensure=running

eError: Could not start Service[puppetserver]: Execution of '/usr/bin/systemctl start puppetserver' returned 1: Job for puppetserver.service failed because the control process exited with error code. See "systemctl status puppetserver.service" and "journalctl -xe" for details.
Error: /Service[puppetserver]/ensure: change from stopped to running failed: Could not start Service[puppetserver]: Execution of '/usr/bin/systemctl start puppetserver' returned 1: Job for puppetserver.service failed because the control process exited with error code. See "systemctl status puppetserver.service" and "journalctl -xe" for details.
service { 'puppetserver':
  ensure => 'stopped',
}

[root@puppetserver ~]# journalctl -xe
Jul 23 21:34:25 puppetserver.marcoslab java[8912]: at puppetlabs.trapperkeeper.internal$eval13857$run_lifecycle_fns__13862.invoke(internal.clj:188)
Jul 23 21:34:25 puppetserver.marcoslab java[8912]: at puppetlabs.trapperkeeper.internal$eval14328$build_app_STAR___14337$fn$reify__14347.init(internal
Jul 23 21:34:25 puppetserver.marcoslab java[8912]: at puppetlabs.trapperkeeper.internal$eval14374$boot_services_for_app_STAR__STAR___14381$fn__14382$f
Jul 23 21:34:25 puppetserver.marcoslab java[8912]: at puppetlabs.trapperkeeper.internal$eval14374$boot_services_for_app_STAR__STAR___14381$fn__14382.i
Jul 23 21:34:25 puppetserver.marcoslab java[8912]: at puppetlabs.trapperkeeper.internal$eval14374$boot_services_for_app_STAR__STAR___14381.invoke(inte
Jul 23 21:34:25 puppetserver.marcoslab java[8912]: at clojure.core$partial$fn__4529.invoke(core.clj:2499)
Jul 23 21:34:25 puppetserver.marcoslab java[8912]: at puppetlabs.trapperkeeper.internal$eval13896$initialize_lifecycle_worker__13907$fn__13908$fn__139
Jul 23 21:34:25 puppetserver.marcoslab java[8912]: at puppetlabs.trapperkeeper.internal$eval13896$initialize_lifecycle_worker__13907$fn__13908$fn__139
Jul 23 21:34:25 puppetserver.marcoslab java[8912]: at clojure.core.async.impl.ioc_macros$run_state_machine.invoke(ioc_macros.clj:1011)
Jul 23 21:34:25 puppetserver.marcoslab java[8912]: at clojure.core.async.impl.ioc_macros$run_state_machine_wrapped.invoke(ioc_macros.clj:1015)
Jul 23 21:34:25 puppetserver.marcoslab java[8912]: at clojure.core.async$ioc_alts_BANG_$fn__12040.invoke(async.clj:378)
Jul 23 21:34:25 puppetserver.marcoslab java[8912]: at clojure.core.async$do_alts$fn__11986$fn__11989.invoke(async.clj:247)
Jul 23 21:34:25 puppetserver.marcoslab java[8912]: at clojure.core.async.impl.channels.ManyToManyChannel$fn__6807$fn__6808.invoke(channels.clj:95)
Jul 23 21:34:25 puppetserver.marcoslab java[8912]: at clojure.lang.AFn.run(AFn.java:22)
Jul 23 21:34:25 puppetserver.marcoslab java[8912]: at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
Jul 23 21:34:25 puppetserver.marcoslab java[8912]: at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
Jul 23 21:34:25 puppetserver.marcoslab java[8912]: at java.lang.Thread.run(Thread.java:745)
Jul 23 21:34:26 puppetserver.marcoslab systemd[1]: puppetserver.service: main process exited, code=exited, status=1/FAILURE
Jul 23 21:34:26 puppetserver.marcoslab systemd[1]: puppetserver.service: control process exited, code=exited status=1
Jul 23 21:34:26 puppetserver.marcoslab systemd[1]: Failed to start puppetserver Service.
-- Subject: A unidade puppetserver.service falhou
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- 
-- A unidade ...
(more)
edit retag flag offensive close merge delete

Comments

HI guys, surely i'm doing something wrong, I tryed install it on Fedora 22 too, and I got the same error :/ I followed this tutorial: http://gutocarvalho.net/octopress/2015/08/18/instalando-puppet-4-agent-and-master/

Marcos Lira gravatar imageMarcos Lira ( 2016-07-23 21:12:48 -0500 )edit

I suspect we'd need to see more of the lines from the journal. Can you provide everything from the first to the last line for your java process, java[8912] from your snippet above? For example, do you see a line that has "ERROR... Not enough available RAM" above the stack trace lines?

camlow325 gravatar imagecamlow325 ( 2016-09-24 15:03:42 -0500 )edit