mhall@newsstand.com said:
I also tried adding "su -f -m navcron -c" for my startup script exec to ensure that it was kicked off as navcron. I don't think I'm getting the error anymore
good.
but there are no ports showing up for my devices in NAV
try to: stop nav psql manage delete from rrd_file where subsystem='cricket'; run makecricketconfig.pl as user navcron nav start
, or macs, it appears data is not being collected. >
What is getDeviceData.log telling you?
I may have gotten ahead of myself and screwed some things up. I'm sorry guys, I'm not much of a sysadmin, mostly a network architect type of guy.
Most of us are :-)
FYI I'm getting this error from cron: Subject: Cron navcron@aus-nav-1 $BINDIR/getBoksMacs.sh $NUM_THREADS X-Cron-Env: <PERL5LIB=> X-Cron-Env: <PYTHONPATH=> X-Cron-Env: <CLASSPATH=> X-Cron-Env: <BINDIR=/usr/local/nav/bin> X-Cron-Env: <LOCALSTATEDIR=/usr/local/ nav/var> X-Cron-Env: <PATH=/usr/bin:/bin:/usr/local/bin> X-Cron-Env: MAILTO=root@localhost X-Cron-Env: <CRICKETDIR=/usr/local/cricket> X-Cron-Env: <NUM_THREADS=24> X-Cron-Env: <SHELL=/bin/sh> X-Cron-Env: <HOME=/ usr/local/nav> X-Cron-Env: <LOGNAME=navcron> X-Cron-Env: <USER=navcron>
createConnection ClassNotFoundExecption error: org.postgresql.Driver
Something is wrong with your enviroment. Here is is mine: Subject: Cron navcron@franklin $BINDIR/getBoksMacs.sh $NUM_THREADS X-cron-env: <PERL5LIB=/usr/local/nav/lib/perl:/usr/local/cricket/cricket/lib> X-cron-env: <PYTHONPATH=/usr/local/nav/lib/python> X-cron-env: <CLASSPATH=/usr/local/nav/lib/java/ConfigParser.jar:/usr/local/nav/lib/java/Database.jar:/usr/local/nav/lib/java/Event.jar:/usr/local/nav/lib/java/Logger.jar:/usr/local/nav/lib/java/NetboxInfo.jar:/usr/local/nav/lib/java/SimpleSnmp.jar:/usr/local/nav/lib/java/Util.jar:/usr/local/share/java/classes/postgresql.jar:/usr/local/share/java/classes/snmp.jar> X-cron-env: <BINDIR=/usr/local/nav/bin> X-cron-env: <LOCALSTATEDIR=/usr/local/nav/var> X-cron-env: <PATH=/usr/bin:/bin:/usr/local/bin> X-cron-env: MAILTO=root@localhost X-cron-env: <CRICKETDIR=/usr/local/cricket> X-cron-env: <NUM_THREADS=24> X-cron-env: <SHELL=/bin/sh> X-cron-env: <HOME=/usr/local/nav> X-cron-env: <LOGNAME=navcron> X-cron-env: <USER=navcron>
regards,