Hi Lucas,

Lucas Croce wrote:
> Hello,
> 
> I just upgraded our PF server to 1.8.7 when I try to start PF, I get the 
> following:
> 
> "Use of uninitialized value in join or string at /usr/local/pf/lib/pf/class.pm
>         line 177 (#1)
>     (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.

This is just a warning and would only affect your violations, so I won't 
worry about it for now.

> 
> iptables|start
> Can't use string ("0") as a HASH ref while "strict refs" in use at
>         /usr/local/pf/lib/pf/iptables.pm line 203 (#2)
>     (F) Only hard references are allowed by "strict refs".  Symbolic
>     references are disallowed.  See perlref.
> 
> Uncaught exception from user code:
>         Can't use string ("0") as a HASH ref while "strict refs" in use at 
> /usr/local/pf/lib/pf/iptables.pm line 203.
>  at /usr/local/pf/lib/pf/iptables.pm line 203
>         pf::iptables::iptables_generate() called at /usr/local/pf/bin/pfcmd 
> line 1050
>         main::service() called at /usr/local/pf/bin/pfcmd line 172
>         main::__ANON__() called at /usr/local/pf/bin/pfcmd line 186"
> 
> I haven't made any changes to those files whatsoever.  I ran configurator.pl 
> in both custom and template modes just to make sure that it wasn't a bad 
> config.  HELP!!!
> 

The lib/iptables.pm file hasn't changed for more than a year (several 
releases). What version are you upgrading from?

Can you also provide a copy of your conf/pf.conf?

Regards,
-- 
Olivier Bilodeau
[email protected]  ::  +1.514.447.4918 *115  ::  www.inverse.ca
Inverse inc. :: Leaders behind SOGo (www.sogo.nu) and PacketFence 
(www.packetfence.org)

------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
Packetfence-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/packetfence-users

Reply via email to