Puppet: Failed to restart puppet server

0 votes

After installing puppet server on an ubuntu 18.04, whem i tried restarting the service, it throws an error as shown below:

How do i resolve this error and restart the puppet server? kindly help.

Aug 27 in Puppet by Vaibhav
42 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 27 by Sirajul
• 40,990 points

Related Questions In Puppet

+5 votes
2 answers

How To Deploy Windows Server Using Puppet?

Deploying windows server through Puppet is similar ...READ MORE

answered Mar 26, 2018 in Puppet by shubham
• 6,890 points
361 views
0 votes
1 answer

Puppet: How can i connect the puppet server to an external node classifier?

You need to configure two settings to ...READ MORE

answered Aug 2 in Puppet by Sirajul
• 40,990 points
57 views
0 votes
1 answer

Puppet server fails to start after a new installation

Try this: Remove the existing apt repository by ...READ MORE

answered Aug 6 in Puppet by Sirajul
• 40,990 points
54 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
250 views
0 votes
1 answer