Also, there are a few notes on common SSL issues here:

http://docs.puppetlabs.com/puppetdb/puppetdb-faq.html#puppetdb-is-complaining-about-a-truststore-or-keystore-file-what-do-i-do


On Friday, December 7, 2012 8:27:14 AM UTC-8, Nishant Jain wrote:
>
> Hello Everybody,
>                            I am trying to install the puppetdb on the same 
> machine as am running my puppetmaster.
> I am getting the following error when am trying to connect the agent:
>
> Error: Could not retrieve catalog from remote server: Error 400 on SERVER: 
> Failed to submit 'replace facts' command for 
> ftldwshost180.wsdev.citrix.com to PuppetDB at 10.12.14.85:8081: 
> Connection refused - connect(2)
> Warning: Not using cache on failed catalog
> Error: Could not retrieve catalog; skipping run
>
>
> Can anybody tell me how to resolve this error???
>
> System Information:
> Red Hat Enterprise Linux Server release 5.8 (Tikanga)
> puppet 3.0.1
> puppetdb 1.0.4
>
>
>
> I have installed and made the changes for the pupeptdb according to the 
> following link:
> https://github.com/puppetlabs/puppetdb
>
>
> I think the error is related to the ssl certificates??
>
> The output with running trace is as follows:
> gnoring --listen on onetime run
> Warning: Unable to fetch my node definition, but the agent run will 
> continue:
> Warning: Error 400 on SERVER: Could not retrieve facts for 
> ftldwshost180.wsdev.citrix.com: Failed to find facts from PuppetDB at 
> 10.12.14.85:8081: SSL_connect SYSCALL returned=5 errno=0 state=SSLv3 read 
> finished A
> Info: Retrieving plugin
> Error: Could not retrieve catalog from remote server: Error 400 on SERVER: 
> Failed to submit 'replace facts' command for 
> ftldwshost180.wsdev.citrix.com to PuppetDB at 10.12.14.85:8081: 
> SSL_connect SYSCALL returned=5 errno=0 state=SSLv3 read finished A
> /usr/lib/ruby/site_ruby/1.8/puppet/indirector/rest.rb:65:in `deserialize'
> /usr/lib/ruby/site_ruby/1.8/puppet/indirector/rest.rb:121:in `find'
> /usr/lib/ruby/site_ruby/1.8/puppet/indirector/indirection.rb:191:in `find'
> /usr/lib/ruby/site_ruby/1.8/puppet/configurer.rb:243:in 
> `retrieve_new_catalog'
> /usr/lib/ruby/site_ruby/1.8/puppet/util.rb:348:in `thinmark'
> /usr/lib/ruby/1.8/benchmark.rb:308:in `realtime'
> /usr/lib/ruby/site_ruby/1.8/puppet/util.rb:347:in `thinmark'
> /usr/lib/ruby/site_ruby/1.8/puppet/configurer.rb:242:in 
> `retrieve_new_catalog'
> /usr/lib/ruby/site_ruby/1.8/puppet/configurer.rb:67:in `retrieve_catalog'
> /usr/lib/ruby/site_ruby/1.8/puppet/configurer.rb:107:in 
> `prepare_and_retrieve_catalog'
> /usr/lib/ruby/site_ruby/1.8/puppet/configurer.rb:159:in `run'
> /usr/lib/ruby/site_ruby/1.8/puppet/agent.rb:45:in `run'
> /usr/lib/ruby/site_ruby/1.8/puppet/agent/locker.rb:20:in `lock'
> /usr/lib/ruby/site_ruby/1.8/puppet/agent.rb:45:in `run'
> /usr/lib/ruby/1.8/sync.rb:230:in `synchronize'
> /usr/lib/ruby/site_ruby/1.8/puppet/agent.rb:45:in `run'
> /usr/lib/ruby/site_ruby/1.8/puppet/agent.rb:119:in `with_client'
> /usr/lib/ruby/site_ruby/1.8/puppet/agent.rb:42:in `run'
> /usr/lib/ruby/site_ruby/1.8/puppet/agent.rb:84:in `run_in_fork'
> /usr/lib/ruby/site_ruby/1.8/puppet/agent.rb:41:in `run'
> /usr/lib/ruby/site_ruby/1.8/puppet/application.rb:175:in `call'
> /usr/lib/ruby/site_ruby/1.8/puppet/application.rb:175:in `controlled_run'
> /usr/lib/ruby/site_ruby/1.8/puppet/agent.rb:39:in `run'
> /usr/lib/ruby/site_ruby/1.8/puppet/application/agent.rb:338:in `onetime'
> /usr/lib/ruby/site_ruby/1.8/puppet/application/agent.rb:311:in 
> `run_command'
> /usr/lib/ruby/site_ruby/1.8/puppet/application.rb:346:in `run'
> /usr/lib/ruby/site_ruby/1.8/puppet/application.rb:438:in `plugin_hook'
> /usr/lib/ruby/site_ruby/1.8/puppet/application.rb:346:in `run'
> /usr/lib/ruby/site_ruby/1.8/puppet/util.rb:500:in `exit_on_fail'
> /usr/lib/ruby/site_ruby/1.8/puppet/application.rb:346:in `run'
> /usr/lib/ruby/site_ruby/1.8/puppet/util/command_line.rb:76:in `execute'
> /usr/bin/puppet:10
> Warning: Not using cache on failed catalog
> Error: Could not retrieve catalog; skipping run
>
>
>
> Thanks,
> Nishant
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/puppet-users/-/igakMIA6i3AJ.
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.

Reply via email to