Matthaus, I found that I renamed the auth.conf by mistake. Now I renamed it again and then I started the hole server again. After that I tried to start the server again in foreground. The output is attached.
Now there is written "Finished TK main lifecycle, shutting down Clojure agent threads" I am getting confused. I've downloaded a bundle from puppet and now it wont work. I can't imagine what went wrong during the installation and I blive I am not the first one to install puppetserver on a VM. Especially after i already installed it on an other VM. Hope you can help me her Michael Am Freitag, 5. August 2016 02:24:52 UTC+2 schrieb Matthaus Litteken: > > Michael, > The important bit of that log is the following: > > 2016-08-03 17:12:31,742 ERROR [async-dispatch-2] [p.t.internal] Error during > service init!!! > java.lang.IllegalArgumentException: Missing authorization service > configuration. > > > That indicates that /etc/puppetlabs/puppetserver/conf.d/auth.conf > (https://docs.puppet.com/puppetserver/2.4/config_file_auth.html) is empty or > doesn't exist. The file that is laid down by default by our packages is here: > https://github.com/puppetlabs/puppetserver/blob/master/ezbake/config/conf.d/auth.conf. > If you drop that file into /etc/puppetlabs/puppetserver/conf.d/auth.conf > the service should start successfully. If not, attach the new log and I'd be > happy to help debug further. > > > Hope that helps, > > -Matthaus > > > On Wed, Aug 3, 2016 at 8:17 AM, 'Michael Wildey' via Puppet Users < > puppet...@googlegroups.com <javascript:>> wrote: > >> Ok, I did it now in foreground, just like you told me. >> What I have done before is that I changed the webserver.conf just like it >> is described here >> >> https://docs.puppet.com/puppetserver/latest/external_ca_configuration.html#web-server-configuration >> << >> >> The output is attached. >> >> Thanks for your hep >> >> >> Michael >> >> >> Am Dienstag, 2. August 2016 18:25:39 UTC+2 schrieb Matthaus Litteken: >>> >>> Michael, >>> >>> One good way of troubleshooting this sort of thing is to use the >>> foreground command. It will attempt to start the process but log everything >>> to the console so it's easy to find. `/opt/puppetlabs/bin/puppetserver >>> foreground` should do the right thing. If you can paste or gist the log >>> output that would help a lot in figuring out what is going on. >>> >>> -Matthaus >>> >>> On Tue, Aug 2, 2016 at 7:11 AM, 'Michael Wildey' via Puppet Users < >>> puppet...@googlegroups.com> wrote: >>> >>>> I already set the RAM on 2 GB. That was the first thing I though. But >>>> still it shuts down the web server in less than a second. >>>> The Log said it is Initialzing, starting and shutting down the web >>>> server in 0,2 seconds. This is the only information I get from the >>>> puppetserver.log. Is there a other log I don't know by now where I can get >>>> more information about it? >>>> >>>> >>>> Am Freitag, 29. Juli 2016 22:03:58 UTC+2 schrieb Rob Nelson: >>>>> >>>>> You can check the logs of the puppetserver startup. A common reason is >>>>> that VMs have less RAM than the process expects to be allocated. You can >>>>> either increase the RAM or adjust the puppetserver settings to use less >>>>> RAM, with impact to the performance of course. See >>>>> https://docs.puppet.com/puppetserver/latest/install_from_packages.html#system-requirements >>>>> >>>>> if that seems a likely cause. >>>>> >>>>> >>>>> Rob Nelson >>>>> rnel...@gmail.com >>>>> >>>>> On Fri, Jul 29, 2016 at 12:18 PM, 'Michael Wildey' via Puppet Users < >>>>> puppet...@googlegroups.com> wrote: >>>>> >>>>>> I installed an puppetserver just like ist is written in the manual >>>>>> https://docs.puppet.com/puppet/4.5/reference/index.html on Debian >>>>>> Jessie. >>>>>> >>>>>> My Problem is that as soon as I want to get a cert for an agent it >>>>>> says that the puppetserver doesn't listen on Port 8140. >>>>>> Now I found out that the web server stops immediately after being >>>>>> started, but I don't know why. >>>>>> >>>>>> Any help is welcome. >>>>>> >>>>>> -- >>>>>> You received this message because you are subscribed to the Google >>>>>> Groups "Puppet Users" group. >>>>>> To unsubscribe from this group and stop receiving emails from it, >>>>>> send an email to puppet-users...@googlegroups.com. >>>>>> To view this discussion on the web visit >>>>>> https://groups.google.com/d/msgid/puppet-users/93e0e0e8-2b10-48ea-82c3-40fa8ec86d91%40googlegroups.com >>>>>> >>>>>> <https://groups.google.com/d/msgid/puppet-users/93e0e0e8-2b10-48ea-82c3-40fa8ec86d91%40googlegroups.com?utm_medium=email&utm_source=footer> >>>>>> . >>>>>> For more options, visit https://groups.google.com/d/optout. >>>>>> >>>>> >>>>> -- >>>> You received this message because you are subscribed to the Google >>>> Groups "Puppet Users" group. >>>> To unsubscribe from this group and stop receiving emails from it, send >>>> an email to puppet-users...@googlegroups.com. >>>> To view this discussion on the web visit >>>> https://groups.google.com/d/msgid/puppet-users/e2741ca6-5d04-4949-b214-4b11775c4d37%40googlegroups.com >>>> >>>> <https://groups.google.com/d/msgid/puppet-users/e2741ca6-5d04-4949-b214-4b11775c4d37%40googlegroups.com?utm_medium=email&utm_source=footer> >>>> . >>>> >>>> For more options, visit https://groups.google.com/d/optout. >>>> >>> >>> -- >> You received this message because you are subscribed to the Google Groups >> "Puppet Users" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to puppet-users...@googlegroups.com <javascript:>. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/puppet-users/695e4bc4-cc4f-4c96-98ef-5fa06705a53a%40googlegroups.com >> >> <https://groups.google.com/d/msgid/puppet-users/695e4bc4-cc4f-4c96-98ef-5fa06705a53a%40googlegroups.com?utm_medium=email&utm_source=footer> >> . >> >> For more options, visit https://groups.google.com/d/optout. >> > > -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/524f9812-0df8-43d0-8fa7-773cd28e4e42%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
root@puppetserver:/home/user# /opt/puppetlabs/bin/puppetserver foreground Warning: The following options to parse-opts are unrecognized: :flag 17:00:25.895 [main] DEBUG puppetlabs.trapperkeeper.core - Finished TK main lifecycle, shutting down Clojure agent threads. Exception in thread "main" com.typesafe.config.ConfigException$Parse: /etc/puppetlabs/puppetserver/conf.d/auth.conf: 64: Key '"path /puppet/v3/environments"' may not be followed by token: 'method' (if you intended 'method' to be part of the value for '"path /puppet/v3/environments"', try enclosing the value in double quotes) at com.typesafe.config.impl.Parser$ParseContext.parseError(Parser.java:430) at com.typesafe.config.impl.Parser$ParseContext.parseError(Parser.java:426) at com.typesafe.config.impl.Parser$ParseContext.parseObject(Parser.java:754) at com.typesafe.config.impl.Parser$ParseContext.parse(Parser.java:955) at com.typesafe.config.impl.Parser.parse(Parser.java:34) at com.typesafe.config.impl.Parseable.rawParseValue(Parseable.java:222) at com.typesafe.config.impl.Parseable.rawParseValue(Parseable.java:210) at com.typesafe.config.impl.Parseable.parseValue(Parseable.java:176) at com.typesafe.config.impl.Parseable.parseValue(Parseable.java:170) at com.typesafe.config.impl.Parseable.parse(Parseable.java:148) at com.typesafe.config.impl.SimpleIncluder.fromBasename(SimpleIncluder.java:172) at com.typesafe.config.impl.ConfigImpl.parseFileAnySyntax(ConfigImpl.java:134) at com.typesafe.config.ConfigFactory.parseFileAnySyntax(ConfigFactory.java:606) at com.typesafe.config.ConfigFactory.parseFileAnySyntax(ConfigFactory.java:610) at puppetlabs.config.typesafe$config_file__GT_map.invoke(typesafe.clj:99) at puppetlabs.trapperkeeper.config$config_file__GT_map.invoke(config.clj:54) at clojure.core$map$fn__4553.invoke(core.clj:2624) at clojure.lang.LazySeq.sval(LazySeq.java:40) at clojure.lang.LazySeq.seq(LazySeq.java:49) at clojure.lang.Cons.next(Cons.java:39) at clojure.lang.RT.boundedLength(RT.java:1735) at clojure.lang.RestFn.applyTo(RestFn.java:130) at clojure.core$apply.invoke(core.clj:632) at puppetlabs.trapperkeeper.config$load_config.invoke(config.clj:89) at puppetlabs.trapperkeeper.config$eval6650$parse_config_data__6655$fn__6656.invoke(config.clj:124) at puppetlabs.trapperkeeper.config$eval6650$parse_config_data__6655.invoke(config.clj:114) at puppetlabs.trapperkeeper.core$eval15252$boot_with_cli_data__15259$fn__15260$config_data_fn__15261.invoke(core.clj:124) at puppetlabs.trapperkeeper.core$eval15252$boot_with_cli_data__15259$fn__15260.invoke(core.clj:125) at puppetlabs.trapperkeeper.core$eval15252$boot_with_cli_data__15259.invoke(core.clj:95) at puppetlabs.trapperkeeper.core$eval15281$run__15286$fn__15287.invoke(core.clj:151) at puppetlabs.trapperkeeper.core$eval15281$run__15286.invoke(core.clj:145) at puppetlabs.trapperkeeper.core$main.doInvoke(core.clj:173) at clojure.lang.RestFn.invoke(RestFn.java:457) at clojure.lang.Var.invoke(Var.java:394) at clojure.lang.AFn.applyToHelper(AFn.java:165) at clojure.lang.Var.applyTo(Var.java:700) at clojure.core$apply.invoke(core.clj:630) at puppetlabs.trapperkeeper.main$_main.doInvoke(main.clj:7) at clojure.lang.RestFn.invoke(RestFn.java:457) at clojure.lang.Var.invoke(Var.java:394) at clojure.lang.AFn.applyToHelper(AFn.java:165) at clojure.lang.Var.applyTo(Var.java:700) at clojure.core$apply.invoke(core.clj:630) at clojure.main$main_opt.invoke(main.clj:316) at clojure.main$main.doInvoke(main.clj:421) at clojure.lang.RestFn.invoke(RestFn.java:512) at clojure.lang.Var.invoke(Var.java:409) at clojure.lang.AFn.applyToHelper(AFn.java:178) at clojure.lang.Var.applyTo(Var.java:700) at clojure.main.main(main.java:37) root@puppetserver:/home/user#