Hello, I see in Nav 3.1 a syslog facility, but I don't see any directions on how to set it up or use it. Is there any documentation available - even if it is a bit sparse yet? Thanks Scott This e-mail message is intended only for the personal use of the recipient(s) named above. If you are not an intended recipient, you may not review, copy or distribute this message. If you have received this communication in error, please notify the Hearst Service Center (cadmin@hearstsc.com) immediately by email and delete the original message.
From kaa at msu.net Fri Jul 14 16:55:34 2006 From: kaa at msu.net (Alexander Krapivin) Date: Fri Jul 14 13:55:41 2006 Subject: [Nav-users] RPMs for NAV 3.1.0 Message-ID: <44B78636.9030304@msu.net>
Hi, I've made rpm and srpm for NAV 3.1.0. You can get them from project download area http://sf.net/projects/nav. BEWARE, they aren't checked to be working. Please test them and let me know. -- With best regards, Alexander Krapivin mailto:kaa@msu.net NOC MSUNET ICQ UIN:3967345 MSU, Moscow, Russia
From tv at solnet.ch Mon Jul 17 19:03:37 2006 From: tv at solnet.ch (Thomas Vogt) Date: Mon Jul 17 18:03:49 2006 Subject: [Nav-users] freebsd 6.1 and nav from subversion In-Reply-To: <Pine.SOC.4.64.0607111423180.20956@alf.uib.no> References: <1152617345.5105.11.camel@bert.mlan.solnet.ch> <Pine.SOC.4.64.0607111423180.20956@alf.uib.no> Message-ID: <1153152217.27078.8.camel@bert.mlan.solnet.ch>
Hello Roar Thanks, this did the trick. I still have some issues: I set bash path to: JAVALIBDIR=/usr/local/nav/lib/java PYTHONLIBDIR=/usr/local/nav/lib/python PERLLIBDIR=/usr/local/nav/lib/perl PYTHONPATH=/usr/local/nav/lib/python JAVA_HOME=/usr/local/diablo-jdk1.5.0 PATH=$PATH:/usr/local/nav/bin:/usr/local/diablo-jdk1.5.0/bin PERL5LIB=/usr/local/nav/lib/perl:/usr/local/cricket/cricket/lib CLASSPATH="`echo /usr/local/nav/lib/java/*.jar | tr ' ' ':'`:/usr/local/share/java/classes/postgresql.jar:/usr/local/share/java/classes/snmp.jar" export PYTHONPATH JAVA_HOME PATH PERL5LIB CLASSPATH PERLLIBDIR PYTHONLIBDIR JAVALIBDIR I still get several error messages when i try to start ./nav Starting servicemon: Traceback (most recent call last): File "/usr/local/nav/bin/servicemon.py", line 44, in ? from nav.statemon import RunQueue ImportError: No module named nav.statemon Failed I have no clue about this python problem. Starting smsd.pl: Can't locate NAV.pm in @INC (@INC contains: /usr/local/lib/perl5/5.8.8/BSDPAN /usr/local/lib/perl5/site_perl/5.8.8/mach /usr/local/lib/perl5/site_perl/5.8.8 /usr/local/lib/perl5/site_perl /usr/local/lib/perl5/5.8.8/mach /usr/local/lib/perl5/5.8.8 .) at /usr/local/nav/bin/smsd.pl line 59. BEGIN failed--compilation aborted at /usr/local/nav/bin/smsd.pl line 59. Can't locate NAV/AlertEngine/Engine.pm in @INC (@INC contains: /usr/local/lib/perl5/5.8.8/BSDPAN /usr/local/lib/perl5/site_perl/5.8.8/mach /usr/local/lib/perl5/site_perl/5.8.8 /usr/local/lib/perl5/site_perl /usr/local/lib/perl5/5.8.8/mach /usr/local/lib/perl5/5.8.8 .) at /usr/local/nav/bin/alertdaemon.pl line 39.BEGIN failed--compilation aborted at /usr/local/nav/bin/alertdaemon.pl line 39 (#1) (F) You said to do (or require, or use) a file that couldn't be found. Perl looks for the file in all the locations mentioned in @INC,unless the file name included the full path to the file. Perhaps you need to set the PERL5LIB or PERL5OPT environment variable to say where the extra library is, or maybe the script needs to add the library name to @INC. Or maybe you just misspelled the name of the file. See perlfunc/require and lib. Uncaught exception from user code: Can't locate NAV/AlertEngine/Engine.pm in @INC (@INC contains: /usr/local/lib/perl5/5.8.8/BSDPAN /usr/local/lib/perl5/site_perl/5.8.8/mach /usr/local/lib/perl5/site_perl/5.8.8 /usr/local/lib/perl5/site_perl /usr/local/lib/perl5/5.8.8/mach /usr/local/lib/perl5/5.8.8 .) at /usr/local/nav/bin/alertdaemon.pl line 39. BEGIN failed--compilation aborted at /usr/local/nav/bin/alertdaemon.pl line 39. at /usr/local/nav/bin/alertdaemon.pl line 39 I don't understand why perl is not looking in the defined PERLLIB path. export shows me: PATH="/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/usr/X11R6/bin:/root/bin:/usr/local/nav/bin:/usr/local/diablo-jdk1.5.0/bin" PERL5LIB="/usr/local/nav/lib/perl:/usr/local/cricket/cricket/lib" PERLLIBDIR="/usr/local/nav/lib/perl" WD="/usr/local/nav/bin" PYTHONLIBDIR="/usr/local/nav/lib/python" PYTHONPATH="/usr/local/nav/lib/python" So it looks correct for me. Any idea? Cheers, Thomas Am Dienstag, den 11.07.2006, 14:26 +0200 schrieb Roar Pettersen:
Hello !
Is there something missing?
Yes, I guess that your bash profile is not correct, here is mine :
export JAVALIBDIR=/usr/local/nav/lib/java export PYTHONLIBDIR=/usr/local/nav/lib/python export PERLLIBDIR=/usr/local/nav/lib/perl
export PYTHONPATH=/usr/local/nav/lib/python export JAVA_HOME=/usr/local/jdk1.4.2 export PATH=$PATH:/usr/local/nav/bin:/usr/local/jdk1.4.2/bin export PERL5LIB=/usr/local/nav/lib/perl:/usr/local/cricket/cricket/lib export CLASSPATH="`echo /usr/local/nav/lib/java/*.jar | tr ' ' ':'`:/usr/local/share/java/classes/snmp.jar:/usr/local/tomcat5.5/ common/lib/servlet-api.jar"
You should also verify that you have installed pysnmp-2.0.8, if you are using verion 3.3.5, then uninstall 3.3.5 version and re-install the 2.0.8
-- Med vennlig hilsen / Regards;
Roar Pettersen Universitetet i Bergen - The University of Bergen Nygardsgt. 5 - N-5020 BERGEN - Norway Tlf: +47 55 58 40 55 VIP: 81503 fax: +47 55 58 40 70 roar.pettersen@it.uib.no - IT-Avd, UiB - http://www.uib.no