Translate a log file?
SLander@hearstsc.com wrote:
Could anyone translate these warnings to English? I am not sure what they are telling me.
Argh, more Norwegian leftovers from NAV 2... I've submitted a bug report so we'll remember to translate this.
This is from the networkDiscovery-topology.html file
---->[WARNING]: Boks(8): Floor28-6513-1, mer enn en link til boks(31) floor28-3750-4.home.com, uten at vi vet mp i andre enden.
This reads: Floor28-6513-1, more than one link to box(31) floor-28-3750-4.home.com, without knowing mp in the other end.
[WARNING] Conflicting boksbak in mp vs. mpBoksbak for Boks(9): Floor28-6513-2 Mp: 253 bmp: BoksMpBak [boksbak=8, toIfindex=null], bmpA: BoksMpBak [boksbak=38, toIfindex=51]
boksbak = "boxbehind", BoksMpBak="BoksMpBehind" To be honest, I have no idea what this means, it sounds very implementation specific (e.g., what is an `mp`? `Member of Parliament`? `Military Police`?). Cc: to the original author, Kristian, and hopefully he can shed some light on this. -- mvh Morten Vold UNINETT
To be honest, I have no idea what this means, it sounds very implementation specific (e.g., what is an `mp`? `Member of Parliament`? `Military Police`?).
Module+Port. -- Kristian
From SLander at hearstsc.com Wed Jul 5 10:50:40 2006 From: SLander at hearstsc.com (SLander@hearstsc.com) Date: Wed Jul 5 15:46:27 2006 Subject: [Nav-users] Problem with Browsing rrd files In-Reply-To: <44AA57E6.90703@uninett.no> Message-ID: <OF8925035B.D5AD17F5-ON852571A2.004AEB13-852571A2.004BA622@hearstsc.com>
Morten, If I manually enter the url, I get the same result - segfault and blank screen. If I change the rrdBrowser.conf file to point to a non-existent location, IE, instead of /tmp/rrd_ as the prefix, I use just "rrd_", then I get a menu with "year month week day hour" and some choose action items. But, obviously, no graph. Results of inport rrdtool: Python 2.4.1 (#1, Sep 13 2005, 00:39:20) [GCC 4.0.2 20050901 (prerelease) (SUSE Linux)] on linux2 Type "help", "copyright", "credits" or "license" for more information.
import rrdtool
I am using gcc 4.0.2, python 2.4.1, rrdtool 1.2.11and py-rrdtool-0.2.1. Except for the gcc version which I am not sure about, I think these are all the recommended versions? I will rerun the configure and make to see if I perhaps missed an error some where. This problem has existed in both 3.0.1 and 3.1 for me. I have not tried earlier version. Scott SLander@hearstsc.com wrote:
The browse rrd still does not work for me, as of the 3.1 release of NAV. However, one bit of information that I have noted since is that it does create a .gif file in the /tmp directory. I can manually view this file, with something like: file:///tmp/55555555_gif.
That's correct. The directory to place the generated graphs in is configured in rrdBrowser.conf. You didn't answer my question, though:
If you close all your browser windows, then go to the /browse/rrd url by typing in it in manually (and log in, if you have to), does that also give a blank page?
Example: http://NavServer/browse/rrd/datasources?id=82& gives me a blank screen and segfault error in apache log. But, it creates file /tmp/rrd_683699336.gif, which I can manually view. So - I am guessing that some how the association between this "datasources?id=82&" and "rrd_683699336.gif" is not being made. Is it possible that perhaps it is expecting the files to be located somewhere other then /tmp?
No, it will always use the value configured in rrdBrowser.conf, both for creating and for reading the .gif-file. And a failure to find the file in the expected place would hardly cause a segfault error - this looks more like a problem in the C code of the rrdtool Python binding. Does anything particular happen if you run python on the command line and enter `import rrdtool` ? -- mvh Morten Vold UNINETT (See attached file: signature.asc) 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.
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
participants (3)
-
kreide@gmail.com -
morten.vold@uninett.no -
SLander@hearstsc.com