Re: [Puppet Users] Puppet web server stops after being started

2016-08-31 Thread Jeremy Barlow
It sounds like you may have defined a setting called 'ssl-cert' with a literal value of '/path/to/master.pem' in your /etc/puppetlabs/puppetserver/conf.d/webserver.conf file. Maybe this was done following the instructions for "External CA Configuration" from this page

Re: [Puppet Users] Puppet web server stops after being started

2016-08-30 Thread 'Michael Wildey' via Puppet Users
It looks to me like fixing a problem and causing an other problem Now it says on the log file that there is still a problem. It is >>unable to open 'ssl-cert' file /path/to/master.pem<< and after that it is shuting down the web server again The output of the log is attached to this post Jus

Re: [Puppet Users] Puppet web server stops after being started

2016-08-29 Thread Jeremy Barlow
On Monday, August 29, 2016 at 7:44:02 AM UTC-7, Michael Wildey wrote: > I removed the ssl folder and restarted the service. > But now it say that there is one file missing. > > >>java.lang.IllegalStateException: Cannot initialize master with partial > state; need all files or none. > Found: >

Re: [Puppet Users] Puppet web server stops after being started

2016-08-29 Thread 'Michael Wildey' via Puppet Users
Jeremy, I removed the ssl folder and restarted the service. But now it say that there is one file missing. >>java.lang.IllegalStateException: Cannot initialize master with partial state; need all files or none. Found: /etc/puppetlabs/puppet/ssl/private_keys/puppetserver.localdomain.pem Missing:

Re: [Puppet Users] Puppet web server stops after being started

2016-08-23 Thread Jeremy Barlow
Michael, It looks like it got further that time but a different error came up this time: java.lang.IllegalStateException: Cannot initialize master with partial state; need all files or none. Found: /etc/puppetlabs/puppet/ssl/private_keys/puppetserver.localdomain.pem Missing: /etc/puppetlabs/pup

Re: [Puppet Users] Puppet web server stops after being started

2016-08-23 Thread 'Michael Wildey' via Puppet Users
Jeremy, it looks like the /etc/puppetlabs/puppetserver/conf.d/auth.conf is gone and has been replaced by the /etc/puppetlabs/puppet/auth.conf There is no differnence between both. I am now going to replace it with the auth.conf file wich is in the link you've being posting. I hope this will help

Re: [Puppet Users] Puppet web server stops after being started

2016-08-06 Thread Jeremy Barlow
Michael, Did you happen to move the file installed by default at /etc/puppetlabs/puppet/auth.conf to /etc/puppetlabs/puppetserver/conf.d/auth.conf. The formats for these two auth.conf files are completely different and cannot be used interchangeably. The file at /etc/puppetlabs/puppet/auth.co

Re: [Puppet Users] Puppet web server stops after being started

2016-08-05 Thread Matthaus Owens
Michael, If you don't mind posting the contents of your auth.conf as well, that could help in figuring out what is going on. It looks like there is a problem with the contents of the file, but without seeing the file, it is hard to know what specifically is wrong. Thanks, Matthaus On Fri, Aug 5,

Re: [Puppet Users] Puppet web server stops after being started

2016-08-05 Thread 'Michael Wildey' via Puppet Users
Matthaus, I found that I renamed the auth.conf by mistake. Now I renamed it again and then I started the hole server again. After that I tried to start the server again in foreground. The output is attached. Now there is written "Finished TK main lifecycle, shutting down Clojure agent threads"

Re: [Puppet Users] Puppet web server stops after being started

2016-08-04 Thread Matthaus Owens
Michael, The important bit of that log is the following: 2016-08-03 17:12:31,742 ERROR [async-dispatch-2] [p.t.internal] Error during service init!!! java.lang.IllegalArgumentException: Missing authorization service configuration. That indicates that /etc/puppetlabs/puppetserver/conf.d/auth.con

Re: [Puppet Users] Puppet web server stops after being started

2016-08-03 Thread 'Michael Wildey' via Puppet Users
Ok, I did it now in foreground, just like you told me. What I have done before is that I changed the webserver.conf just like it is described here >>https://docs.puppet.com/puppetserver/latest/external_ca_configuration.html#web-server-configuration<< The output is attached. Thanks for your hep

Re: [Puppet Users] Puppet web server stops after being started

2016-08-02 Thread Matthaus Owens
Michael, One good way of troubleshooting this sort of thing is to use the foreground command. It will attempt to start the process but log everything to the console so it's easy to find. `/opt/puppetlabs/bin/puppetserver foreground` should do the right thing. If you can paste or gist the log outpu

Re: [Puppet Users] Puppet web server stops after being started

2016-08-02 Thread 'Michael Wildey' via Puppet Users
I already set the RAM on 2 GB. That was the first thing I though. But still it shuts down the web server in less than a second. The Log said it is Initialzing, starting and shutting down the web server in 0,2 seconds. This is the only information I get from the puppetserver.log. Is there a other

Re: [Puppet Users] Puppet web server stops after being started

2016-07-29 Thread Rob Nelson
You can check the logs of the puppetserver startup. A common reason is that VMs have less RAM than the process expects to be allocated. You can either increase the RAM or adjust the puppetserver settings to use less RAM, with impact to the performance of course. See https://docs.puppet.com/puppetse

[Puppet Users] Puppet web server stops after being started

2016-07-29 Thread 'Michael Wildey' via Puppet Users
I installed an puppetserver just like ist is written in the manual https://docs.puppet.com/puppet/4.5/reference/index.html on Debian Jessie. My Problem is that as soon as I want to get a cert for an agent it says that the puppetserver doesn't listen on Port 8140. Now I found out that the web se