[PacketFence-users] ?????? How to config database address

2017-07-26 Thread ???????? via PacketFence-users
Hello Louis, I have change /var/lib/mysql to /var/lib/mysql-bak,when I run systemctl status mariadb and journalctl -xe, it show as below: [root@localhost pf]# systemctl start mariadb Job for mariadb.service failed because the control process exited with error code. See "systemctl status mariadb.s

Re: [PacketFence-users] bandwidth violation remediation

2017-07-26 Thread Durand fabrice via PacketFence-users
Hi Diego, set the grace period of 24h for your current violation and create a new one for 1024M/Day. Regards Fabrice Le 2017-07-26 à 19:56, Diego Garcia del Rio via PacketFence-users a écrit : Hi, I have a quick question... I have a system setup with 7.2 where I am using bandwidth accou

[PacketFence-users] bandwidth violation remediation

2017-07-26 Thread Diego Garcia del Rio via PacketFence-users
Hi, I have a quick question... I have a system setup with 7.2 where I am using bandwidth accounting / violations. I have set a user limit of 512 mbytes per day and then they get rate-limited to 256Kbit/s. When a user exceeds its bandwidth, I have the option of remediating the violation, but the vi

Re: [PacketFence-users] Packetfence-ZEN-7.2.0 bandwidth violation not working

2017-07-26 Thread Durand fabrice via PacketFence-users
Hello Emmanuel, it looks that there is just start in your accounting (a way to send interim update and stop from the AP/Switch ?). Can you check with: raddebuf -f /usr/local/pf/run/radius-acct.sock -t 300 and paste few requests ? Regards Fabrice Le 2017-07-26 à 03:38, Emmanuel Togo via

Re: [PacketFence-users] Help Please

2017-07-26 Thread Louis Munro via PacketFence-users
> On Jul 26, 2017, at 08:47, darksom--- via PacketFence-users > wrote: > > I would like to know two things: > > 1 - How to clean logs from /usr/local/pf/logs without causing problems? > logrotate should do that for you already, subject to its configuration. See /etc/logrotate.d/packetfence.

Re: [PacketFence-users] How to config database address

2017-07-26 Thread Louis Munro via PacketFence-users
> On Jul 24, 2017, at 23:00, 沧海云帆 via PacketFence-users > wrote: > > Hello, > PF's database address is /var/lib/mysql,now I need to change it to > /opt/sqldata,and I change it follow these steps: > #cp -arp /var/lib/mysql /opt/sqldata > change mysql script: > #vim /etc/init.d/mysql > commen

[PacketFence-users] Help Please

2017-07-26 Thread darksom--- via PacketFence-users
I would like to know two things: 1 - How to clean logs from /usr/local/pf/logs without causing problems? 2 - how to see and how to change the routine to check the status of nodes (Registered -> Unegistered)? My Version: 5.6.1

Re: [PacketFence-users] Packetfence-ZEN-7.2.0 bandwidth violation not working

2017-07-26 Thread Emmanuel Togo via PacketFence-users
Hello Fabrice, Thank you once again. The username in radacct_log is different from mac address. See below the output MariaDB [pf]> select * from radacct_log where username="sophos5"; +--+---+--+--++-+-+