One More Time --// Error while accessing web-interface/. . . .
Good day, There is an excellent HOWTO installing NAV on RHEL4/CentOS suitable for most Linux distributions on http://metanav.ntnu.no/moin.cgi/InstallingOnRHEL4 Leonid Satanovsky wrote:
Good time of the day, people!
This time, accessing the web-interface I get the error:
-------------------------------------------------------------- Mod_python error: "PythonHeaderParserHandler nav.web"
Traceback (most recent call last):
File "/usr/lib/python2.4/site-packages/mod_python/apache.py", line 299, in HandlerDispatch result = object(req)
File "/usr/local/nav/lib/python/nav/web/__init__.py", line 49, in headerparserhandler import nav.web.auth
File "/usr/local/nav/lib/python/nav/web/auth.py", line 32, in ? from nav import db
File "/usr/local/nav/lib/python/nav/db/__init__.py", line 31, in ? import psycopg psycopg package need to be installed.
ImportError: libpq.so.4: cannot open shared object file: No such file or directory --------------------------------------------------------------
(?) Does anybody know, what may be wrong?
Leonid.
_______________________________________________ Nav-users mailing list Nav-users@itea.ntnu.no http://mailman.itea.ntnu.no/mailman/listinfo/nav-users
-- With best regards, Alexander Krapivin mailto:kaa@msu.net NOC MSUNET ICQ UIN:3967345 MSU, Moscow, Russia
From roart at nvg.ntnu.no Fri Sep 8 14:47:04 2006 From: roart at nvg.ntnu.no (Roar Thronæs) Date: Fri Sep 8 13:47:16 2006 Subject: [Nav-users] 3com and partial FreeBSD support Message-ID: <20060908114704.GB18951@nvg.ntnu.no>
Hi I have made some support for 3com vlan and port probing. (Not everyone has thrown these out yet) 3Com patches and FreeBSD tips are available at: ftp://ftp.nvg.ntnu.no/pub/nav _3com.java.patch snmpoid.sql QueryBoks.java.patch The rest is some tips for FreeBSD GSW and related patches. Some questions: Has anyone "lost" SNMP data because drexelsnmp (javasnmp) did not give the exceptions with v2c as it did with v1? (At least it happened against net-snmp) Is other equipment than Cisco (like FreeBSD with net-snmp) supposed to be probed as Cisco? Regards, Roar Thron?s
From morten.vold at uninett.no Mon Sep 11 16:35:19 2006 From: morten.vold at uninett.no (Morten Brekkevold) Date: Mon Sep 11 15:35:28 2006 Subject: [Nav-users] cricket compilation error 2nd time please help me In-Reply-To: <44EEE16F.9070202@uninett.no> References: <20060726150510.6719.qmail@web8902.mail.in.yahoo.com> <44EEE16F.9070202@uninett.no> Message-ID: <45056617.9030000@uninett.no>
Morten Vold wrote:
Can't locate ConfigTree/Cache.pm in @INC (@INC contains: /lib /etc/perl /usr/local/lib/perl/5.8.4 /usr/local/share/perl/5.8.4 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.8 /usr/share/perl/5.8 /usr/local/lib/site_perl .) at /usr/lib/nav/makecricketconfig.pl line 84. BEGIN failed--compilation aborted at /usr/lib/nav/makecricketconfig.pl line 84.
$gCricketHome in my cricket-conf.pl
$gCricketHome = "/usr/local/cricket"; $gInstallRoot = "$gCricketHome/cricket"; $gConfigRoot = "$gCricketHome/cricket-config";
Is your cricket-conf.pl properly located in /usr/local/cricket/cricket/ ? Your error messages make it look like gInstallRoot has not been set, or its value was not found by makecricketconfig.
Rajesh, did you ever figure this out? UNINETT is about to launch several Debian based servers for our customers, and these will be running NAV. When preparing installation procedures for these servers, I've had the opportunity to actually install and test the Debian package of NAV myself. NAV is unfortunately picky about where it likes its Cricket to be installed, something I hope we'll be fixing soon. I've followed the README.Debian file, and I happened to overlook part of the installation instructions. With Cricket installed from source in /usr/local/cricket as README.Debian suggests, I have the same problem as you do, and I've found that the quickest solution to the problem is to do as the README says and add the following symlink inside /usr/local/cricket: ln -s ./ cricket -- mvh The engineer previously known as Morten Vold UNINETT
participants (1)
-
kaa@msu.net