Hi Andy,
Try 
# bin/pfcmd configreload hard

--
Louis Munro
[email protected]  ::  www.inverse.ca 
+1.514.447.4918 x125  :: +1 (866) 353-6153 x125
Inverse inc. :: Leaders behind SOGo (www.sogo.nu) and PacketFence 
(www.packetfence.org)

> On Oct 22, 2015, at 12:35 , Morris, Andi <[email protected]> wrote:
> 
> Hi all,
> Firstly, sorry for all the mailing list entries recently, it never rains….
>  
> Anyway, I created a violation earlier which went well, however since editing 
> it on the CLI through violations.conf I can no longer get to certain parts of 
> the admin GUI.
>  
> Httpd.admin.log shows:
> Oct 22 17:20:30 httpd.admin(31004) ERROR: Caught exception in 
> pfappserver::Controller::Node->search "/usr/local/pf/conf/violations.conf 
> cannot be loaded at /usr/local/pf/lib/pf/config/cached.pm line 362." 
> (pfappserver::PacketFence::Controller::Root::end)
>  
> Line 362 is (no surprise) the line before my violation entry. I’ve tried 
> putting it back to how I think it was before the edit, however I’m still 
> getting this after restarting the services.
>  
> The entry is:
> [1500001]
> priority=1
> trigger=
> actions=trap,log
> desc=Sitting in captive portal
> enabled=Y
> template=portal
> auto_enable=N
> vlan=macDetection
> whitelisted_categories=
>  
> Do I need to do something to push this into the database, or is there 
> something up with the config? I’m on version 5.0.1 if it matters.
>  
> Cheers,
> Andi
>  
> -------------------------------------
> Andi Morris
> IT Security Officer
> Cardiff Metropolitan University
> T: 02920 205720
> E: [email protected] <mailto:[email protected]>
> --------------------------------------
>  
> 
>  <http://www.cardiffmet.ac.uk/cardiffmet150> 
> ------------------------------------------------------------------------------
> _______________________________________________
> PacketFence-users mailing list
> [email protected] 
> <mailto:[email protected]>
> https://lists.sourceforge.net/lists/listinfo/packetfence-users 
> <https://lists.sourceforge.net/lists/listinfo/packetfence-users>
------------------------------------------------------------------------------
_______________________________________________
PacketFence-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/packetfence-users

Reply via email to