New Debian Etch install using package.
Received the following error.
goozzy:/etc/cricket/config# /usr/lib/nav/makecricketconfig.pl No path to cricket-conf.pl specified, searching default paths... Searching in /home/navcron/cricket/cricket. Searching in /etc/cricket. Found cricket-conf.pl in /etc/cricket. Failed to open compiled config tree from gConfigRoot/config.db: No such file or directory If this is the first time you run makecricketconfig, try compile cricket (/etc/cricket/cricket/compile) goozzy:/etc/cricket/config#
Thanks for any help you can provide.
/etc/cricket/cricket-config.pl looks like this:
$gCricketHome = "/usr/share/cricket"; $gInstallRoot = "/usr/share/cricket"; $gConfigRoot = "/etc/nav/cricket-config"; $gLogDir = "/var/log/cricket";
# Whether to optimize config tree access for the collector by # copying the database into memory on startup. # Switch off if your collector becomes too big in run time. # Most sites will probably want slurp, this is the default. #$gDbAccess = "slurp"; # Slurp the database into memory #$gDbAccess = "lookup"; # Use normal DB lookups
# Where cricket caches generated images. $gCacheDir = "/var/cache/cricket"; # It is strongly recommended that you *not* set a global logLevel. # Use the CRICKET_LOG_LEVEL environment variable or the # -logLevel option instead. #$gLogLevel = "info";
per the README
Thanks for any help. I saw an old README that showed changing CricketHome not ConfigRoot - is that the issue?
Caryl A. Whitlatch
Network Administrator
HYPERLINK "http://www.ctcweb.net/%22CTC Telecom, Inc.
Plurima ignoro, sed ignorantiam meam non ignoro
No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.5.488 / Virus Database: 269.14.4/1057 - Release Date: 10/8/2007 9:04 AM
From cwhitlatch at ctctele.com Tue Oct 9 11:24:00 2007
From: cwhitlatch at ctctele.com (Mr. Caryl Whitlatch) Date: Tue Oct 9 18:23:38 2007 Subject: [Nav-users] cricket answer Message-ID: 001101c80a90$ccf62170$2632a8c0@cwhitlatch
THANKS, Werner
The README.Debian has been changed for the next version of the package. The correct procedure is as follows after changing the /etc/cricket/cricket-conf.pl (your looks correct):
'sudo -u navcron cricket-compile'
'sudo -u navcron /usr/lib/nav/makecricketconfig.pl'
Good luck and thanks for using the Debian package!
- Werner
Caryl A. Whitlatch
Network Administrator
HYPERLINK "http://www.ctcweb.net/%22CTC Telecom, Inc.
Plurima ignoro, sed ignorantiam meam non ignoro
No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.5.488 / Virus Database: 269.14.6/1059 - Release Date: 10/9/2007 8:44 AM
No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.5.488 / Virus Database: 269.14.6/1059 - Release Date: 10/9/2007 8:44 AM
From prieheck at iwu.edu Tue Oct 9 17:24:31 2007
From: prieheck at iwu.edu (Pat Riehecky) Date: Tue Oct 9 23:24:57 2007 Subject: [Nav-users] Java error Message-ID: 1191965071.15629.17.camel@thales.iwu.edu
I am getting the following error in the networkDiscovery log:
Warning: -Xmx256m not understood. Ignoring. Warning: -jar not understood. Ignoring. Exception in thread "main" java.lang.NoClassDefFoundError: networkDiscovery.jar at gnu.gcj.runtime.FirstThread.run() (/usr/lib/libgcj.so.5.0.0) at _Jv_ThreadRun(java.lang.Thread) (/usr/lib/libgcj.so.5.0.0) at _Jv_RunMain(java.lang.Class, byte const, int, byte const, boolean) (/usr/lib/libgcj.so.5.0.0) at __gcj_personality_v0 (/usr/local/nav/lib/java/networkDiscovery/java.version=1.4.2) at __libc_start_main (/lib/tls/libc-2.3.4.so) at _Jv_RegisterClasses (/usr/local/nav/lib/java/networkDiscovery/java.version=1.4.2)
How do I fix this... I am not a java person.....
NAV 3.2.2, RHEL4
Pat