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

0 votes

Hi Team,

I am trying to start a puppet server on an EC2 instance. But it is showing me the below error.

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

Dec 31, 2020 in Puppet by akhtar
• 38,260 points
1,746 views

1 answer to this question.

0 votes

Hi@akhtar,

There may be many reasons behind this error. Let's discuss one by one. Your system may not have enough RAM and to fix the error, open the Puppet server configuration file:

$ vim /etc/sysconfig/puppetserver

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

JAVA_ARGS="-Xms512m -Xmx512m"

After that set the DNS name of the puppet master in puppet.conf file.

$ vim /etc/puppetlabs/puppet/puppet.conf
      dns_alt_names= private dns of master(same m/c)

Next, Update the dns name in the /etc/hosts file.

$ vim /etc/hosts
    DNS name

Now let’s start the Puppet server:

$ sudo systemctl start puppetserver

answered Dec 31, 2020 by MD
• 95,460 points

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
4,035 views
+2 votes
1 answer
0 votes
1 answer

How to check the syntax of Puppet DSL code?

Hi@akhtar, At the lowest level of checking, you ...READ MORE

answered Dec 31, 2020 in Puppet by MD
• 95,460 points
826 views
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