Problem is solved, cricket graphs shows statistics this time.. It was my error. I should run ./compile in cricket dir as navcron-user, not as a root. Running su - navcron was not enough, but su - navcron -s /bin/bash solved it :) Thanx all 4 help! Silvije Citat John Magne Bredal <john.m.bredal@ntnu.no>:
Hi,
it seems like makecricketconfig does not find any data in the database for some reason. Can you please send me the log makecricketconfig.pl makes? This log should be in the mailbox to the user navcron.
Silvije wrote:
When you say there are no statistics, what do you mean exactly? Are there empty graphs on your Cricket pages, or are there no links to any graphs at all?
There are no links at all, just Cricket warning saying:
WARNING: This install of Cricket is a part of NAV-v3. When viewing the data, please note that we are not responsible for any anomalies on the network that you may see here. We are only displaying them. Any grief you may experience when using this install of Cricket is purely self-inflicted, and of no importance to us. If you however feel that we are helping you in any way, please feel free to send money to the editor. If you take this text seriously, don't
and no graphs..
Ok, I did a little checking, and it seems Debian packages the Python Profiler as a separate package, under the non-free section (I don't know why, but I assume it's because the profile module is released under some other license than the rest of the Python library..?)
Assuming you have the non-free section as part of your sources in /etc/apt/sources.list, try running "apt-get install python-profiler" and see whether NAV works after that. Cc: to Morten Werner, who is the NAV Debian package maintainer.
Thanks for that, now it works without python errors :)
Regards,
Silvije Milisic, CARNet _______________________________________________ Nav-users mailing list Nav-users@itea.ntnu.no http://mailman.itea.ntnu.no/mailman/listinfo/nav-users
-- John Magne Bredal NTNU, ITEA - Nettgruppa "Just because you're paranoid, doesn't mean they're not after you."
-- Ova poruka poslana je s CARNetovog webmail sustava --- http://webmail.carnet.hr/ ---
From john.m.bredal at ntnu.no Tue Nov 15 16:06:27 2005 From: john.m.bredal at ntnu.no (John Magne Bredal) Date: Tue Nov 15 16:05:44 2005 Subject: [Nav-users] Messages Message-ID: <4379F973.903@ntnu.no>
https://beta.nav.ntnu.no/messages/set?netbox=26 velger den ene messagen som ligger der. trykker 'add equipment to message' f?r: Mod_python error: "PythonHandler messageshandler" Traceback (most recent call last): File "/usr/lib/python2.3/site-packages/mod_python/apache.py", line 299, in HandlerDispatch result = object(req) File "/usr/local/nav/apache/webroot/messages/messageshandler.py", line 129, in handler output = commitplacement(req) File "/usr/local/nav/apache/webroot/messages/messageshandler.py", line 1076, in commitplacement raise "noe skjedde" noe skjedde -- Mads Vaagland ITEA systemdrift, NTNU via. -- John Magne Bredal NTNU, ITEA - Nettgruppa "Just because you're paranoid, doesn't mean they're not after you."
From morten.vold at ntnu.no Wed Nov 16 10:19:29 2005 From: morten.vold at ntnu.no (Morten Vold) Date: Wed Nov 16 10:19:32 2005 Subject: [Nav-users] Messages In-Reply-To: <4379F973.903@ntnu.no> References: <4379F973.903@ntnu.no> Message-ID: <437AF9A1.6070207@ntnu.no>
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 15/11/2005 16:06, John Magne Bredal uttered:
https://beta.nav.ntnu.no/messages/set?netbox=26 velger den ene messagen som ligger der.
John-Magne, I appreciate you forwarding bug reports to nav-users, but don't forget that the list prefers English :)
File "/usr/local/nav/apache/webroot/messages/messageshandler.py", line 1076, in commitplacement raise "noe skjedde"
noe skjedde
This is a known bug, and as far as I know, it was fixed on the trunk in r3350. It should be available in the 3.0.1 release (we have no schedule for this release yet; the bug report comes from NTNU, who will be running bleeding edge NAV shortly). - -- Morten Vold, ITEA, NTNU -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (MingW32) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFDevmhXxIl0kpcOkQRAr2iAJ9byaD+TJsU5G9hrXG4QHYrxfL3wwCeJr7T CqCXHakDnausoM3CyS1na2E= =IphL -----END PGP SIGNATURE-----
From lox at netzwerkplanet.de Wed Nov 16 18:53:05 2005 From: lox at netzwerkplanet.de (Christian Lox) Date: Wed Nov 16 18:54:37 2005 Subject: [Nav-users] cricket question Message-ID: <437B7201.10701@netzwerkplanet.de>
Hi! I just managed to get an installation of NAV up and running. For test purposes I inserted some witches and routers into the database. When clicking "statistics" on the toolbox page, I notice there are not all device displayed: There is on Cisco 7507 in the DB which is displayed unter router-interfaces but not under router. Then there are two 2610, which also do not appear under router. One of them appears under router-interfaces, the other does not appear at all. Furthermore I am testing two switches which appear fine under switch-interfaces but not under switches. What am I doing wrong? Thanks, Christian -- you don't need eyes to see you need visions.
From lox at netzwerkplanet.de Thu Nov 17 14:13:09 2005 From: lox at netzwerkplanet.de (Christian Lox) Date: Thu Nov 17 14:14:49 2005 Subject: [Nav-users] replaced devices don't get updated Message-ID: <437C81E5.9080107@netzwerkplanet.de>
Hi! In our initial test setup I had to replace a switch and the corresponding router interface. We had a Cisco 2912XL connected to a Fastethernet interface on a 7507 router. This morning the 2912 was replaced by a 3524 and the router interface now is a Gigabit interface. I edited the switch via "edit database". It was recognized as a 3524XL. So far so good. I would expect that the corresponding websites (like Device browser, statistics etc) get updated. But the device browser still shows the 12 Ports of the 2912 which was removed, though the type if the device reports " cisco, cat3524XL, Catalyst 3524 XL switch". How do we get the new device registered? Thanks, Christian