PacketFence - BTS - PacketFence
View Issue Details
0000406PacketFencecorepublic2008-10-02 11:002012-02-29 10:57
maikel 
user4 
normalminoralways
closedfixed 
devel 
 
0000406: Subroutine Net::Appliance::Session::Transport:
Subroutine Net::Appliance::Session::Transport::O_APPEND redefined at /usr/lib/perl5/5.8.8/Exporter.pm line 65.
 at /usr/lib/perl5/5.8.8/i386-linux-thread-multi/POSIX.pm line 19


can be fixxed with this diff:
/Net/Appliance/Session/Transport.pm
11c11
< use POSIX;
---
> use POSIX qw(SIGTERM);
No tags attached.
related to 0000379closed rbalzard Net::Appliance::Session 
Issue History
2008-10-02 11:00maikelNew Issue
2008-10-07 16:29user4Note Added: 0000834
2008-10-07 16:29user4Assigned To => user4
2008-10-07 16:29user4Statusnew => feedback
2008-10-07 16:46maikelNote Added: 0000835
2008-10-10 07:57user4Note Added: 0000841
2008-10-10 08:01maikelNote Added: 0000842
2008-10-15 12:48user4Statusfeedback => closed
2008-10-15 12:48user4Resolutionopen => unable to reproduce
2008-10-24 08:25user4Statusclosed => feedback
2008-10-24 08:25user4Resolutionunable to reproduce => reopened
2008-10-24 08:25user4Note Added: 0000877
2008-10-24 08:26user4Statusfeedback => confirmed
2008-10-31 14:19user4Note Added: 0000898
2008-10-31 14:26user4Category => 1.8.0
2008-11-14 11:25user4Note Added: 0000946
2008-11-14 11:25user4Relationship addedrelated to 0000379
2009-01-05 09:35user4Note Added: 0000973
2009-01-05 09:36user4Statusconfirmed => closed
2009-01-05 09:36user4Resolutionreopened => fixed
2010-04-15 17:53obilodeauCategory1.8.0 => 1.8.x
2012-02-29 10:57obilodeauCategory1.8.x => core

Notes
(0000834)
user4   
2008-10-07 16:29   
Hi Maikel,

I can't reproduce the issue. Could you give me some more details (how to reproduce, which version of perl you are using, which version of Net::Appliance::Session etc.) ?

Thanks,
Dominik
(0000835)
maikel   
2008-10-07 16:46   
/etc/init.d/packetfence start
to reproduce:
Starting PacketFence...Checking configuration sanity...
service|command
config files|start
iptables|start
httpd|start
pfmon|start
pfdhcplistener|start
pfdetect|start
Subroutine Net::Appliance::Session::Transport::O_APPEND redefined at /usr/lib/perl5/5.8.8/Exporter.pm line 67.
 at /usr/lib/perl5/5.8.8/i386-linux-thread-multi/POSIX.pm line 19
Subroutine Net::Appliance::Session::Transport::O_CREAT redefined at /usr/lib/perl5/5.8.8/Exporter.pm line 67.
 at /usr/lib/perl5/5.8.8/i386-linux-thread-multi/POSIX.pm line 19
Subroutine Net::Appliance::Session::Transport::O_WRONLY redefined at /usr/lib/perl5/5.8.8/Exporter.pm line 67.
 at /usr/lib/perl5/5.8.8/i386-linux-thread-multi/POSIX.pm line 19
pfsetvlan|start
snmptrapd|start
snort|start

[root@everest ~]# perl -v

This is perl, v5.8.8 built for i386-linux-thread-multi

Copyright 1987-2006, Larry Wall

Perl may be copied only under the terms of either the Artistic License or the
GNU General Public License, which may be found in the Perl 5 source kit.

Complete documentation for Perl, including FAQ lists, should be found on
this system using "man perl" or "perldoc perl". If you have access to the
Internet, point your browser at http://www.perl.org/, [^] the Perl Home Page.

[root@everest ~]# cpan
CPAN: File::HomeDir loaded ok (v0.81)

cpan shell -- CPAN exploration and modules installation (v1.9205)
ReadLine support enabled

                                                                                cpan[1]> install Net::Appliance::Session
CPAN: Storable loaded ok (v2.18)
Going to read /root/.cpan/Metadata
  Database was generated on Mon, 06 Oct 2008 19:28:27 GMT

Net::Appliance::Session is up to date (1.26).
All cpan modules are the latest version, perl it self is still 5.8.8 not 5.10.0
(0000841)
user4   
2008-10-10 07:57   
Hi Maikel,

I'm unfortunately still unable to reproduce the issue. I've even upgraded my CPAN version to match yours ... could you let me know which PF mtn version you are using ?

Thanks,
Dominik
(0000842)
maikel   
2008-10-10 08:01   
Latest mtn, still seems to be something in perl. I noticed an OCR tool for anti spam had the same error. All CPAN modules are updated. Centos yum also was updated. I think its isolated to the POSIX libs of perl
(0000877)
user4   
2008-10-24 08:25   
now able to reproduce the issue
(0000898)
user4   
2008-10-31 14:19   
I've contacted the author of Net::Appliance::Session. The issue should be solved in the next version
(0000946)
user4   
2008-11-14 11:25   
The issue is still present in Net::Appliance::Session, version 1.32
(0000973)
user4   
2009-01-05 09:35   
fixed in Net::Appliance::Session 1.35