Hi!
I am new to NAV! I have installed it from debian package. I did some database seeding and i get SNMP data from router, but:
1. I dont get any Statistics 2. When I click in Network explorer on my router icon I get
Mod_python error: "PythonHandler nav.web.devBrowser.dispatcher"
Traceback (most recent call last):
File "/usr/lib/python2.3/site-packages/mod_python/apache.py", line 287, in HandlerDispatch log=debug)
File "/usr/lib/python2.3/site-packages/mod_python/apache.py", line 457, in import_module module = imp.load_module(mname, f, p, d)
File "/usr/lib/python2.3/site-packages/nav/web/devBrowser/dispatcher.py", line 33, in ? import profile
ImportError: No module named profile
and
3. Traffic Map does not draw anything, I just get Java loading icon
Please some hint ;)
Thanx, Silvije
From Vidar.Faltinsen at uninett.no Mon Oct 10 16:25:15 2005
From: Vidar.Faltinsen at uninett.no (Vidar Faltinsen) Date: Mon Oct 10 15:25:57 2005 Subject: [Nav-users] Minor bug user account Message-ID: Pine.LNX.4.63.0510101511400.1560@valentin.uninett.no
Morten,
In the user admin tool when you add a new user, a slightly confusing thing happens. Say I am logged in as faltin with administative privilege. Then I create the account joe, and fill in full name and password and submits. On the following page the login: is replaced with faltin, not joe...
So it _looks_ as if I am altering my own user account instead of creating the new account for joe.
bug?
ho-ho - Vidar
From odd.hauge at hiMolde.no Mon Oct 10 17:39:50 2005
From: odd.hauge at hiMolde.no (Hauge Odd Arne) Date: Mon Oct 10 16:39:57 2005 Subject: [Nav-users] Alertengine Message-ID: 8EEE7738AEDF6947B3E5508A0244D1C26A09B5@stam.himolde.no
Hi.
I cannot start AlertEngine. Seems like some problem with the Pg library on my installation. The error message in the logfile is: Uncaught exception from user code: DBD::Pg initialisation failed: Can't locate object method "driver" via package "DBD::Pg" at /usr/lib/perl5/vendor_perl/5.8.6/i386-linux-thread-multi/DBI.pm line 747.
Perhaps the capitalisation of DBD 'Pg' isn't right. at /usr/lib/perl5/site_perl/5.8.6/NAV/AlertEngine/Engine.pm line 53 at /usr/lib/perl5/vendor_perl/5.8.6/i386-linux-thread-multi/DBI.pm line 753 DBI::install_driver('DBI', 'Pg') called at /usr/lib/perl5/vendor_perl/5.8.6/i386-linux-thread-multi/DBI.pm line 573 DBI::connect('DBI', 'dbi:Pg:dbname=navprofiles;host='localhost'', 'navwrite', 'some-password', 'undef') called at /usr/lib/perl5/site_perl/5.8.6/NAV/AlertEngine/Engine.pm line 53 NAV::AlertEngine::Engine::new('NAV::AlertEngine::Engine', 'HASH(0x8d40074)') called at ./alertengine.pl line 31
Cheking if DBD:PG is installed:
# perl -MCPAN -e 'install DBD::Pg' CPAN: Storable loaded ok Going to read /root/.cpan/Metadata Database was generated on Thu, 30 Jun 2005 00:00:19 GMT DBD::Pg is up to date.
Any suggestion anyone ?
- odd arne hauge
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On 10/10/2005 13:38, Silvije uttered:
I am new to NAV!
Welcome :)
- I dont get any Statistics
I'm guessing you're referring to Cricket statistics. I'm no Cricket expert, but bear in mind the following:
The NAV script makecricketconfig.pl generates Cricket configuration based on the contents of the NAV database. This script runs as a cronjob once every 24 hours (some time during the night). If all you did was seed your database, the Cricket config won't be updated before in the middle of the night. Makecricketconfig.pl can be run manually (preferably as the navcron user!!). Also, make sure the cronjob is active, by issuing "nav status cricket"
- When I click in Network explorer on my router icon I get
[...]
ImportError: No module named profile
Someone reported this on the developers' list as well. Something seems to be wrong with your Python library search path (sys.path) - the profile module is part of the Python standard library and should always be available.
Try this on the command line: python -c 'import profile' Were there any errors?
- Traffic Map does not draw anything, I just get Java loading icon
Turn on your browser's Java Console (not JavaScript console), reload the traffic map and see if any error messages appear in the console.
- -- Morten Vold NTNU ITEA Integrasjonsgruppen
From silvije.milisic at carnet.hr Mon Oct 17 15:57:07 2005
From: silvije.milisic at carnet.hr (Silvije) Date: Mon Oct 17 15:01:13 2005 Subject: [Nav-users] Beginners problem Message-ID: 4353F403.4070007@carnet.hr
Hi!
Morten Vold wrote:
Welcome :)
Thanx :)
I'm guessing you're referring to Cricket statistics. I'm no Cricket expert, but bear in mind the following:
The NAV script makecricketconfig.pl generates Cricket configuration based on the contents of the NAV database. This script runs as a cronjob once every 24 hours (some time during the night). If all you did was seed your database, the Cricket config won't be updated before in the middle of the night. Makecricketconfig.pl can be run manually (preferably as the navcron user!!). Also, make sure the cronjob is active, by issuing "nav status cricket"
# ./nav status cricket cricket: Up
Does nav have to be in $PATH? It is not on my system..
Someone reported this on the developers' list as well. Something seems to be wrong with your Python library search path (sys.path) - the profile module is part of the Python standard library and should always be available.
Try this on the command line: python -c 'import profile' Were there any errors?
This is what I get:
# python -c 'import profile' Traceback (most recent call last): File "<string>", line 1, in ? ImportError: No module named profile
- Traffic Map does not draw anything, I just get Java loading icon
Turn on your browser's Java Console (not JavaScript console), reload the traffic map and see if any error messages appear in the console.
This is solved, but only one router is drawn and link to another unknown device... I have seeded into database one router and 2 switches but switches dont appear in graph.
Thanks for help,
Regards, Silvije CARNet
From reier.rodland at usit.uio.no Mon Oct 17 16:22:21 2005
From: reier.rodland at usit.uio.no (=?ISO-8859-1?Q?Reier_Johan_R=F8dland?=) Date: Mon Oct 17 15:32:14 2005 Subject: [Nav-users] Group access in NAV Message-ID: Pine.LNX.4.63-L.0510171428050.21307@vekter.uio.no
In NAV there are four predefined groups. One is called "ReadAll" and is commented "Read access to most things"
web_access for ^/(report|status|emotd|alertprofiles|machinetracker|browse|preferences|cricket)/?
When we put a user in that group he can also change the Traffic Map and save the new layout! Bug??
Are there some documentation on how to build new groups with different priveleges? What do the different Regular expressions do? What are the use of "Member of the following organizations"?
Regards
<reierr>