PacketFence - BTS - PacketFence
View Issue Details
0001456PacketFenceconfigurationpublic2012-05-30 23:232012-06-13 08:47
obilodeau 
 
normalminorhave not tried
closedno change required 
 
 
0001456: configurator.pl centos 6 gives broken config
followed started config and got:

# service packetfence start                                         
Starting PacketFence...Checking configuration sanity...                         
Use of uninitialized value $captive_portal in pattern match (m//) at /usr/local/
pf/lib/pf/pfcmd/checkup.pm line 770.                                            
FATAL - internal network(s) not defined!                                        
FATAL - networks.conf cannot be empty when services.dhcpd is enabled            
FATAL - networks.conf cannot be empty when services.named is enabled            
FATAL - Apache will fail to start! /usr/local/pf/lib/pf/web/captiveportal_modper
l_require.pl doesn't compile                                                    
WARNING - switches.conf | Switch type (pf::SNMP::Cisco::Catalyst_2900XL) is inva
lid for switch 192.168.0.1
No tags attached.
? inicheck.pl (530) 2012-06-02 00:21
https://www.packetfence.org/bugs/file_download.php?file_id=146&type=bug
Issue History
2012-05-30 23:23obilodeauNew Issue
2012-05-30 23:24obilodeauNote Added: 0002740
2012-06-02 00:21barryqFile Added: inicheck.pl
2012-06-02 00:24barryqNote Added: 0002741
2012-06-13 08:46obilodeauNote Added: 0002764
2012-06-13 08:47obilodeauStatusnew => closed
2012-06-13 08:47obilodeauResolutionopen => no change required

Notes
(0002740)
obilodeau   
2012-05-30 23:24   
thinking about it, it's probably due to the lack of vlan interfaces...
(0002741)
barryq   
2012-06-02 00:24   
Looks like the same issue I just went through, documented on the mailing list, titled "upgrade from 3.1.0 to 3.3.2 empty pf.conf after configurator.pl". The version of Config::IniFiles currenty in the Cent repo 2.72-1 is broken. The function GroupMembers does not return any data, as expected. Updated to 2.75 via CPAN and that corrected the issue. Can be tested with the attacked code inicheck.pl
(0002764)
obilodeau   
2012-06-13 08:46   
I had installed RPMForge for RHEL5 instead of RHEL6 on the server. Several packages were crippled.

People experiencing this should follow procedure in 0001461 in order to get rid of the el5 packages out of their system.