If I run puppetmasterd alone I can connect to an 0.24.x client. However, if I use passenger (2.2.11) and apache I get the following error in my apache error_log: Could not prepare for execution: Got 1 failure(s) while initializing: change from absent to file failed: Could not set file on ensure: Permission denied - /var/puppet/log/masterhttp.log Client-side I get this error: puppetd[4471]: Could not call puppetca.getcert: #<RuntimeError: HTTP- Error: 500 Internal Server Error> Mar 30 13:18:32 vmps07 puppetd[4471]: Could not request certificate: Certificate retrieval failed: HTTP-Error: 500 Internal Server Error Changing permissions, user, group ownership on /var/puppet/log/ masterhttp.log seems to have no effect. Any insights would be appreciated. Cheers-- Charles -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
Check the ownership on /etc/puppet/rack/config.ru. Should belong to puppet. The UID/GID under which puppetmasterd will run is determined by looking at config.ru Hope this helps On Tue, Mar 30, 2010 at 8:21 PM, cnjohnson <gm.johns276@gmail.com> wrote:> If I run puppetmasterd alone I can connect to an 0.24.x client. > However, if I use passenger (2.2.11) and apache I get the following > error in my apache error_log: > > Could not prepare for execution: Got 1 failure(s) while initializing: > change from absent to file failed: Could not set file on ensure: > Permission denied - /var/puppet/log/masterhttp.log > > Client-side I get this error: > > puppetd[4471]: Could not call puppetca.getcert: #<RuntimeError: HTTP- > Error: 500 Internal Server Error> > Mar 30 13:18:32 vmps07 puppetd[4471]: Could not request certificate: > Certificate retrieval failed: HTTP-Error: 500 Internal Server Error > > Changing permissions, user, group ownership on /var/puppet/log/ > masterhttp.log seems to have no effect. > > Any insights would be appreciated. > > Cheers-- > > Charles > > -- > You received this message because you are subscribed to the Google Groups "Puppet Users" group. > To post to this group, send email to puppet-users@googlegroups.com. > To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com. > For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en. > >-- Cheers, Daniel -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
I had the same error, i just changed the permissions of the config.ru file. It has to be owned by the user puppet 2010/3/30 cnjohnson <gm.johns276@gmail.com>> If I run puppetmasterd alone I can connect to an 0.24.x client. > However, if I use passenger (2.2.11) and apache I get the following > error in my apache error_log: > > Could not prepare for execution: Got 1 failure(s) while initializing: > change from absent to file failed: Could not set file on ensure: > Permission denied - /var/puppet/log/masterhttp.log > > Client-side I get this error: > > puppetd[4471]: Could not call puppetca.getcert: #<RuntimeError: HTTP- > Error: 500 Internal Server Error> > Mar 30 13:18:32 vmps07 puppetd[4471]: Could not request certificate: > Certificate retrieval failed: HTTP-Error: 500 Internal Server Error > > Changing permissions, user, group ownership on /var/puppet/log/ > masterhttp.log seems to have no effect. > > Any insights would be appreciated. > > Cheers-- > > Charles > > -- > You received this message because you are subscribed to the Google Groups > "Puppet Users" group. > To post to this group, send email to puppet-users@googlegroups.com. > To unsubscribe from this group, send email to > puppet-users+unsubscribe@googlegroups.com<puppet-users%2Bunsubscribe@googlegroups.com> > . > For more options, visit this group at > http://groups.google.com/group/puppet-users?hl=en. > >-- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
It''s worth reading the ext/rack stuff on how to set up passenger. You don''t necessarily need to use the example manifests there to set up Passenger, but we should all be capable of reading puppet manifests to work out what actually needs to be done. http://github.com/reductivelabs/puppet/tree/0.25.x/ext/rack/ On Tue, Mar 30, 2010 at 11:33 AM, smain kahlouch <smainklh@gmail.com> wrote:> I had the same error, i just changed the permissions of the config.ru file. > It has to be owned by the user puppet > > 2010/3/30 cnjohnson <gm.johns276@gmail.com> >> >> If I run puppetmasterd alone I can connect to an 0.24.x client. >> However, if I use passenger (2.2.11) and apache I get the following >> error in my apache error_log: >> >> Could not prepare for execution: Got 1 failure(s) while initializing: >> change from absent to file failed: Could not set file on ensure: >> Permission denied - /var/puppet/log/masterhttp.log >> >> Client-side I get this error: >> >> puppetd[4471]: Could not call puppetca.getcert: #<RuntimeError: HTTP- >> Error: 500 Internal Server Error> >> Mar 30 13:18:32 vmps07 puppetd[4471]: Could not request certificate: >> Certificate retrieval failed: HTTP-Error: 500 Internal Server Error >> >> Changing permissions, user, group ownership on /var/puppet/log/ >> masterhttp.log seems to have no effect. >> >> Any insights would be appreciated. >> >> Cheers-- >> >> Charles >> >> -- >> You received this message because you are subscribed to the Google Groups >> "Puppet Users" group. >> To post to this group, send email to puppet-users@googlegroups.com. >> To unsubscribe from this group, send email to >> puppet-users+unsubscribe@googlegroups.com. >> For more options, visit this group at >> http://groups.google.com/group/puppet-users?hl=en. >> > > -- > You received this message because you are subscribed to the Google Groups > "Puppet Users" group. > To post to this group, send email to puppet-users@googlegroups.com. > To unsubscribe from this group, send email to > puppet-users+unsubscribe@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/puppet-users?hl=en. >-- nigel -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
I apologize. I did read the stuff, and as soon as folk posted I hit myself! Sorry all. Cheers-- Charles On Tue, Mar 30, 2010 at 1:36 PM, Nigel Kersten <nigelk@google.com> wrote:> It''s worth reading the ext/rack stuff on how to set up passenger. > > You don''t necessarily need to use the example manifests there to set > up Passenger, but we should all be capable of reading puppet manifests > to work out what actually needs to be done. > > http://github.com/reductivelabs/puppet/tree/0.25.x/ext/rack/ > > > > On Tue, Mar 30, 2010 at 11:33 AM, smain kahlouch <smainklh@gmail.com> > wrote: > > I had the same error, i just changed the permissions of the config.rufile. > > It has to be owned by the user puppet > > > > 2010/3/30 cnjohnson <gm.johns276@gmail.com> > >> > >> If I run puppetmasterd alone I can connect to an 0.24.x client. > >> However, if I use passenger (2.2.11) and apache I get the following > >> error in my apache error_log: > >> > >> Could not prepare for execution: Got 1 failure(s) while initializing: > >> change from absent to file failed: Could not set file on ensure: > >> Permission denied - /var/puppet/log/masterhttp.log > >> > >> Client-side I get this error: > >> > >> puppetd[4471]: Could not call puppetca.getcert: #<RuntimeError: HTTP- > >> Error: 500 Internal Server Error> > >> Mar 30 13:18:32 vmps07 puppetd[4471]: Could not request certificate: > >> Certificate retrieval failed: HTTP-Error: 500 Internal Server Error > >> > >> Changing permissions, user, group ownership on /var/puppet/log/ > >> masterhttp.log seems to have no effect. > >> > >> Any insights would be appreciated. > >> > >> Cheers-- > >> > >> Charles > >> > >> -- > >> You received this message because you are subscribed to the Google > Groups > >> "Puppet Users" group. > >> To post to this group, send email to puppet-users@googlegroups.com. > >> To unsubscribe from this group, send email to > >> puppet-users+unsubscribe@googlegroups.com<puppet-users%2Bunsubscribe@googlegroups.com> > . > >> For more options, visit this group at > >> http://groups.google.com/group/puppet-users?hl=en. > >> > > > > -- > > You received this message because you are subscribed to the Google Groups > > "Puppet Users" group. > > To post to this group, send email to puppet-users@googlegroups.com. > > To unsubscribe from this group, send email to > > puppet-users+unsubscribe@googlegroups.com<puppet-users%2Bunsubscribe@googlegroups.com> > . > > For more options, visit this group at > > http://groups.google.com/group/puppet-users?hl=en. > > > > > > -- > nigel > > -- > You received this message because you are subscribed to the Google Groups > "Puppet Users" group. > To post to this group, send email to puppet-users@googlegroups.com. > To unsubscribe from this group, send email to > puppet-users+unsubscribe@googlegroups.com<puppet-users%2Bunsubscribe@googlegroups.com> > . > For more options, visit this group at > http://groups.google.com/group/puppet-users?hl=en. > >-- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
On Tue, Mar 30, 2010 at 11:41 AM, Charles Johnson <gm.johns276@gmail.com> wrote:> I apologize. I did read the stuff, and as soon as folk posted I hit myself!hah. :) No apology necessary, I was just pointing it out as lots of people are working from packaged puppet for their platform that doesn''t necessarily include that directory, or it''s not immediately obvious that it''s been placed somewhere.> Sorry all. > Cheers-- > Charles > > On Tue, Mar 30, 2010 at 1:36 PM, Nigel Kersten <nigelk@google.com> wrote: >> >> It''s worth reading the ext/rack stuff on how to set up passenger. >> >> You don''t necessarily need to use the example manifests there to set >> up Passenger, but we should all be capable of reading puppet manifests >> to work out what actually needs to be done. >> >> http://github.com/reductivelabs/puppet/tree/0.25.x/ext/rack/ >> >> >> >> On Tue, Mar 30, 2010 at 11:33 AM, smain kahlouch <smainklh@gmail.com> >> wrote: >> > I had the same error, i just changed the permissions of the config.ru >> > file. >> > It has to be owned by the user puppet >> > >> > 2010/3/30 cnjohnson <gm.johns276@gmail.com> >> >> >> >> If I run puppetmasterd alone I can connect to an 0.24.x client. >> >> However, if I use passenger (2.2.11) and apache I get the following >> >> error in my apache error_log: >> >> >> >> Could not prepare for execution: Got 1 failure(s) while initializing: >> >> change from absent to file failed: Could not set file on ensure: >> >> Permission denied - /var/puppet/log/masterhttp.log >> >> >> >> Client-side I get this error: >> >> >> >> puppetd[4471]: Could not call puppetca.getcert: #<RuntimeError: HTTP- >> >> Error: 500 Internal Server Error> >> >> Mar 30 13:18:32 vmps07 puppetd[4471]: Could not request certificate: >> >> Certificate retrieval failed: HTTP-Error: 500 Internal Server Error >> >> >> >> Changing permissions, user, group ownership on /var/puppet/log/ >> >> masterhttp.log seems to have no effect. >> >> >> >> Any insights would be appreciated. >> >> >> >> Cheers-- >> >> >> >> Charles >> >> >> >> -- >> >> You received this message because you are subscribed to the Google >> >> Groups >> >> "Puppet Users" group. >> >> To post to this group, send email to puppet-users@googlegroups.com. >> >> To unsubscribe from this group, send email to >> >> puppet-users+unsubscribe@googlegroups.com. >> >> For more options, visit this group at >> >> http://groups.google.com/group/puppet-users?hl=en. >> >> >> > >> > -- >> > You received this message because you are subscribed to the Google >> > Groups >> > "Puppet Users" group. >> > To post to this group, send email to puppet-users@googlegroups.com. >> > To unsubscribe from this group, send email to >> > puppet-users+unsubscribe@googlegroups.com. >> > For more options, visit this group at >> > http://groups.google.com/group/puppet-users?hl=en. >> > >> >> >> >> -- >> nigel >> >> -- >> You received this message because you are subscribed to the Google Groups >> "Puppet Users" group. >> To post to this group, send email to puppet-users@googlegroups.com. >> To unsubscribe from this group, send email to >> puppet-users+unsubscribe@googlegroups.com. >> For more options, visit this group at >> http://groups.google.com/group/puppet-users?hl=en. >> > > -- > You received this message because you are subscribed to the Google Groups > "Puppet Users" group. > To post to this group, send email to puppet-users@googlegroups.com. > To unsubscribe from this group, send email to > puppet-users+unsubscribe@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/puppet-users?hl=en. >-- nigel -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.