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 :)
1. 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"
2. 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?
3. 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 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (MingW32) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFDU4xeXxIl0kpcOkQRAl5FAJ96ekkj0bnK9hzulM4855T38IcrZgCg5u66 KaE5cUs5gM1zsHA2UfPixgM= =da6M -----END PGP SIGNATURE-----
From morten.vold at ntnu.no Mon Oct 17 14:40:12 2005 From: morten.vold at ntnu.no (Morten Vold) Date: Mon Oct 17 13:40:09 2005 Subject: [Nav-users] Minor bug user account In-Reply-To: <Pine.LNX.4.63.0510101511400.1560@valentin.uninett.no> References: <Pine.LNX.4.63.0510101511400.1560@valentin.uninett.no> Message-ID: <43538D9C.2000402@ntnu.no>
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 10/10/2005 15:25, Vidar Faltinsen uttered:
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?
I'm guessing that you're using Firefox as your browser, and have added your NAV login to the password manager. For some reason, Firefox thinks the user edit form is the NAV login form, and automatically fills out the username you've registered for the login form. I've had this happen to me as well. The workaround is to remove your NAV login from Firefox's password manager. I'm guessing that it has something to do with the naming of the form fields, so a future NAV-tweak to work around Firefox's strangeness might be to change the field names of the useradmin forms. - -- Morten Vold NTNU ITEA Integrasjonsgruppen -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (MingW32) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFDU42cXxIl0kpcOkQRAvfkAJ9P0BeM/LYNVoGdlnS2rTTTUEsWvACgk1Uf A43c39BH5W+Vi/RM9QOwhP8= =acbK -----END PGP SIGNATURE-----
From morten.vold at ntnu.no Mon Oct 17 15:02:05 2005 From: morten.vold at ntnu.no (Morten Vold) Date: Mon Oct 17 14:02:03 2005 Subject: [Nav-users] help with install In-Reply-To: <14FB99320185744D92B9094301C526E1A2C7A4@compunet2.compunet.com> References: <14FB99320185744D92B9094301C526E1A2C7A4@compunet2.compunet.com> Message-ID: <435392BD.3030106@ntnu.no>
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 11/10/2005 22:42, Matt LaTurner uttered:
I am trying to install nav3 on CentOS4. I am following the instructions for RHEL4. Everything seems to go fine until I connect. I get the following error:
[...]
File "/usr/local/nav/lib/python/nav/web/auth.py", line 92, in authenticate conn = db.getConnection('navprofile', 'navprofile')
AttributeError: 'module' object has no attribute 'getConnection'
I have tried the install 4 times now, Can anyone help me ????
The same problem was previously reported by Peder Magne Sefland on this list in August. Roger Aas suggested turning off or reconfigure SELinux, maybe that helps? Follow this thread in the archive: http://desperados.itea.ntnu.no/pipermail/nav-users/2005-August/000929.html - -- Morten Vold NTNU ITEA Integrasjonsgruppen -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (MingW32) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFDU5K9XxIl0kpcOkQRAu0oAKDUsmYAGlYDnXzwcJED/wgdatpDIgCgqdLs 5n1T8Oj5KlrLc89beJZpjps= =rVI0 -----END PGP SIGNATURE-----
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
3. 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>
participants (2)
-
morten.vold@ntnu.no -
silvije.milisic@carnet.hr