Re: CFEngine Help: Upgrading to cf3.3 and tcdb issues

2012-04-20 Thread Mike Svoboda
In my upgrade script, I'm actually doing a rm -Rf /var/cfengine and starting completely clean.. I didn't want any residue from previous databases or whatnot to hang around. On 4/20/12 8:58 AM, "Nick Anderson" wrote: >On 04/20/2012 07:47 AM, Bas van der Vlies wrote: >> On 04/20/2012 02:35 PM,

Re: CFEngine Help: Upgrading to cf3.3 and tcdb issues

2012-04-20 Thread Nick Anderson
On 04/20/2012 07:47 AM, Bas van der Vlies wrote: > On 04/20/2012 02:35 PM, Neil Watson wrote: >> On Fri, Apr 20, 2012 at 02:20:40PM +0200, Mikhail Gusarov wrote: >>> I think I have seen this bug in old version of Tokyo Cabinet. Which one >>> do you use? >> >> neil@mercury:~$ dpkg -l |grep tokyocabi

Re: CFEngine Help: Upgrading to cf3.3 and tcdb issues

2012-04-20 Thread Bas van der Vlies
On 04/20/2012 02:35 PM, Neil Watson wrote: On Fri, Apr 20, 2012 at 02:20:40PM +0200, Mikhail Gusarov wrote: I think I have seen this bug in old version of Tokyo Cabinet. Which one do you use? neil@mercury:~$ dpkg -l |grep tokyocabinet ii libtokyocabinet8 1.4.37-6 Tokyo Cabinet Database Librar

Re: CFEngine Help: Upgrading to cf3.3 and tcdb issues

2012-04-20 Thread Neil Watson
On Fri, Apr 20, 2012 at 02:20:40PM +0200, Mikhail Gusarov wrote: >I think I have seen this bug in old version of Tokyo Cabinet. Which one >do you use? neil@mercury:~$ dpkg -l |grep tokyocabinet ii libtokyocabinet8 1.4.37-6 Tokyo Cabinet Database Libraries [runtime] -- Neil Watson Linux/UNIX Con

Re: CFEngine Help: Upgrading to cf3.3 and tcdb issues

2012-04-20 Thread Mikhail Gusarov
On 04/20/2012 02:17 PM, Neil Watson wrote: > Further information. While trying to recreate the database the agent > creates a new db file that fills all available free space. I had to > kill CF and remove all the databases to start anew. I think I have seen this bug in old version of Tokyo Cabin

Re: CFEngine Help: Upgrading to cf3.3 and tcdb issues

2012-04-20 Thread Neil Watson
On Fri, Apr 20, 2012 at 02:14:11PM +0200, no-re...@cfengine.com wrote: >root@sol:/var/cfengine/bin# ./cf-agent -I >!! Could not open database /var/cfengine/cf_lastseen.tcdb: invalid meta data >!! Database "/var/cfengine/cf_lastseen.tcdb" is broken, recreating... Further information. While trying t