I keep getting "Cricket Tree needs to be recompiled" when I try and run statistics.
I have tried running /usr/bin/cricket-compile. It always comes back with "Couldn't apply preserved file mode to /etc/nav/cricket-config/config.db.new".
I am running this on NAV 3.4.4.
Any Ideas?
Keith Latta Senior Systems Engineer Seattle Art Museumhttp://www.seattleartmuseum.org/ 206.654.3231
On Mon, 3 Nov 2008 14:02:47 -0800 Keith Latta keithl@SeattleArtMuseum.org wrote:
I keep getting "Cricket Tree needs to be recompiled" when I try and run statistics.
I have tried running /usr/bin/cricket-compile. It always comes back with "Couldn't apply preserved file mode to /etc/nav/cricket-config/config.db.new".
I am running this on NAV 3.4.4.
Any Ideas?
Please check the file permissions for /etc/nav/cricket-config and the files below that directory. The navcron user should have read/write permission for all files and directories there.
Also, when you do run /usr/bin/cricket-compile, you should do it as navcron (sudo -u navcron) to make sure that /etc/nav/cricket-config/config.db is written by navcron and not by root or anyone else.
You will not usually need to run cricket-compile; Cricket does this automatically on each collection run (every 5 minutes) when it is deemed necessary.
You seem to be running Debian, so also make sure that the cricket user isn't trying to run cricket's collector in parallel with navcron. Debian's cricket package creates the file /etc/cron.d/cricket which does this. That file should be removed, or its contents commented out.