Hi!
I am testing NAV (Debian package by Morten Werner Olsen), using the lastest
NAV debian package.
nav:~# dpkg -l | grep nav
ii nav 2+3.0beta8-0pr Network Administration Visualized
I have _big_ problems with getting information about vlans,
- vanPlot
shows some routers, and connections, but vlan number is "-1" on every
connection
after clicking on one of routers I get error:
"An error occurred fetching data from server
2 "
- Report module
after searching "Switchports with vlan" I always get
nothing.
in getBoksMacs.log I have:
[cut]
Jan 13 14:10:10 2005 getBoksData_01 QUERY_NETBOX-6-MAC_ENTRY Fetching vlan: 1
Jan 13 14:10:10 2005 getBoksData_01 QUERY_NETBOX-6-MAC_ENTRY Querying vlan: 1,
MACs: 2 Mappings: 1 Blocked: 0 / 0
Jan 13 14:10:10 2005 getBoksData_01 QUERY_NETBOX-6-MAC_ENTRY MAC: 0030b6c23881
(0.48.182.194.56.129) (null) found at index: 16, but no ifIndex mapping
exists.
Jan 13 14:10:10 2005 getBoksData_01 QUERY_NETBOX-6-MAC_ENTRY Fetching vlan: 2
Jan 13 14:10:11 2005 getBoksData_01 QUERY_NETBOX-6-MAC_ENTRY Fetching vlan: 3
Jan 13 14:10:12 2005 getBoksData_01 QUERY_NETBOX-6-MAC_ENTRY Fetching vlan: 4
Jan 13 14:10:12 2005 getBoksData_01 QUERY_NETBOX-6-MAC_ENTRY Fetching vlan: 5
Jan 13 14:10:12 2005 getBoksData_01 QUERY_NETBOX-6-MAC_ENTRY Fetching vlan: 6
[cut]
Jan 13 14:10:26 2005 getBoksData_01 QUERY_NETBOX-6-MAC_ENTRY MAC: 00809f26009f
(0.128.159.38.0.159) (null) found at index: 1, but no ifIndex mapping exists.
[cut]
Jan 13 14:10:26 2005 getBoksData_01 QUERY_NETBOX-6-MAC_ENTRY MACs found on
11 / 27 VLANs, units on 0.
Jan 13 14:10:26 2005 getBoksData null-6-RUN ** Thread done, time used:
00:00:22.498, waiting for [] **
in database:
manage-# select * from swport;
gives me 60 rows
select * from netbox_vtpvlan;
netboxid | vtpvlan
----------+---------
1 | 200
1 | 3
1 | 203
1 | 14
1 | 1
[cut]
so... I have these information in database, but I can see them via WWW.
Please, tell me which logs I should check, I will provide any information,
beacuse have no idea what is wrong...
My seconf question is:
After adding new ip-device, what should be done, to make cricket show all the
stats?
best regards
--
Wojciech (Woj) Kozicki
>From Aage.Olai.Johnsen at hitos.no Mon Jan 17 15:15:10 2005
From: Aage.Olai.Johnsen at hitos.no (Johnsen, Åge Olai)
Date: Mon Jan 17 15:11:52 2005
Subject: [Nav-users] Cheetah compile errors in deviceManagementTemplate.tmpl
Message-ID:
B1272BF7DAE6094E8D302FF90A391808DFBD80@DIGITALIS.hitos.no
Hi there. Trying to get this to work on Slackware 10.0, and things seem to
be working fine until the Cheetah compilation of the templates.
I had some troubles with Cheetah on slackware, but thanks to Cheetah
mailinglist it seems to be fixed. (the _namemapper.so part)
http://sourceforge.net/mailarchive/forum.php?thread_id=6365639&forum_id=...
The `cheetah test` works fine now.
Relevant systeminfo:
Slackware 10.0
Python 2.3.4
Cheetah 0.9.16a1
Then to the nav part..
./configure works fine, but it halts on this part in the "make'ing".
To my untrained eye it looks like syntaxerrors?
A `cheetah compile
subsystem/deviceManagement/src/deviceManagementTemplate.tmpl` gives the
same errors.
######################################################
make[2]: Entering directory
`/home/source/nav-3.0_beta8/subsystem/deviceManagement/src'
/usr/bin/cheetah compile deviceManagementTemplate.tmpl
Compiling deviceManagementTemplate.tmpl -> deviceManagementTemplate.py
Traceback (most recent call last):
File "/usr/bin/cheetah", line 3, in ?
CheetahWrapper().main()
File "/usr/lib/python2.3/site-packages/Cheetah/CheetahWrapper.py", line
480, in main
meth()
File "/usr/lib/python2.3/site-packages/Cheetah/CheetahWrapper.py", line
410, in compile
self.compileOrFill()
File "/usr/lib/python2.3/site-packages/Cheetah/CheetahWrapper.py", line
403, in compileOrFill
self.compileOrFillBundle(b)
File "/usr/lib/python2.3/site-packages/Cheetah/CheetahWrapper.py", line
248, in compileOrFillBundle
output = str(obj)
File "/usr/lib/python2.3/site-packages/Cheetah/Compiler.py", line 1379,
in moduleDef
self.compile()
File "/usr/lib/python2.3/site-packages/Cheetah/Compiler.py", line 1178,
in compile
self._parser.parse()
File "/usr/lib/python2.3/site-packages/Cheetah/Parser.py", line 1051, in
parse
self.eatDirective()
File "/usr/lib/python2.3/site-packages/Cheetah/Parser.py", line 1168, in
eatDirective
self._directiveEaters[directiveKey]()
File "/usr/lib/python2.3/site-packages/Cheetah/Parser.py", line 1193, in
eatEndDirective
self._directiveEndEaters[directiveKey](
File "/usr/lib/python2.3/site-packages/Cheetah/Parser.py", line 1783, in
eatEndIf
self.eatDedentDirective('if', isLineClearToStartToken)
File "/usr/lib/python2.3/site-packages/Cheetah/Parser.py", line 1777, in
eatDedentDirective
self.popFromIndentStack(directiveKey)
File "/usr/lib/python2.3/site-packages/Cheetah/Parser.py", line 1810, in
popFromIndentStack
raise ParseError(self, msg="#end %s found, expected #end %s" %(
Cheetah.Parser.ParseError:
#end if found, expected #end def at line 362, column 1 in file
deviceManagementTemplate.tmpl
Line|Line contents
----|-------------------------------------------------------------
359 |#end for
360 |</table>
361 |#end if
362 |#end def
^
363 |
364 |#def makeSubMenu($menu)
365 |<br>
make[2]: *** [deviceManagementTemplate.py] Error 1
make[2]: Leaving directory
`/home/source/nav-3.0_beta8/subsystem/deviceManagement/src'
make[1]: *** [all] Error 2
make[1]: Leaving directory
`/home/source/nav-3.0_beta8/subsystem/deviceManagement'
make: *** [all] Error 1
##################################################
-Åge
###########################################
This message has been scanned by F-Secure Anti-Virus for Microsoft
Exchange.
For more information, connect to
http://www.F-Secure.com/