PacketFence - BTS - PacketFence | ||||||||||
| View Issue Details | ||||||||||
| ID | Project | Category | View Status | Date Submitted | Last Update | |||||
| 0001544 | PacketFence | soh | public | 2012-09-11 09:33 | 2015-02-13 15:42 | |||||
| Reporter | obilodeau | |||||||||
| Assigned To | ||||||||||
| Priority | low | Severity | minor | Reproducibility | random | |||||
| Status | closed | Resolution | open | |||||||
| Platform | OS | OS Version | ||||||||
| Product Version | ||||||||||
| Target Version | Fixed in Version | |||||||||
| fixed in git revision | ||||||||||
| fixed in mtn revision | ||||||||||
| Summary | 0001544: SoH configuration page fails to load because of config file permissions | |||||||||
| Description | Page doesn't load. A perl CGI fatal error is shown (see add infos). User environment information:
[root@pf-zen-esx pf]# rpm -q packetfence
packetfence-3.5.0-1.el6.noarch
[root@pf-zen-esx pf]# ls -l /usr/local/pf/conf/{pf,float,network}*.conf*
-rw-r--r-- 1 pf pf 242 Aug 1 12:34
/usr/local/pf/conf/floating_network_device.conf
-rw-r--r-- 1 root root 528 Sep 1 18:46 /usr/local/pf/conf/networks.conf
-rw------- 1 root root 521 Sep 1 18:51 /usr/local/pf/conf/pf.conf
-rw-r--r-- 1 pf pf 24187 Aug 1 12:34
/usr/local/pf/conf/pf.conf.defaults
[root@pf-zen-esx pf]# uname -a
Linux pf-zen-esx.packetfence.org 2.6.32-279.2.1.el6.x86_64 # 1 SMP Fri Jul 20
01:55:29 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux
It is a permission issue. Apache runs as pf and the configuration is owned by root and not even readable. | |||||||||
| Steps To Reproduce | ||||||||||
| Additional Information | Error message:Software error: Fatal error preventing configuration to load. Please review your configuration. Error: Can't call method "Sections" on an undefined value at /usr/local/pf/lib/pf/config.pm line 304. at /usr/local/pf/lib/pf/config.pm line 248 Compilation failed in require at /usr/local/pf/html/admin/soh.cgi line 27. BEGIN failed--compilation aborted at /usr/local/pf/html/admin/soh.cgi line 27. | |||||||||
| Tags | No tags attached. | |||||||||
| Relationships |
| |||||||||
| Attached Files | ||||||||||
| Issue History | ||||||||||
| Date Modified | Username | Field | Change | |||||||
| 2012-09-11 09:33 | obilodeau | New Issue | ||||||||
| 2012-09-11 09:38 | obilodeau | Description Updated | ||||||||
| 2012-09-11 09:39 | obilodeau | Relationship added | related to 0000960 | |||||||
| 2015-02-13 15:42 | lmunro | Note Added: 0003817 | ||||||||
| 2015-02-13 15:42 | lmunro | Status | new => closed | |||||||
| Notes | |||||
|
|
|||||
|
|
||||