How can I fix this error to start my puppet server?

asked 2016-06-17 10:06:19 -0600

EvanA gravatar image

Trying to install an initial puppet server and when I run:

systemctl start puppetsever

I receive this error:

Job for puppetserver.service failed because the control process exited with error code. See "systemctl status puppetserver.service" and "journalctl -xe" for details.

When I run:

systemctl status puppetserver.service

The output is:

● puppetserver.service - puppetserver Service

Loaded: loaded (/usr/lib/systemd/system/puppetserver.service; disabled; vendor preset: disabled)

Active: activating (start-post) since Fri 2016-06-17 10:35:18 EDT; 12s ago

Process: 28174 ExecStartPre=/usr/bin/install --directory --owner=puppet --group=puppet --mode=775 /var/run/puppetlabs/puppetserver (code=exited, status=0/SUCCESS)

Main PID: 28175 (java); : 28176 (bash)

CGroup: /system.slice/puppetserver.service

       ├─28175 /usr/bin/java -Xms2g -Xmx2g -XX:MaxPermSize=256m -XX:OnOutOfMemoryError=kill -9 %p -Djava.security.egd=/dev/urandom -cp /opt/puppetlabs/server/apps/puppetserver/puppet-server-release.jar clojure.main -m puppetlabs.t...
       └─control
         ├─28176 /bin/bash /opt/puppetlabs/server/apps/puppetserver/ezbake-functions.sh wait_for_app
         └─28237 sleep 1

Jun 17 10:35:18 dv00012 systemd[1]: puppetserver.service holdoff time over, scheduling restart.

Jun 17 10:35:18 dv00012 systemd[1]: Starting puppetserver Service...

Jun 17 10:35:18 dv00012 java[28175]: OpenJDK 64-Bit Server VM warning: ignoring option MaxPermSize=256m; support was removed in 8.0

I've been trying to find solutions but there don't seem to be any.

edit retag flag offensive close merge delete

Comments

Can you post content from puppetserver.log or puppetserver-daemon.log ? the file can be found at /var/log/puppetlabs/puppet Also post output of puppet resource service puppetserver ensure=running

newcomer gravatar imagenewcomer ( 2016-09-03 04:08:35 -0600 )edit