I followed these instructions http://reductivelabs.com/trac/puppet/wiki/UsingMongrel I had to make the following changes: 1) mod_env is required for SetEnv 2) "combined" logformat must be defined 3) /var/www/puppet has to be owned by puppet recursively I then started httpd: httpd -f /etc/httpd/conf/httpd.conf.puppet And then started puppet with mongrel: puppetmasterd --servertype mongrel --masterport 18140 --pid /var/www/ puppet/run/puppetmasterd.18140.pid Running pupptd i get the following: info: Loading fact datacenter info: Retrieving plugins err: Could not call fileserver.list: #<RuntimeError: HTTP-Error: 403 Forbidden> err: /File[/var/puppet/lib/puppet]: Failed to generate additional resources during transaction: HTTP-Error: 403 Forbidden err: Could not call fileserver.describe: #<RuntimeError: HTTP-Error: 403 Forbidden> err: /File[/var/puppet/lib/puppet]/source: Could not describe / plugins: HTTP-Error: 403 Forbidden warning: /File[/var/puppet/lib/puppet]/ensure: No specified sources exist warning: /File[/var/puppet/lib/puppet]/ensure: No specified sources exist warning: /File[/var/puppet/lib/puppet]/source: No specified sources exist notice: Ignoring cache err: Could not call puppetmaster.getconfig: #<RuntimeError: HTTP- Error: 403 Forbidden> err: Could not retrieve catalog: HTTP-Error: 403 Forbidden warning: Not using cache on failed catalog On the server side i get the following: [root@puppet-n1 mongrel-1.1.1]# tail -n3 /var/www/puppet/*.log ==> /var/www/puppet/balancer_access.log <=172.17.3.10 - - [12/May/2008:15:39:38 -0500] "POST /RPC2 HTTP/1.1" 403 206 "-" "XMLRPC::Client (Ruby 1.8.5)" 172.17.3.10 - - [12/May/2008:15:39:38 -0500] "POST /RPC2 HTTP/1.1" 403 206 "-" "XMLRPC::Client (Ruby 1.8.5)" 172.17.3.10 - - [12/May/2008:15:39:38 -0500] "POST /RPC2 HTTP/1.1" 403 206 "-" "XMLRPC::Client (Ruby 1.8.5)" ==> /var/www/puppet/balancer_error.log <=[Mon May 12 15:39:38 2008] [warn] proxy: No protocol handler was valid for the URL /RPC2. If you are using a DSO version of mod_proxy, make sure the proxy submodules are included in the configuration using LoadModule. [Mon May 12 15:39:38 2008] [warn] proxy: No protocol handler was valid for the URL /RPC2. If you are using a DSO version of mod_proxy, make sure the proxy submodules are included in the configuration using LoadModule. [Mon May 12 15:39:38 2008] [warn] proxy: No protocol handler was valid for the URL /RPC2. If you are using a DSO version of mod_proxy, make sure the proxy submodules are included in the configuration using LoadModule. ==> /var/www/puppet/balancer_ssl_request.log <=[12/May/2008:15:39:38 -0500] 172.17.3.10 TLSv1 RC4-SHA "POST /RPC2 HTTP/1.1" 206 [12/May/2008:15:39:38 -0500] 172.17.3.10 TLSv1 RC4-SHA "POST /RPC2 HTTP/1.1" 206 [12/May/2008:15:39:38 -0500] 172.17.3.10 TLSv1 RC4-SHA "POST /RPC2 HTTP/1.1" 206 How do I know if apache is serving the request to mongrel? Why is apache complaining about /RPC2? It it probably of high relevance that with puppetmasterd stopped, I get the exact same error. Thanks in advance, tF --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
typedeaf
2008-May-13 16:36 UTC
[Puppet Users] Re: Mongrel/Apache responding with Forbidden
Nevermind, I got it working. FYI using the replacement conf file provided in the example via "httpd -f puppet.conf" does not work in RHEL5. Using the puppet.conf file to drop in the includes directory (conf.d) does work with some minor tweaks. tF --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
Arjuna Christensen
2008-May-13 21:59 UTC
[Puppet Users] Re: Mongrel/Apache responding with Forbidden
Feel free to fix, it is a wiki after all Arjuna Christensen | Systems Engineer Maximum Internet Ltd DDI: + 64 9 913 9683 | Ph: +64 9 915 1825 | Fax:: +64 9 300 7227 arjuna.christensen@maxnet.co.nz| www.maxnet.co.nz -----Original Message----- From: puppet-users@googlegroups.com [mailto:puppet-users@googlegroups.com] On Behalf Of typedeaf Sent: Wednesday, 14 May 2008 4:37 a.m. To: Puppet Users Subject: [Puppet Users] Re: Mongrel/Apache responding with Forbidden Nevermind, I got it working. FYI using the replacement conf file provided in the example via "httpd -f puppet.conf" does not work in RHEL5. Using the puppet.conf file to drop in the includes directory (conf.d) does work with some minor tweaks. tF --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
James Turnbull
2008-May-13 22:04 UTC
[Puppet Users] Re: Mongrel/Apache responding with Forbidden
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 typedeaf wrote:> Nevermind, I got it working. > > FYI using the replacement conf file provided in the example via "httpd > -f puppet.conf" does not work in RHEL5. > Using the puppet.conf file to drop in the includes directory (conf.d) > does work with some minor tweaks. >Feel free to share the diffs and issues. You can email me the details and I''ll update the wiki or you can update the wiki yourself. Cheers James Turnbull - -- James Turnbull (james@lovedthanlost.net) Author of: * Pulling Strings with Puppet (http://www.amazon.com/gp/product/1590599780/) * Pro Nagios 2.0 (http://www.amazon.com/gp/product/1590596099/) * Hardening Linux (http://www.amazon.com/gp/product/1590594444/) -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFIKhBw9hTGvAxC30ARAjIdAJ9D/0FNAHkYXiNpFsFtSA3DaAtXUQCfTOQk y2L8gnvW38XccvAefUccp6Y=JdEh -----END PGP SIGNATURE----- --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---