Hello puppet-users. 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, on a different machine. 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 with the commands: iptables -A INPUT -i eth4 -p tcp --dport 8081 -m state --state NEW,ESTABLISHED -j ACCEPT iptables -A OUTPUT -o eth4 -p tcp --sport 8081 -m state --state ESTABLISHED -j ACCEPT However, telnet pptbasic.ca.local 8081 brings the error: connect to address 192.168.60.130: Connection refused I have so far 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 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.
What are the contents of */etc/puppetdb/conf.d/jetty.ini*? -Pablo On Wednesday, July 10, 2013 9:03:39 AM UTC-5, Joseph Mwesigwa Bbaale wrote:> > Hello puppet-users. > ... > > Today I decided to redo the setup, on a different machine. 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 with the commands: > > iptables -A INPUT -i eth4 -p tcp --dport 8081 -m state --state > NEW,ESTABLISHED -j ACCEPT > iptables -A OUTPUT -o eth4 -p tcp --sport 8081 -m state --state > ESTABLISHED -j ACCEPT > > > However, telnet pptbasic.ca.local 8081 brings the error: connect to > address 192.168.60.130: Connection refused > > I have so far 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 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.