Hi Chris, Thanks for the reply.
Please bare with me a little while... I will move to the suggested group. I have been grappling with the 8081 port issue... telnet produces this: connect to address 192.168.60.130: Connection refused I used something like this: iptables -A INPUT -p tcp --dport 8081 -j ACCEPT but for some reason it seems it is not effective yet - maybe doing something wrong. On Wednesday, 10 July 2013 16:34:32 UTC+3, Chris Price wrote: > > Hi Joseph, > > Based on this line: > > SERVER: Failed to submit 'replace facts' command for > pptconsole.ca.local to PuppetDB at pptconsole.ca.local:8081: No route to > host - connect(2) > > It sounds as though you may have a DNS issue. If you log in to your > puppet master VM, are you able to ping 'pptconsole.ca.local' from there? > You might also try 'telnet pptconsole.ca.local 8081' to make sure that the > firewall setup you mention has taken effect. > > The postgres error may be a separate issue, though. Since you are seeing > this: > > Could not start Service[postgresqld]: Execution of '/sbin/service > pe-postgresql start' returned 1: > > I would suggest logging into the machine where postgres is installed and > running that command by hand: '/sbin/service pe-postgresql start'. > Hopefully you will get some more detailed information from that. > > Also, it might be a good idea for us to move this thread over to the > pe-users mailing list ( > https://groups.google.com/a/puppetlabs.com/forum/?hl=en-US#!forum/pe-users ). > Puppet-dev is generally used more for discussions about development around > puppet itself. > > Please let us know if you are able to get any additional info based on the > suggestions above! > > Thanks > Chris > > > On Wed, Jul 10, 2013 at 2:43 AM, Joseph Mwesigwa Bbaale < > [email protected] <javascript:>> 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] <javascript:>. >> To post to this group, send email to [email protected]<javascript:> >> . >> Visit this group at http://groups.google.com/group/puppet-dev. >> For more options, visit https://groups.google.com/groups/opt_out. >> >> >> > > -- 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.
