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 in Puppet by Karan
• 1,510 points
19 views

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 by Sirajul
• 19,670 points

Related Questions In Puppet

0 votes
1 answer

Docker with Puppet: How do i run the following command "docker build -t ubuntu /tmp/ubuntu_image" using puppet code?

 Hey @Liana, Including the docker_dir parameter is equivalent to ...READ MORE

answered Aug 16 in Puppet by Sirajul
• 19,670 points
12 views
+13 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 26, 2018 in DevOps & Agile by DragonLord999
• 8,380 points
124 views
0 votes
1 answer