Dnia ?roda, 9 lutego 2005 16:02, Wojciech Kozicki napisa?:
Hi,
After adding another Cisco Catalyst 2900xl switch to NAV I get following error:
--> Mod_python error: "PythonHandler editdb"
Traceback (most recent call last):
File "/usr/lib/python2.3/site-packages/mod_python/apache.py", line 299, in HandlerDispatch result = object(req)
File "/var/www/nav/editdb/editdb.py", line 156, in handler output = editPage(req,pageList[table](),request,unicodeError)
File "/var/www/nav/editdb/editdb.py", line 463, in editPage outputForm,action)
File "/var/www/nav/editdb/editdb.py", line 2435, in add disabled=True))
TypeError: __init__() takes at least 2 non-keyword arguments (1 given) <--
[cut]
Ok, it is solved. NAV gets from Cisco 2900XL serial number, but default for 2900 is 0x10. After setting different serials on other 2900s it worked.
The command on cisco switch for do this is: "snmp-server chassis-id NUMBER"
regards