Hello Cristian,
what you can try is to upgrade the haproxy version.
Not really complicate to do:
cd /usr/local/pf
curl
https://patch-diff.githubusercontent.com/raw/inverse-inc/packetfence/pull/3209.diff
| patch -p1 --dry-run
If no conflicts:
curl
https://patch-diff.githubusercontent.com/raw/inverse-inc/packetfence/pull/3209.diff
| patch -p1
cp conf/haproxy-db.conf conf/haproxy-db.conf.bak
cp conf/haproxy-db.conf.example conf/haproxy-db.conf
cp conf/haproxy-portal.conf conf/haproxy-portal.conf.bak
cp conf/haproxy-portal.conf.example conf/haproxy-portal.conf
cp conf/systemd/packetfence-haproxy-db.service /usr/lib/systemd/system/
cp conf/systemd/packetfence-haproxy-portal.service /usr/lib/systemd/system/
systemctl daemon-reload
yum update haproxy --enablerepo=packetfence-devel
Then restart packetfence-haproxy-db and packetfence-haproxy-portal
Regards
Fabrice
Le 2018-06-05 à 04:38, Cristian Mammoli via PacketFence-users a écrit :
Hi, multiple times a day haproxy-portal segfaults. I had to configure
a "watchdog" to restart it:
dmesg:
[313974.875103] haproxy[1983]: segfault at 581d9e1d ip
0000560257f6d1d2 sp 00007ffca504d770 error 4 in
haproxy[560257ed2000+101000]
[314296.013258] haproxy[11239]: segfault at 3575a81d ip
000055b7354e91d2 sp 00007ffebde0a0b0 error 4 in
haproxy[55b73544e000+101000]
[345500.600770] haproxy[5437]: segfault at 395181d ip 00005584036e01d2
sp 00007ffdde48cc00 error 4 in haproxy[558403645000+101000]
[347232.808143] haproxy[11087]: segfault at a1f31e1d ip
00005605a1cc51d2 sp 00007fff45eb6a00 error 4 in
haproxy[5605a1c2a000+101000]
[347611.306720] haproxy[17569]: segfault at f75a0e1d ip
000055a8f73341d2 sp 00007ffc724dc360 error 4 in
haproxy[55a8f7299000+101000]
[347909.722693] haproxy[18572]: segfault at cc7b781d ip
0000557acc5461d2 sp 00007ffef0991110 error 4 in
haproxy[557acc4ab000+101000]
journalctl -u packetfence-haproxy-portal.service:
Jun 05 09:41:27 srvpf.apra.it systemd[1]: Starting PacketFence HAProxy
Load Balancer for the captive portal...
Jun 05 09:41:29 srvpf.apra.it packetfence[17557]: WARN
pfcmd.pl(17557): requesting member ips for an undefined interface...
(pf::cluster::members_ips)
Jun 05 09:41:29 srvpf.apra.it packetfence[17557]: WARN
pfcmd.pl(17557): requesting member ips for an undefined interface...
(pf::cluster::members_ips)
Jun 05 09:41:29 srvpf.apra.it packetfence[17557]: WARN
pfcmd.pl(17557): requesting member ips for an undefined interface...
(pf::cluster::members_ips)
Jun 05 09:41:29 srvpf.apra.it packetfence[17557]: WARN
pfcmd.pl(17557): requesting member ips for an undefined interface...
(pf::cluster::members_ips)
Jun 05 09:41:29 srvpf.apra.it pfcmd[17557]: service|command
Jun 05 09:41:29 srvpf.apra.it pfcmd[17557]: haproxy-portal|config
generated
Jun 05 09:41:29 srvpf.apra.it systemd[1]: Started PacketFence HAProxy
Load Balancer for the captive portal.
Jun 05 09:41:29 srvpf.apra.it haproxy-systemd-wrapper[17564]:
haproxy-systemd-wrapper: executing /usr/sbin/haproxy -f
/usr/local/pf/var/conf/haproxy-portal.conf -p /usr/local/pf/var/run/
Jun 05 09:41:47 srvpf.apra.it haproxy-systemd-wrapper[17564]:
haproxy-systemd-wrapper: exit, haproxy RC=0
cat /etc/redhat-release
CentOS Linux release 7.5.1804 (Core)
cat /usr/local/pf/conf/pf-release
PacketFence 8.0.1
yum info haproxy
Loaded plugins: fastestmirror, langpacks
Loading mirror speeds from cached hostfile
* base: it.centos.contactlab.it
* extras: it.centos.contactlab.it
* updates: it.centos.contactlab.it
Installed Packages
Name : haproxy
Arch : x86_64
Version : 1.6.11
Release : 1.2
Size : 3.1 M
Repo : installed
From repo : packetfence
------------------------------------------------------------------------------
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
PacketFence-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/packetfence-users
--
Fabrice Durand
fdur...@inverse.ca :: +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
PacketFence-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/packetfence-users