Hello Jason, My MySQL wait_timeout is set to the default of 8 hours. Through IRC, James and Andrew had looked into it a bit. From what we all read, Puppet should be checking the connection and re-establishing it if necessary.
Perhaps I'm missing something in the config. In [puppetmasterd], I have dbsocket set to /var/run/mysqld/mysqld.sock. I also have a rails section without a dbsocket. I forgot what I added that section for, maybe puppetshow or maybe it's not needed. Gary On Jan 16, 10:41 pm, Jason Kohles <jasonkoh...@gmail.com> wrote: > "MySQL server has gone away" means you lost your connection to mysql, > most likely because there is a configured idle timeout or the server > was restarted. > > On Jan 15, 2009, at 11:15 PM, gary wrote: > > > > > Hello, > > > I'm having an issue with exported resources. I've been using stored > > configs for a while and that all works. But with exported resources, > > most of the time (but not always), I get the following error: > > > err: Could not retrieve catalog: Puppet::Parser::Compiler failed with > > error ActiveRecord::StatementInvalid: Mysql::Error: MySQL server has > > gone away: SELECT * FROM `hosts` WHERE (`hosts`.`name` = 'r...') > > LIMIT 1 on node ... > > > This is with Ubuntu 8.04 64-bit, rails 2.0.4, mysql gem 2.7 and > > passenger 2.0.6, > > > Gary --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Puppet Users" group. 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 -~----------~----~----~----~------~----~------~--~---