Anup Singh
2013-Sep-26 00:29 UTC
[Puppet Users] how can I test and fix all cert and puppetdb requirements
Info: Retrieving plugin Error: /File[/var/lib/puppet/lib]: Failed to generate additional resources using ''eval_generate: Connection refused - connect(2) Error: /File[/var/lib/puppet/lib]: Could not evaluate: Connection refused - connect(2) Could not retrieve file metadata for puppet://puppet.devprojecteagle.com/plugins: Connection refused - connect(2) Error: Failed to apply catalog: Connection refused - connect(2) My cert root@mb-00000-001-m-ins-puppetmaster-1:~# puppet cert list --all + "mb-00000-001-m-ins-puppetmaster-1.devprojecteagle.com" (SHA1) BE:59:02:33:11:9A:EC:92:68:4F:0F:05:A6:8D:83:05:8F:73:8C:F3 (alt names: "DNS:mb-00000-001-m-ins-puppetmaster-1.devprojecteagle.com", "DNS:puppetmaster.devprojecteagle.com") PuppetDB not running root@mb-00000-001-m-ins-puppetmaster-1:~# sudo puppet resource service puppetdb ensure=stopped Error: /Service[puppetdb]: Could not evaluate: Could not find init script or upstart conf file for ''puppetdb'' Error: Could not run: Could not find init script or upstart conf file for ''puppetdb'' root@mb-00000-001-m-ins-puppetmaster-1:~# sudo puppet resource service puppetdb ensure=running enable=true Error: /Service[puppetdb]: Could not evaluate: Could not find init script or upstart conf file for ''puppetdb'' Error: Could not run: Could not find init script or upstart conf file for ''puppetdb'' root@mb-00000-001-m-ins-puppetmaster-1:~# More i dig into it worst it is getting -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-users+unsubscribe@googlegroups.com. To post to this group, send email to puppet-users@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-users. For more options, visit https://groups.google.com/groups/opt_out.
Rahul Khengare
2013-Sep-26 06:59 UTC
[Puppet Users] Re: how can I test and fix all cert and puppetdb requirements
Hi Anup, For connection refused problem, try turning off your firewall/iptables using command, # service iptables stop Also try disbling the selinux settings in /etc/selinux/config file SELINUX = disabled OR Run command, # setenforce 0 Thanks and Regards, Rahul Khengare, NTT DATA OSS Center, Pune, India. On Thursday, September 26, 2013 5:59:27 AM UTC+5:30, Anup Singh wrote:> > Info: Retrieving plugin > Error: /File[/var/lib/puppet/lib]: Failed to generate additional resources > using ''eval_generate: Connection refused - connect(2) > Error: /File[/var/lib/puppet/lib]: Could not evaluate: Connection refused > - connect(2) Could not retrieve file metadata for puppet:// > puppet.devprojecteagle.com/plugins: Connection refused - connect(2) > Error: Failed to apply catalog: Connection refused - connect(2) > > My cert > root@mb-00000-001-m-ins-puppetmaster-1:~# puppet cert list --all > + "mb-00000-001-m-ins-puppetmaster-1.devprojecteagle.com" (SHA1) > BE:59:02:33:11:9A:EC:92:68:4F:0F:05:A6:8D:83:05:8F:73:8C:F3 (alt names: > "DNS:mb-00000-001-m-ins-puppetmaster-1.devprojecteagle.com", "DNS: > puppetmaster.devprojecteagle.com") > > PuppetDB not running > root@mb-00000-001-m-ins-puppetmaster-1:~# sudo puppet resource service > puppetdb ensure=stopped > Error: /Service[puppetdb]: Could not evaluate: Could not find init script > or upstart conf file for ''puppetdb'' > Error: Could not run: Could not find init script or upstart conf file for > ''puppetdb'' > root@mb-00000-001-m-ins-puppetmaster-1:~# > > sudo puppet resource service puppetdb ensure=running enable=true > Error: /Service[puppetdb]: Could not evaluate: Could not find init script > or upstart conf file for ''puppetdb'' > Error: Could not run: Could not find init script or upstart conf file for > ''puppetdb'' > root@mb-00000-001-m-ins-puppetmaster-1:~# > > > More i dig into it worst it is getting >-- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-users+unsubscribe@googlegroups.com. To post to this group, send email to puppet-users@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-users. For more options, visit https://groups.google.com/groups/opt_out.