title: Failed to start puppetserver Service
body: <p>While trying to run a puppet update form a node:</p>
  
  <p><code>sudo /opt/puppetlabs/bin/puppet agent -t</code></p>
  
  <p>I get an error: </p>
  
  <pre><code>Error: Could not retrieve catalog; skipping run
  Error: Could not send report: Connection refused - connect(2) for "puppet" port 8140`
  </code></pre>
  
  <p>Elsewhere indicates this is likely a problem with the puppetserver service, and suggests to reboot the server.  Restarting didn't help, and when I try to restart the service I get failure:</p>
  
  <pre><code>~$ sudo service puppetserver restart
  Job for puppetserver.service failed because the control process exited with error code. See "systemctl status puppetserver.service" and "journalctl -xe" for details.
  </code></pre>
  
  <p>I've looked at these logs, and as a puppet/linux noob, I'm not sure what to do next.</p>
  
  <h1>systemctl status puppetserver.service</h1>
  
  <pre><code>● puppetserver.service - puppetserver Service
     Loaded: loaded (/lib/systemd/system/puppetserver.service; enabled; vendor preset: enabled)
     Active: activating (start-post) since Fri 2016-09-02 15:54:26 PDT; 2s ago
    Process: 22301 ExecStartPre=/usr/bin/install --directory --owner=puppet --group=puppet --mode=775 /var/run/puppetlabs/puppetserver (code=exited
   Main PID: 22306 (java);         : 22307 (bash)
      Tasks: 17
     Memory: 335.7M
        CPU: 5.535s
     CGroup: /system.slice/puppetserver.service
             ├─22306 /usr/bin/java -Xms6g -Xmx6g -XX:MaxPermSize=256m -XX:OnOutOfMemoryError=kill -9 %p -Djava.security.egd=/dev/urandom -cp /opt/p
             └─control
               ├─22307 /bin/bash /opt/puppetlabs/server/apps/puppetserver/ezbake-functions.sh wait_for_app
               └─22331 sleep 1
  
  Sep 02 15:54:26 puppet systemd[1]: Starting puppetserver Service...
  Sep 02 15:54:26 puppet java[22306]: OpenJDK 64-Bit Server VM warning: ignoring option MaxPermSize=256m; support was removed in 8.0
  </code></pre>
  
  <p>puppet version 4.6.1</p>