Re: [Netpass-users] RE: Cisco.pm errors?
Brought to you by:
jeffmurphy
From: Jeff M. <jcm...@os...> - 2005-08-03 00:40:33
|
>>line 282 read: >> my $cfg = new NetPass::Config('/opt/netpass/etc/netpass.conf'); >>I changed it to: >> my $cfg = new NetPass::Config(-db=>NetPass::DB); >> >>Does that sound right? >> no. i forgot that this code was in there. i changed it so it doesnt refer to netpass.conf which is no longer used. i checked an updated version into CVS. i'm assuming that NU has already made the change since they haven't said anything to me about this... >>After doing this I get another error. I'm not sure if I this is related >>to the change or if there are other issues. Here's the error from the >>client's browser: >> >>Can't locate object method "log" via package "SNMP::Device::Cisco" at >>/opt/netpass/lib/SNMP/Device.pm line 73. >>I'll attach the full error report. >>By the way, is there something I need to do with Cisco.pm or the >>configuration file to make it work with the 2950 model? this is most likely caused by the "=> NetPass::DB" line above, which would've caused the module to not load due to incorrect syntax. as for the 2950, i dont know. if it supports vlan'ing, trunking and looks (from the SNMP point of view) like the 35xx series, then the existing Cisco.pm should work. i only have access to 35xx series equipment. jeff |