Are you sure that SUDO has permissions on every aspect of your computer? Have you tried as root? Is the SQLite 3 driver installed?
Regards 2011/10/18 Chris <[email protected]> > Hi, > > I'm getting the following error when I try to set up stored > configurations. It appears in the master logs when the agent process > runs. > > $ sudo /usr/sbin/puppetmasterd --no-daemonize --verbose > ... > info: Connecting to sqlite3 database: /var/lib/puppet/state/ > clientconfigs.sqlite3 > err: could not open database: unable to open database file > > The file is never created by puppet. If I manually create this file, I > get more errors: > > err: /File[/var/lib/puppet/state/clientconfigs.sqlite3]/owner: change > from root to puppet failed: Failed to set owner to '701': Operation > not permitted - /var/lib/puppet/state/clientconfigs.sqlite3 > ... > > If it helps, my gem list: > > $ gem list > *** LOCAL GEMS *** > actionmailer (2.3.4) > actionpack (2.3.4) > activerecord (2.3.4) > activeresource (2.3.4) > activesupport (2.3.4) > rack (1.0.0) > rails (2.3.4) > rake (0.8.7) > sqlite3-ruby (1.2.4) > > Any help much appreciated on this - there doesn't seem to be much out > there on Google. > > -Chris > > -- > You received this message because you are subscribed to the Google Groups > "Puppet Users" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/puppet-users?hl=en. > > -- Raymundo Vásquez Ruiz [email protected] -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
