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,170 points
96 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,160 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 26, 2018 in DevOps & Agile by DragonLord999
• 8,450 points
1,063 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,160 points
63 views