PacketFence
Bug Tracking System

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0000580PacketFencecorepublic2009-02-10 12:192012-02-29 10:57
Reportermaikel 
Assigned Touser4 
PrioritynormalSeveritymajorReproducibilityalways
StatusclosedResolutionno change required 
PlatformOSOS Version
Product Versiondevel 
Target VersionFixed in Version 
Summary0000580: Starting PacketFence...Use of uninitialized value in split at /usr/local/pf/lib/pf/config.pm line 179
DescriptionLooks related to network.conf issue
Additional InformationUse of uninitialized value in pattern match (m//) at /usr/local/pf/bin/pfcmd
        line 1910 (0000001)
    (W uninitialized) An undefined value was used as if it were already
    defined. It was interpreted as a "" or a 0, but maybe it was a mistake.
    To suppress this warning assign a defined value to your variables.

    To help you figure out what was undefined, perl tells you what operation
    you used the undefined value in. Note, however, that perl optimizes your
    program and the operation displayed in the warning may not necessarily
    appear literally in your program. For example, "that $foo" is
    usually optimized into "that " . $foo, and the warning will refer to
    the concatenation (.) operator, even though there is no . in your
    program.

Uncaught exception from user code:
        incomplete network information for interface eth0 at /usr/lib/perl5/site_perl/5.8.8/Log/Log4perl/Logger.pm line 896
 at /usr/local/pf/bin/pfcmd line 1910
        main::sanity_check('pfdhcplistener', 'pfmon', 'pfdetect', 'httpd', 'snmptrapd', 'pfsetvlan', 'snort') called at /usr/local/pf/bin/pfcmd line 934
        main::service() called at /usr/local/pf/bin/pfcmd line 173
TagsNo tags attached.
fixed in git revision
fixed in mtn revision
Attached Files

- Relationships
related to 0000579closeduser4 configurator.pl 

-  Notes
(0001087)
maikel (reporter)
2009-02-10 12:25

Actually a wrong generated pf.conf by configurator

For some reason the it doesn't like vlanned interfaces to well. All interfaces are generated correctly, but at the bottom if the file this shows:
[interface eth0]
822=IP of gateway of managed subnet
(0001089)
user4
2009-02-10 12:28

According to the code which generates this message, I would say that the issue appears to be in conf/pf.conf ...

      if (!defined $Config{$interface}{'ip'} || !defined $Config{$interface}{'mask'} ||!defined $Config{$interface}{'gateway'}){
          $logger->logdie("incomplete network information for $interface ");
      }

(0001090)
maikel (reporter)
2009-02-10 12:29

It is related to configurator.pl

If i had checked the config before starting pf, it wouldn't have been there. I suggest closing this bug

- Issue History
Date Modified Username Field Change
2009-02-10 12:19 maikel New Issue
2009-02-10 12:25 maikel Note Added: 0001087
2009-02-10 12:27 user4 Status new => assigned
2009-02-10 12:27 user4 Assigned To => user4
2009-02-10 12:27 user4 Relationship added related to 0000579
2009-02-10 12:28 user4 Note Added: 0001089
2009-02-10 12:28 user4 Status assigned => feedback
2009-02-10 12:29 maikel Note Added: 0001090
2009-02-10 12:31 user4 Status feedback => closed
2009-02-10 12:31 user4 Resolution open => no change required
2010-04-15 17:53 obilodeau Category 1.8.0 => 1.8.x
2012-02-29 10:57 obilodeau Category 1.8.x => core


Copyright © 2000 - 2012 MantisBT Group
Powered by Mantis Bugtracker