Puppet error Job for puppetserver service failed because the control process exited with error code

0 votes

I have installed the puppet server on Linux 18.04 and when i'm trying to start the puppet server using 

systemctl start puppetserver

I get the error that Failed to start LSB: puppetserver.

 error “Job for puppetserver.service failed because the control process exited with error code”

How to resolve this?

Aug 5, 2019 in Puppet by Karan
• 19,610 points

1 answer to this question.

0 votes

I noticed once when I started Puppet server, after installation, the following error:

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

The error occurs because there is not enough RAM and to fix the error, open the Puppet server configuration file:

sudo nano /etc/default/puppetserver

And reduce the amount of allocated RAM for the Puppet server (for example, I specified 512m instead of 2g):

JAVA_ARGS="-Xms512m -Xmx512m"

Now let’s start the Puppet server:

sudo systemctl start puppetserver

This helped me resolve the issue and i could successfully start the puppetserver.

answered Aug 5, 2019 by Sirajul
• 59,230 points

Not necessarily, we should read the logs using journalctl -xe. In my case, I got the same error while trying to start puppetserver.

what I did was, delete the SSL in /etc/puppetlabs/puppet/ssl/ .

To regenerate it, you need to write the following command:

puppetserver ca setup --config /etc/puppetlabs/puppet/puppet.conf

Related Questions In Puppet

+15 votes
2 answers

Git management technique when there are multiple customers and need multiple customization?

Consider this - In 'extended' Git-Flow, (Git-Multi-Flow, ...READ MORE

answered Mar 27, 2018 in DevOps & Agile by DragonLord999
• 8,450 points
+2 votes
1 answer
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP