PacketFence - BTS - PacketFence
View Issue Details
0000759PacketFenceconfigurationpublic2009-08-10 14:472010-11-19 14:33
awassatsch 
obilodeau 
normalminoralways
closedunable to reproduce 
1.8.4 
 
0000759: pfcmd_vlan - uncaught exception
I'm getting an error message when trying to use pfcmd_vlan

/usr/local/pf/bin/pfcmd_vlan -getVlan -switch 169.143.xxx.yyy -ifIndex 208
Can't call method "getVlan" without a package or object reference at
        ./pfcmd_vlan line 458 (0000001)
    (F) You used the syntax of a method call, but the slot filled by the
    object reference or package name contains an expression that returns a
    defined value which is neither an object reference nor a package name.
    Something like this will reproduce the error:

        $BADREF = 42;
        process $BADREF 1,2,3;
        $BADREF->process(1,2,3);

Uncaught exception from user code:
        Can't call method "getVlan" without a package or object reference at ./pfcmd_vlan line 458


the switch is defined in /usr/local/pf/conf/switches as:

[169.143.xxx.yyy]
mode=production
SNMPVersion=2c
cliTransport=ssh
cliUser=pf
cliPwd=xxxxxxxxx
type=Cisco::Catalyst_3560 (ok, its a 6506 instead)
SNMPVersion=2c
SNMPCommunityRead=read
SNMPCommunityWrite=write

snmp-access has been checked, I can do a "snmpwalk -v 2c -c read 169.143.xxx.yyy" just fine

Any hints on this ?

Best Regards,
Andreas
No tags attached.
Issue History
2009-08-10 14:47awassatschNew Issue
2010-05-05 12:30obilodeauStatusnew => assigned
2010-05-05 12:30obilodeauAssigned To => obilodeau
2010-05-05 12:36obilodeauNote Added: 0001548
2010-05-05 12:36obilodeauStatusassigned => feedback
2010-05-05 13:26obilodeauProduct Versiontrunk => 1.8.4
2010-05-05 13:33obilodeauCategory1.8.4 => 1.8.x
2010-11-19 14:33obilodeauNote Added: 0001767
2010-11-19 14:33obilodeauStatusfeedback => closed
2010-11-19 14:33obilodeauResolutionopen => unable to reproduce
2010-11-19 14:33obilodeauCategory1.8.x => configuration

Notes
(0001548)
obilodeau   
2010-05-05 12:36   
Sorry Andreas, it seems that your bug fell into a crack. Where you able to fix it?

It looks like there's something that prevents PacketFence from instantiating your switch. What do you get with the latest version?
(0001767)
obilodeau   
2010-11-19 14:33   
closed for lack of feedback