Hello Tony,

check pf.conf.default to see the correct syntax.

Regards

Fabrice



Le 2017-01-06 à 06:54, Tony Bray a écrit :
>  Hello
> I'm having an issue with packetfence configuration
> i tryied to put mysql credentials in conf/pf.conf like ths :
> [database.host]
> localhost
> [database.port]
> 3306
> [database.db]
> pf
> [database.user]
> user
> [database.pass]
> password
>
> and when i launch packetfence it fail and say  : 
> systemctl status packetfence.service -l
> ● packetfence.service - PacketFence Service
>    Loaded: loaded (/lib/systemd/system/packetfence.service; enabled)
>    Active: failed (Result: exit-code) since ven. 2017-01-06 12:52:09
> CET; 8s ago
>   Process: 6201 ExecStart=/usr/local/pf/bin/pfcmd service pf start
> (code=exited, status=255)
>
> janv. 06 12:52:03 srvnac systemd[1]: Starting PacketFence Service...
> janv. 06 12:52:04 srvnac pfcmd[6201]: Smartmatch is experimental at
> /usr/local/pf/lib/pf/cluster.pm <http://cluster.pm> line 588.
> janv. 06 12:52:09 srvnac pfcmd[6201]: /usr/local/pf/conf/pf.conf
> cannot be loaded at /usr/local/pf/lib/pf/config/cached.pm
> <http://cached.pm> line 365.
> janv. 06 12:52:09 srvnac pfcmd[6201]: service|command
> janv. 06 12:52:09 srvnac systemd[1]: packetfence.service: control
> process exited, code=exited status=255
> janv. 06 12:52:09 srvnac systemd[1]: Failed to start PacketFence Service.
> janv. 06 12:52:09 srvnac systemd[1]: Unit packetfence.service entered
> failed state.
>
> I don't know if i made something wrong in pf.conf or somewhere else so
> if you can help me it will be great
> Tony
>
>
>
> ------------------------------------------------------------------------------
> Check out the vibrant tech community on one of the world's most 
> engaging tech sites, SlashDot.org! http://sdm.link/slashdot
>
>
> _______________________________________________
> PacketFence-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/packetfence-users

-- 
Fabrice Durand
[email protected] ::  +1.514.447.4918 (x135) ::  www.inverse.ca
Inverse inc. :: Leaders behind SOGo (http://www.sogo.nu) and PacketFence 
(http://packetfence.org) 

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most 
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
PacketFence-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/packetfence-users

Reply via email to