On 5/31/2012 10:28 AM, Olivier Bilodeau wrote:
> Note: Re-adding the list.
>
> On 05/31/2012 12:02 PM, Barry Quiel wrote:
>> On 5/31/2012 6:37 AM, Olivier Bilodeau wrote:
>>> You are having the weirdest problems..
>> That goes without saying :-D
> ...
>
> Your output all looks fine. I seriously don't understand what's going on
> here..
>
> Are you familiar with the perl debugger?
>
> If you are not in production, add a -d to the first line of bin/pfcmd
> then run:
>
> $ cd /usr/local/pf/
> $ PERLLIB=lib bin/pfcmd checkup
> or it might need to be:
> $ PERLLIB=lib perl -d bin/pfcmd checkup
>
> then set a breakpoint with:
>> use pf::pfcmd::checkup;
>> b pf::pfcmd::checkup::interfaces_defined
> then continue to there:
>> c
> Once there, look at the various globals with x. For ex:
>> x \%Config
> This should result in the display of a _huge_ hash with all your
> configuration in it.
>
> Try poking around and find what's wrong and let us know of anything you
> find.
>
> Good luck.
It looks like the %Config hash is defined along with lots of keys,
including the network,interface eth0, and interface eth1. It shows that
those keys are references to Hashes, but they are all empty. Those
referenced hash don't contain any keys. Can you point me in the
direction of the function that builds %Config, I can try and see whats
coming out of there and then step to interface_defined and see where
%Config is getting clobbered.
DB<3> x \%Config
0 HASH(0x16b40e0)
'advanced' => HASH(0x2b90db8)
empty hash
'alerting' => HASH(0x2bb8ee0)
empty hash
'billing' => HASH(0x2c2af40)
empty hash
'captive_portal' => HASH(0x2c2aec8)
empty hash
'database' => HASH(0x2c2ae50)
empty hash
'expire' => HASH(0x2bb9030)
empty hash
'general' => HASH(0x2c2ae38)
empty hash
'guests_admin_registration' => HASH(0x2c2add8)
empty hash
'guests_self_registration' => HASH(0x2c2b018)
empty hash
'inline' => HASH(0x2c2b000)
empty hash
'interface eth0' => HASH(0x2c2afa0)
empty hash
'interface eth1' => HASH(0x2c2afe8)
empty hash
'network' => HASH(0x2c2af70)
empty hash
'passthroughs' => HASH(0x2c2af88)
empty hash
'ports' => HASH(0x2c2af10)
empty hash
'provisioning' => HASH(0x2c2ae98)
empty hash
'proxies' => HASH(0x2c2adc0)
empty hash
'registration' => HASH(0x2bb8e50)
empty hash
'scan' => HASH(0x2bb8eb0)
empty hash
'services' => HASH(0x2bb8fa0)
empty hash
'servicewatch' => HASH(0x2c2afd0)
empty hash
'trapping' => HASH(0x2c2af58)
empty hash
'vlan' => HASH(0x2c2aee0)
empty hash
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
PacketFence-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/packetfence-users