Puppet-Server kann nicht in CentOS7 installiert werden

458
rɑːdʒɑ

Ich kann den Puppet-Server nicht in CentOS7 installieren und bei der Installation bekomme ich eine Fehlermeldung

2018-01-11 02:11:11,922 - [Notice]: /Stage[main]/Puppet_enterprise::Master::Puppetserver/Puppet_enterprise::Trapperkeeper::Pe_service[puppetserver]/Exec[pe-puppetserver service full restart]/returns: Job for pe-puppetserver.service failed because the control process exited with error code. See "systemctl status pe-puppetserver.service" and "journalctl -xe" for details. 2018-01-11 02:11:11,923 - [Error]: /Stage[main]/Puppet_enterprise::Master::Puppetserver/Puppet_enterprise::Trapperkeeper::Pe_service[puppetserver]/Exec[pe-puppetserver service full restart]: Failed to call refresh: 'service pe-puppetserver restart' returned 1 instead of one of [0] 2018-01-11 02:11:11,924 - [Error]: /Stage[main]/Puppet_enterprise::Master::Puppetserver/Puppet_enterprise::Trapperkeeper::Pe_service[puppetserver]/Exec[pe-puppetserver service full restart]: 'service pe-puppetserver restart' returned 1 instead of one of [0] 2018-01-11 02:11:11,926 - [Notice]: /Stage[main]/Puppet_enterprise::Master::Puppetserver/Puppet_enterprise::Trapperkeeper::Pe_service[puppetserver]/Service[pe-puppetserver]: Dependency Exec[pe-puppetserver service full restart] has failures: false 2018-01-11 02:11:11,927 - [Warning]: /Stage[main]/Puppet_enterprise::Master::Puppetserver/Puppet_enterprise::Trapperkeeper::Pe_service[puppetserver]/Service[pe-puppetserver]: Skipping because of failed dependencies 

und ich habe versucht, die Ausgabe von 'journalctl -xe' zu suchen

Jan 11 02:10:39 7247.august.com systemd[1]: Starting pe-puppetserver Service... -- Subject: Unit pe-puppetserver.service has begun start-up -- Defined-By: systemd -- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel --  -- Unit pe-puppetserver.service has begun starting up. Jan 11 02:10:50 7247.august.com puppet-agent[20808]: Config file /etc/puppetlabs/puppet/puppet.conf changed; triggering re-parse of all config files. Jan 11 02:11:11 7247.august.com puppetserver[23121]: Exception in thread "main" java.lang.IllegalArgumentException: No matching clause: :error Jan 11 02:11:11 7247.august.com puppetserver[23121]: at puppetlabs.trapperkeeper.core$main.invokeStatic(core.clj:178) Jan 11 02:11:11 7247.august.com puppetserver[23121]: at puppetlabs.trapperkeeper.core$main.doInvoke(core.clj:160) Jan 11 02:11:11 7247.august.com puppetserver[23121]: at clojure.lang.RestFn.invoke(RestFn.java:512) Jan 11 02:11:11 7247.august.com puppetserver[23121]: at clojure.lang.Var.invoke(Var.java:409) Jan 11 02:11:11 7247.august.com puppetserver[23121]: at clojure.lang.AFn.applyToHelper(AFn.java:178) Jan 11 02:11:11 7247.august.com puppetserver[23121]: at clojure.lang.Var.applyTo(Var.java:700) Jan 11 02:11:11 7247.august.com puppetserver[23121]: at clojure.core$apply.invokeStatic(core.clj:646) Jan 11 02:11:11 7247.august.com puppetserver[23121]: at clojure.core$apply.invoke(core.clj:641) Jan 11 02:11:11 7247.august.com puppetserver[23121]: at puppetlabs.trapperkeeper.main$_main.invokeStatic(main.clj:7) Jan 11 02:11:11 7247.august.com puppetserver[23121]: at puppetlabs.trapperkeeper.main$_main.doInvoke(main.clj:4) Jan 11 02:11:11 7247.august.com puppetserver[23121]: at clojure.lang.RestFn.invoke(RestFn.java:512) Jan 11 02:11:11 7247.august.com puppetserver[23121]: at clojure.lang.Var.invoke(Var.java:409) Jan 11 02:11:11 7247.august.com puppetserver[23121]: at clojure.lang.AFn.applyToHelper(AFn.java:178) Jan 11 02:11:11 7247.august.com puppetserver[23121]: at clojure.lang.Var.applyTo(Var.java:700) Jan 11 02:11:11 7247.august.com puppetserver[23121]: at clojure.core$apply.invokeStatic(core.clj:646) Jan 11 02:11:11 7247.august.com puppetserver[23121]: at clojure.main$main_opt.invokeStatic(main.clj:314) Jan 11 02:11:11 7247.august.com puppetserver[23121]: at clojure.main$main_opt.invoke(main.clj:310) Jan 11 02:11:11 7247.august.com puppetserver[23121]: at clojure.main$main.invokeStatic(main.clj:421) Jan 11 02:11:11 7247.august.com puppetserver[23121]: at clojure.main$main.doInvoke(main.clj:384) Jan 11 02:11:11 7247.august.com puppetserver[23121]: at clojure.lang.RestFn.invoke(RestFn.java:619) Jan 11 02:11:11 7247.august.com puppetserver[23121]: at clojure.lang.Var.invoke(Var.java:430) Jan 11 02:11:11 7247.august.com puppetserver[23121]: at clojure.lang.AFn.applyToHelper(AFn.java:195) Jan 11 02:11:11 7247.august.com puppetserver[23121]: at clojure.lang.Var.applyTo(Var.java:700) Jan 11 02:11:11 7247.august.com puppetserver[23121]: at clojure.main.main(main.java:37) Jan 11 02:11:11 7247.august.com puppetserver[23121]: Background process 23130 exited before start had completed Jan 11 02:11:11 7247.august.com systemd[1]: pe-puppetserver.service: control process exited, code=exited status=1 Jan 11 02:11:11 7247.august.com systemd[1]: Failed to start pe-puppetserver Service. -- Subject: Unit pe-puppetserver.service has failed -- Defined-By: systemd 

Ich versuche, die Puppet-Version "puppet-enterprise-2017.3.2" und im Textmodus sowie meine pe.conf-Datei wie folgt zu installieren

{ "console_admin_password": "admin1234", "puppet_enterprise::puppet_master_host": "7247.august.com", "pe_install::puppet_master_dnsaltnames": [ "puppet", "master", "august" ], "puppet_enterprise::use_application_services": true } 

und meine /etc/hostsDatei

127.0.0.1 7247.august.com localhost.localdomain localhost ::1 localhost6.localdomain6 localhost6 192.168.56.103 7247.august.com 

Bitte hilf mir, meinen Fehler zu finden.

Vielen Dank.

0

0 Antworten auf die Frage