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, 2019 in Puppet by Vaibhav
1,317 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, 2019 by Sirajul
• 59,230 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 27, 2018 in Puppet by shubham
• 7,340 points
1,562 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, 2019 in Puppet by Sirajul
• 59,230 points
742 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, 2019 in Puppet by Sirajul
• 59,230 points
865 views
+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
3,524 views
+2 votes
1 answer
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP