On Wednesday, 10 July 2013 12:43:00 UTC+3, Joseph Mwesigwa Bbaale wrote: > > Hello developers. > > First, I am really new to puppet so, please pardon me if my question has > rather an obvious answer. > > I have tried to install puppet on both a Debian 6 VM and CentOS 6.3 VM but > always get this error along the way: > > ## Setting up the database... > Configuring postgresql server... > PostgreSQL server configured. > !! ERROR: The PostgreSQL server failed to start; unable to proceed > > I decided to separate the roles. The puppet-master role installs without a > problem but the puppetDB component has always failed with the same error > above. > > Yesterday I looked at this "install_log.lastrun.<hostname>" file on the VM > intended for the DB role and noticed these errors: > > > Line 64: Warning: Error 400 on SERVER: Failed to find pptconsole.ca.local > via exec: Execution of '/etc/puppetlabs/puppet-dashboard/external_node > pptconsole.ca.local' returned 7: > Line 213: Error: Could not retrieve catalog from remote server: Error 400 > on SERVER: Failed to submit 'replace facts' command for pptconsole.ca.local > to PuppetDB at pptconsole.ca.local:8081: No route to host - connect(2) > Line 213: Error: Could not retrieve catalog from remote server: Error 400 > on SERVER: Failed to submit 'replace facts' command for pptconsole.ca.local > to PuppetDB at pptconsole.ca.local:8081: No route to host - connect(2) > Line 215: Error: Could not retrieve catalog; skipping run > Line 347: Error: Could not start Service[postgresqld]: Execution of > '/sbin/service pe-postgresql start' returned 1: > Line 348: Error: > /Stage[main]/Postgresql::Server/Service[postgresqld]/ensure: change from > stopped to running failed: Could not start Service[postgresqld]: Execution > of '/sbin/service pe-postgresql start' returned 1: > > Today I decided to redo the setup. But after installing the puppet-master > component, the "puppet agent --test" command produces these error: > > Warning: Unable to fetch my node definition, but the agent run will > continue: > Warning: Error 400 on SERVER: Failed to find pptbasic.ca.local via exec: > Execution of '/etc/puppetlabs/puppet-dashboard/external_node > pptbasic.ca.local' returned 7: > Error: Could not retrieve catalog from remote server: Error 400 on SERVER: > Failed to submit 'replace facts' command for pptbasic.ca.local to PuppetDB > at pptbasic.ca.local:8081: Connection refused - connect(2) > Warning: Not using cache on failed catalog > Error: Could not retrieve catalog; skipping run > > On this VM, I have enabled traffic on port 8081 using iptables. I have > failed to figure out how to proceed. > > Any help is highly appreciated. > >
-- You received this message because you are subscribed to the Google Groups "Puppet Developers" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/puppet-dev. For more options, visit https://groups.google.com/groups/opt_out.
