This is my puppetmaster configuration file. # Based on http://projects.puppetlabs.com/projects/1/wiki/Using_Passenger
Listen 8140 <VirtualHost *:8140> ServerName ct-vospuppet SSLEngine on SSLProtocol -ALL +SSLv3 +TLSv1 SSLCipherSuite ALL:!ADH:RC4+RSA:+HIGH:+MEDIUM:-LOW:-SSLv2:-EXP SSLCertificateKeyFile /var/lib/puppet/ssl/private_keys/ct-vospuppet.pem SSLCertificateFile /var/lib/puppet/ssl/certs/ct-vospuppet.pem SSLCACertificateFile /var/lib/puppet/ssl/certs/ca.pem SSLCertificateChainFile /var/lib/puppet/ssl/certs/ca.pem # If Apache complains about invalid signatures on the CRL, you can try disabling # CRL checking by commenting the next line, but this is not recommended. SSLCARevocationFile /var/lib/puppet/ssl/ca/ca_crl.pem # Set to require if this puppetmaster doesn't issue certificates # to puppet clients. # NB: this requires SSLCACertificateFile /var/lib/puppet/ssl/certs/ca.pem # issuing puppet client certificate. SSLVerifyClient optional SSLVerifyDepth 1 SSLOptions +StdEnvVars # Passenger options that can be set in a virtual host # configuration block. PassengerHighPerformance on PassengerStatThrottleRate 120 PassengerUseGlobalQueue on RackAutoDetect Off RailsAutoDetect Off RackBaseURI / DocumentRoot /usr/share/puppet/rack/puppetmasterd/public <Directory /usr/share/puppet/rack/puppetmasterd/> Options None AllowOverride None Order allow,deny allow from all </Directory> </VirtualHost> I have attached the apache error log with this. On Fri, Jul 13, 2012 at 10:05 PM, Jo Rhett <jrh...@netconsonance.com> wrote: > Did you put all the passenger configuration, and Listen 8140 in the > puppetmaster file? You should post both the config file and your apache > error log here. > > On Jul 12, 2012, at 11:26 PM, kalaniS wrote: > > So I was trying to install puppetmaster-passenger in the server > machine and configure it to communicate with the agent. My server > machine and client machine are both running on Ubuntu 11.04. I > installed puppetmaster-passenger through apt-get and in /etc/apache2/ > sites-available/puppetmaster file, in between the <VirtualHost> tags > put ServerName as ct-vospuppet. > > In the server machine's apache2/httpd.conf I put a record as > ServerName ct-vospuppet. (The hostname of the server is ct-vospuppet) > Then I restarted apache. > > In the puppet.conf file in the agent machine, I put a record server=ct- > vospuppet. Then I tried > @cd-vgpereravos:~$ sudo puppet agent --server ct-vospuppet --test -- > debug and got the following output. > > debug: Failed to load library 'rubygems' for feature 'rubygems' > debug: Failed to load library 'selinux' for feature 'selinux' > debug: Puppet::Type::User::ProviderPw: file pw does not exist > debug: Puppet::Type::User::ProviderUser_role_add: file rolemod does > not exist > debug: Puppet::Type::User::ProviderLdap: true value when expecting > false > debug: Puppet::Type::User::ProviderDirectoryservice: file /usr/bin/ > dscl does not exist > debug: Puppet::Type::File::ProviderMicrosoft_windows: feature > microsoft_windows is missing > debug: Failed to load library 'ldap' for feature 'ldap' > debug: /File[/var/lib/puppet/ssl/certs]: Autorequiring File[/var/lib/ > puppet/ssl] > debug: /File[/var/lib/puppet/ssl/certs/ca.pem]: Autorequiring File[/ > var/lib/puppet/ssl/certs] > debug: /File[/var/lib/puppet/ssl/public_keys/cd- > vgpereravos.domain.com.pem]: Autorequiring File[/var/lib/puppet/ssl/ > public_keys] > debug: /File[/var/lib/puppet/ssl]: Autorequiring File[/var/lib/puppet] > debug: /File[/var/lib/puppet/ssl/private]: Autorequiring File[/var/lib/ > puppet/ssl] > debug: /File[/var/lib/puppet/clientbucket]: Autorequiring File[/var/ > lib/puppet] > debug: /File[/var/lib/puppet/facts]: Autorequiring File[/var/lib/ > puppet] > debug: /File[/etc/puppet/puppet.conf]: Autorequiring File[/etc/puppet] > debug: /File[/var/run/puppet/agent.pid]: Autorequiring File[/var/run/ > puppet] > debug: /File[/var/lib/puppet/client_data]: Autorequiring File[/var/lib/ > puppet] > debug: /File[/var/lib/puppet/state/graphs]: Autorequiring File[/var/ > lib/puppet/state] > debug: /File[/var/lib/puppet/state]: Autorequiring File[/var/lib/ > puppet] > debug: /File[/var/lib/puppet/client_yaml]: Autorequiring File[/var/lib/ > puppet] > debug: /File[/var/lib/puppet/ssl/certs/cd- > vgpereravos.virtusa.com.pem]: Autorequiring File[/var/lib/puppet/ssl/ > certs] > debug: /File[/var/lib/puppet/ssl/public_keys]: Autorequiring File[/var/ > lib/puppet/ssl] > debug: /File[/var/lib/puppet/ssl/private_keys]: Autorequiring File[/ > var/lib/puppet/ssl] > debug: /File[/var/lib/puppet/ssl/certificate_requests]: Autorequiring > File[/var/lib/puppet/ssl] > debug: /File[/var/lib/puppet/ssl/private_keys/cd- > vgpereravos.domain.com.pem]: Autorequiring File[/var/lib/puppet/ssl/ > private_keys] > debug: /File[/var/lib/puppet/ssl/crl.pem]: Autorequiring File[/var/lib/ > puppet/ssl] > debug: /File[/var/lib/puppet/lib]: Autorequiring File[/var/lib/puppet] > debug: Finishing transaction -614035288 > debug: /File[/var/lib/puppet/facts]: Autorequiring File[/var/lib/ > puppet] > debug: /File[/var/lib/puppet/ssl/public_keys]: Autorequiring File[/var/ > lib/puppet/ssl] > debug: /File[/var/lib/puppet/ssl/certificate_requests]: Autorequiring > File[/var/lib/puppet/ssl] > debug: /File[/var/lib/puppet/ssl/crl.pem]: Autorequiring File[/var/lib/ > puppet/ssl] > debug: /File[/var/lib/puppet/lib]: Autorequiring File[/var/lib/puppet] > debug: /File[/var/lib/puppet/ssl/certs]: Autorequiring File[/var/lib/ > puppet/ssl] > debug: /File[/var/lib/puppet/state]: Autorequiring File[/var/lib/ > puppet] > debug: /File[/var/lib/puppet/ssl/public_keys/cd- > vgpereravos.domain.com.pem]: Autorequiring File[/var/lib/puppet/ssl/ > public_keys] > debug: /File[/var/lib/puppet/ssl/private]: Autorequiring File[/var/lib/ > puppet/ssl] > debug: /File[/var/lib/puppet/ssl/certs/cd-vgpereravos.domain.com.pem]: > Autorequiring File[/var/lib/puppet/ssl/certs] > debug: /File[/var/lib/puppet/ssl/private_keys]: Autorequiring File[/ > var/lib/puppet/ssl] > debug: /File[/var/lib/puppet/ssl]: Autorequiring File[/var/lib/puppet] > debug: /File[/var/lib/puppet/ssl/certs/ca.pem]: Autorequiring File[/ > var/lib/puppet/ssl/certs] > debug: /File[/var/lib/puppet/ssl/private_keys/cd- > vgpereravos.domain.com.pem]: Autorequiring File[/var/lib/puppet/ssl/ > private_keys] > debug: Finishing transaction -614452648 > debug: Using cached certificate for ca > debug: Using cached certificate for cd-vgpereravos.domain.com > debug: Finishing transaction -614639588 > debug: Executing '/etc/puppet/etckeeper-commit-pre' > debug: Using cached certificate for ca > debug: Using cached certificate for cd-vgpereravos.domain.com > debug: Using cached certificate_revocation_list for ca > debug: catalog supports formats: b64_zlib_yaml dot pson raw yaml; > using pson > err: Could not retrieve catalog from remote server: execution expired > warning: Not using cache on failed catalog > err: Could not retrieve catalog; skipping run > debug: Executing '/etc/puppet/etckeeper-commit-post' > > Really appreciate any thoughts on how to resolve this. I have already > gone through web and still was not able to resolve this. Thanks in > advance. > Kalani > > -- > 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+unsubscr...@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/puppet-users?hl=en. > > > -- > Jo Rhett > Net Consonance : net philanthropy to improve open source and internet > projects. > > > > -- > 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+unsubscr...@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+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
error.log
Description: Binary data