PacketFence - BTS - PacketFence
View Issue Details
0000689PacketFencecorepublic2009-04-03 15:122012-02-29 10:56
user4 
user4 
normalminoralways
closedfixed 
 
 
0000689: daemon restart handler does not work correctly
[root@localhost sbin]# ps aux | fgrep -i pfmon
root 3166 0.0 5.0 45580 26012 ? Ssl 15:02 0:00 /usr/bin/perl ./pfmon -d
root 3195 0.0 0.1 3916 660 pts/0 R+ 15:09 0:00 fgrep -i pfmon
[root@localhost sbin]# kill -HUP 3166


==> /usr/local/pf/logs/packetfence.log <==
Apr 03 15:10:04 pfmon(0): caught SIGHUP - restarting (main::restart_handler)
Apr 03 15:10:04 pfmon(0): could not restart: #! (main::restart_handler)
Apr 03 15:10:04 pfmon(0): stopping pfmon (main::END)

==> /usr/local/pf/logs/pfmon <==
Can't exec "./pfmon": No such file or directory at ./pfmon line 713 (0000001)
    (W exec) A system(), exec(), or piped open call could not execute the
    named program for the indicated reason. Typical reasons include: the
    permissions were wrong on the file, the file wasn't found in
    $ENV{PATH}, the executable in question was compiled for another
    architecture, or the #! line in a script points to an interpreter that
    can't be run for similar reasons. (Or maybe your system doesn't support
    #! at all.)
    
Uncaught exception from user code:
    could not restart: #! at /usr/lib/perl5/site_perl/5.8.8/Log/Log4perl/Logger.pm line 896
 at ./pfmon line 140


Same issue is present for pfdetect, pfdhcplistener, pfmon and pfredirect
No tags attached.
Issue History
2009-04-03 15:12user4New Issue
2009-04-03 15:12user4Statusnew => assigned
2009-04-03 15:12user4Assigned To => user4
2009-04-03 15:25user4Summarypfmon restart handler does not work correctly => daemon restart handler does not work correctly
2009-04-03 15:25user4Description Updated
2009-04-13 13:34user4Statusassigned => closed
2009-04-13 13:34user4Note Added: 0001221
2009-04-13 13:34user4Resolutionopen => fixed
2010-04-15 17:56obilodeauCategory1.8.2 => 1.8.x
2012-02-29 10:56obilodeauCategory1.8.x => core

Notes
(0001221)
user4   
2009-04-13 13:34   
fixed in mtn revision 51db302d2d9f1d7aec9fac3656467982fb4365d0