Anonymous | Login | 2024-08-24 20:41 EDT | ![]() |
Main | My View | View Issues | Change Log | Roadmap |
View Issue Details [ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | Project | Category | View Status | Date Submitted | Last Update | |||
0000852 | PacketFence | error-handling | public | 2009-11-16 12:33 | 2015-02-13 15:26 | |||
Reporter | obilodeau | |||||||
Assigned To | ||||||||
Priority | high | Severity | minor | Reproducibility | always | |||
Status | closed | Resolution | open | |||||
Platform | OS | OS Version | ||||||
Product Version | ||||||||
Target Version | Fixed in Version | |||||||
Summary | 0000852: httpd should almost always run even if config sanity check fails | |||||||
Description | For most users, when there is no httpd running, packetfence is just hosed and they need to get in touch with their sysadmin. This could be avoided if we still launched httpd and have them diagnose the problem in the web ui. one exemple misuse case: enable trapping.detection (snort) but forget to put an interface monitor, restart: [root@pf-dev pf]# service packetfence restart Restarting PacketFence...service|command pfdhcplistener|stop pfmon|stop pfdetect|stop httpd|stop snmptrapd|stop pfsetvlan|stop snort|stop Checking configuration sanity... Uncaught exception from user code: monitor interface not defined, please disable trapping.dectection or set an interface type=...,monitor in pf.conf at /usr/lib/perl5/vendor_perl/5.8.8/Log/Log4perl/Logger.pm line 884 at /usr/local/pf/bin/pfcmd line 2225 main::sanity_check('pfdhcplistener', 'pfmon', 'pfdetect', 'httpd', 'snmptrapd', 'pfsetvlan', 'snort') called at /usr/local/pf/bin/pfcmd line 1022 main::service() called at /usr/local/pf/bin/pfcmd line 997 main::service() called at /usr/local/pf/bin/pfcmd line 172 main::__ANON__() called at /usr/local/pf/bin/pfcmd line 186 httpd should be able to start since its not affected by that error but: [root@pf-dev pf]# bin/pfcmd service httpd start Checking configuration sanity... Uncaught exception from user code: monitor interface not defined, please disable trapping.dectection or set an interface type=...,monitor in pf.conf at /usr/lib/perl5/vendor_perl/5.8.8/Log/Log4perl/Logger.pm line 884 at bin/pfcmd line 2225 main::sanity_check('httpd') called at bin/pfcmd line 1022 main::service() called at bin/pfcmd line 172 main::__ANON__() called at bin/pfcmd line 186 In you do that through web ui you never get the error message shown, it just never works and if you restart the whole thing by mistake then you can never get it back up. The log of the last ERRORs / FATALs would help in that case. This was reported elsewhere. Nov 16 12:30:34 pfcmd(0) FATAL: monitor interface not defined, please disable trapping.dectection or set an interface type=...,monitor in pf.conf (main::sanity_check) | |||||||
Tags | No tags attached. | |||||||
fixed in git revision | ||||||||
fixed in mtn revision | ||||||||
Attached Files | ||||||||
![]() |
||||||
|
![]() |
|
(0002901) obilodeau (reporter) 2012-08-07 10:45 |
Reminder sent to: dwuelfrath How are we doing regarding that and the new admin with pfappserver? |
(0003695) lmunro (administrator) 2015-02-13 15:26 |
Old issues. Most are not relevant to PF 4 and up. Let's reopen the ones that matter when we move to github. |
![]() |
|||
Date Modified | Username | Field | Change |
2009-11-16 12:33 | obilodeau | New Issue | |
2009-11-16 12:37 | obilodeau | Status | new => assigned |
2009-11-16 12:37 | obilodeau | Assigned To | => obilodeau |
2010-04-15 17:43 | obilodeau | Project | PacketFence 1.9 => PacketFence |
2010-07-01 11:51 | obilodeau | Relationship added | related to 0001023 |
2011-01-18 12:02 | obilodeau | Target Version | => 2.1.0 |
2011-03-03 15:15 | obilodeau | Target Version | 2.1.0 => +1 |
2011-03-03 15:18 | obilodeau | Target Version | +1 => +2 |
2012-05-07 15:35 | obilodeau | Relationship added | child of 0001444 |
2012-08-03 10:18 | dwuelfrath | Relationship added | related to 0001500 |
2012-08-03 10:18 | dwuelfrath | Relationship deleted | child of 0001444 |
2012-08-03 10:18 | dwuelfrath | Relationship deleted | related to 0001023 |
2012-08-07 10:45 | obilodeau | Note Added: 0002901 | |
2012-10-19 13:53 | fgaudreault | Assigned To | obilodeau => |
2012-10-19 13:53 | fgaudreault | Target Version | long-term => general |
2015-02-13 15:26 | lmunro | Note Added: 0003695 | |
2015-02-13 15:26 | lmunro | Status | assigned => closed |
Copyright © 2000 - 2012 MantisBT Group |