Can you see if the same type of errors are registered in the log files I've
mentioned?
Em ter, 3 de jul de 2018 12:56, Sallee, Jake via PacketFence-users <
[email protected]> escreveu:
> Sorry to butt in, but I wanted to say I think I am having the same issue.
>
>
> haproxy seems to crash after a few hours, but only on one of the servers
> in my cluster.
>
>
> Is there any test or logs I can provide to assist in the troubleshooting
> process?
>
>
> Jake Sallee
> Godfather of Bandwidth
> System Engineer
> University of Mary Hardin-Baylor
> WWW.UMHB.EDU
>
> 900 College St.
> Belton, Texas
> 76513
>
> Fone: 254-295-4658
> Phax: 254-295-4221
> ________________________________
> From: Murilo Calegari via PacketFence-users <
> [email protected]>
> Sent: Tuesday, July 3, 2018 10:06 AM
> To: [email protected]
> Cc: Murilo Calegari
> Subject: Re: [PacketFence-users] Haproxy will always crash after a few
> hours
>
> Hi, Fabrice
>
> Trying to update haproxy hasn't worked since it returns the following
> error:
>
> patch unexpectedly ends in middle of line
> patch: **** Only garbage was found in the patch input
>
> I've been able to find the exact moment when Haproxy seems to stop (just a
> few seconds after I put it in production) — in /var/log/messages there's a
> log entry at 11:33:38 that states:
>
> Jul 3 11:33:38 prometeu kernel: haproxy[1947]: segfault at db6cae1d ip
> 000055f4db45e1d2 sp 00007ffeadb0bdc0 error 4 in haproxy[55f4db3c3000+101000]
> Jul 3 11:33:38 prometeu haproxy-systemd-wrapper: haproxy-systemd-wrapper:
> exit, haproxy RC=0
>
> From this moment it just crashes and it won't start automatically again.
>
> Tracing what might have happened before this error, I've found the
> following, that appeared maybe over 50 times in
> /usr/local/pf/logs/httpd.portal.error:
>
> Jul 3 11:33:36 prometeu httpd_portal_err: Use of uninitialized value
> $host in string eq at
> /usr/local/pf/lib/captiveportal/PacketFence/DynamicRouting/Application.pm
> line 298.
>
> This sequence started at 11:33:23 and stopped at 11:33:36, 2 seconds
> before Haproxy crashes.
>
> Is it possible that this caused the issue? I haven't seen the same error
> appearing any time while we were testing with 1 or 2 devices. I'm attaching
> the two logs mentioned.
>
> Hope someone can help me.
>
> Best Regards,
>
> Murilo Calegari de Souza
>
> Em sex, 22 de jun de 2018 às 15:37, Fabrice Durand via PacketFence-users <
> [email protected]<mailto:
> [email protected]>> escreveu:
>
> Hello,
>
> sorry a typo, this is:
>
> curl https://github.com/inverse-inc/packetfence/pull/3209.diff<
> https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_inverse-2Dinc_packetfence_pull_3209.diff&d=DwMFaQ&c=61yQaCoNVjQr1ah003i6yA&r=hv6FWbB_1Tauwq1un9h_XR4pflYMFHr0Ag1rvcLKIQA&m=T82q9Makf3Ny7LBjbXBRZHdZw_j6E5XLkMzvo2syy0A&s=-vIfmFZRcqt_YbwmTSe2ZCIMCz-3qSPq0mcIB3hSLzw&e=>
> | patch -p1 --dry-run
>
>
> curl https://github.com/inverse-inc/packetfence/pull/3209.diff<
> https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_inverse-2Dinc_packetfence_pull_3209.diff&d=DwMFaQ&c=61yQaCoNVjQr1ah003i6yA&r=hv6FWbB_1Tauwq1un9h_XR4pflYMFHr0Ag1rvcLKIQA&m=T82q9Makf3Ny7LBjbXBRZHdZw_j6E5XLkMzvo2syy0A&s=-vIfmFZRcqt_YbwmTSe2ZCIMCz-3qSPq0mcIB3hSLzw&e=>
> | patch -p1
>
> Regards
> Fabrice
>
>
> Le 2018-06-22 à 13:57, Gerllys Speroto Calvi a écrit :
> HI,
>
> The command you entered does not work on CentOS 7.
> Displays the message: 3209.diff command does not exist.
>
> I executed the following commands:
> wget https://github.com/inverse-inc/packetfence/pull/3209.diff<
> https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_inverse-2Dinc_packetfence_pull_3209.diff&d=DwMFaQ&c=61yQaCoNVjQr1ah003i6yA&r=hv6FWbB_1Tauwq1un9h_XR4pflYMFHr0Ag1rvcLKIQA&m=T82q9Makf3Ny7LBjbXBRZHdZw_j6E5XLkMzvo2syy0A&s=-vIfmFZRcqt_YbwmTSe2ZCIMCz-3qSPq0mcIB3hSLzw&e=
> >
>
> 3209.diff | patch -p1 --dry-run
>
> 3209.diff | patch -p1
>
> What is the correct way to run the 3209.diff file?
>
>
> 2018-06-21 21:42 GMT-03:00 Murilo Calegari <
> [email protected]<mailto:[email protected]>>:
>
>
> ---------- Forwarded message ---------
> From: Durand fabrice via PacketFence-users <
> [email protected]<mailto:
> [email protected]>>
> Date: qui, 21 de jun de 2018 às 21:35
> Subject: Re: [PacketFence-users] Haproxy will always crash after a few
> hours
> To: <[email protected]<mailto:
> [email protected]>>
> Cc: Durand fabrice <[email protected]<mailto:[email protected]>>
>
>
>
> Hello Murilo,
>
> in the incoming PacketFence 8.1 version we upgraded the haproxy version.
>
> If you want you can try to upgrade to the 1.8 version and apply this patch
> https://github.com/inverse-inc/packetfence/pull/3209.diff<
> https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_inverse-2Dinc_packetfence_pull_3209.diff&d=DwMFaQ&c=61yQaCoNVjQr1ah003i6yA&r=hv6FWbB_1Tauwq1un9h_XR4pflYMFHr0Ag1rvcLKIQA&m=T82q9Makf3Ny7LBjbXBRZHdZw_j6E5XLkMzvo2syy0A&s=-vIfmFZRcqt_YbwmTSe2ZCIMCz-3qSPq0mcIB3hSLzw&e=
> >
>
> To apply the patch:
>
> https://github.com/inverse-inc/packetfence/pull/3209.diff<
> https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_inverse-2Dinc_packetfence_pull_3209.diff&d=DwMFaQ&c=61yQaCoNVjQr1ah003i6yA&r=hv6FWbB_1Tauwq1un9h_XR4pflYMFHr0Ag1rvcLKIQA&m=T82q9Makf3Ny7LBjbXBRZHdZw_j6E5XLkMzvo2syy0A&s=-vIfmFZRcqt_YbwmTSe2ZCIMCz-3qSPq0mcIB3hSLzw&e=>
> | patch -p1 --dry-run
>
> If no error:
>
> https://github.com/inverse-inc/packetfence/pull/3209.diff<
> https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_inverse-2Dinc_packetfence_pull_3209.diff&d=DwMFaQ&c=61yQaCoNVjQr1ah003i6yA&r=hv6FWbB_1Tauwq1un9h_XR4pflYMFHr0Ag1rvcLKIQA&m=T82q9Makf3Ny7LBjbXBRZHdZw_j6E5XLkMzvo2syy0A&s=-vIfmFZRcqt_YbwmTSe2ZCIMCz-3qSPq0mcIB3hSLzw&e=>
> | patch -p1
>
> After applying the patch you will need to do:
>
> cp /usr/local/pf/conf/systemd/packetfence-haproxy-db.service
> /lib/systemd/system/
>
> cp /usr/local/pf/conf/systemd/packetfence-haproxy-portal.service
> /lib/systemd/system/
>
> cp /usr/local/pf/conf/haproxy-portal.conf.example
> /usr/local/pf/conf/haproxy-portal.conf
>
> cp /usr/local/pf/conf/haproxy-db.conf.example
> /usr/local/pf/conf/haproxy-db.conf
>
> systemctl daemon-reload
>
> systemctl restart packetfence-haproxy-db
>
> systemctl restart packetfence-haproxy-portal
>
> Regards
> Fabrice
>
>
> Le 2018-06-21 à 07:18, Murilo Calegari via PacketFence-users a écrit :
> Hi,
>
> We're currently in a phase of testing PacketFence to put it in production
> at our school (approximately 1000 not simultaneously students + a few
> guests), but even during our testing phase (with none or up to 2 connected
> devices) we are facing an issue we haven't been able to deal with it.
> Once we start the OS along with PacketFence, everything seems OK, Inline
> enforcement is working nicely, users get redirected to Captive Portal, they
> put their e-mail, they activate and register their devices. But after a few
> moments, on the status page we see that the services haproxy and
> haproxy-portal seems to just crash, and they won't come back alive. We've
> returned a few snapshots we had and still no solving to the problem. We've
> tested PacketFence ZEN Live installation and the same problem still
> continues. So far I haven't been able to find Haproxy logs and even
> packetfence.log sometimes doesn't have a single mention to haproxy.
>
> Does anyone have any suggestions?
>
> Best Regards,
>
> Murilo Calegari de Souza
>
>
>
>
> ------------------------------------------------------------------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot<
> https://urldefense.proofpoint.com/v2/url?u=http-3A__sdm.link_slashdot&d=DwMFaQ&c=61yQaCoNVjQr1ah003i6yA&r=hv6FWbB_1Tauwq1un9h_XR4pflYMFHr0Ag1rvcLKIQA&m=T82q9Makf3Ny7LBjbXBRZHdZw_j6E5XLkMzvo2syy0A&s=Vbj-VXtlQsmulVFBe4ZEUvsJLUKHHmPPIMY4_sfKi0k&e=
> >
>
>
>
> _______________________________________________
> PacketFence-users mailing list
> [email protected]<mailto:
> [email protected]>
> https://lists.sourceforge.net/lists/listinfo/packetfence-users<
> https://urldefense.proofpoint.com/v2/url?u=https-3A__lists.sourceforge.net_lists_listinfo_packetfence-2Dusers&d=DwMFaQ&c=61yQaCoNVjQr1ah003i6yA&r=hv6FWbB_1Tauwq1un9h_XR4pflYMFHr0Ag1rvcLKIQA&m=T82q9Makf3Ny7LBjbXBRZHdZw_j6E5XLkMzvo2syy0A&s=zp0bHfbOZiD1enXsxz1yrBzkvtO7f5m2brCjnndNoO8&e=
> >
>
>
>
> ------------------------------------------------------------------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot<
> https://urldefense.proofpoint.com/v2/url?u=http-3A__sdm.link_slashdot&d=DwMFaQ&c=61yQaCoNVjQr1ah003i6yA&r=hv6FWbB_1Tauwq1un9h_XR4pflYMFHr0Ag1rvcLKIQA&m=T82q9Makf3Ny7LBjbXBRZHdZw_j6E5XLkMzvo2syy0A&s=Vbj-VXtlQsmulVFBe4ZEUvsJLUKHHmPPIMY4_sfKi0k&e=
> >_______________________________________________
> PacketFence-users mailing list
> [email protected]<mailto:
> [email protected]>
> https://lists.sourceforge.net/lists/listinfo/packetfence-users<
> https://urldefense.proofpoint.com/v2/url?u=https-3A__lists.sourceforge.net_lists_listinfo_packetfence-2Dusers&d=DwMFaQ&c=61yQaCoNVjQr1ah003i6yA&r=hv6FWbB_1Tauwq1un9h_XR4pflYMFHr0Ag1rvcLKIQA&m=T82q9Makf3Ny7LBjbXBRZHdZw_j6E5XLkMzvo2syy0A&s=zp0bHfbOZiD1enXsxz1yrBzkvtO7f5m2brCjnndNoO8&e=
> >
>
>
>
> --
> Atenciosamente
>
> Gerllys Speroto Calvi
> Técnico em Tecnologia da Informação
> (27)99656-0587
>
>
> --
> Fabrice Durand
> [email protected]<mailto:[email protected]> ::
> +1.514.447.4918<tel:(514)%20447-4918> (x135) :: www.inverse.ca<
> https://urldefense.proofpoint.com/v2/url?u=http-3A__www.inverse.ca&d=DwMFaQ&c=61yQaCoNVjQr1ah003i6yA&r=hv6FWbB_1Tauwq1un9h_XR4pflYMFHr0Ag1rvcLKIQA&m=T82q9Makf3Ny7LBjbXBRZHdZw_j6E5XLkMzvo2syy0A&s=weuD9KA1ahPV6txp4GXgKq4IxwQmfC4lBekD7pUeLbk&e=
> >
> Inverse inc. :: Leaders behind SOGo (http://www.sogo.nu<
> https://urldefense.proofpoint.com/v2/url?u=http-3A__www.sogo.nu&d=DwMFaQ&c=61yQaCoNVjQr1ah003i6yA&r=hv6FWbB_1Tauwq1un9h_XR4pflYMFHr0Ag1rvcLKIQA&m=T82q9Makf3Ny7LBjbXBRZHdZw_j6E5XLkMzvo2syy0A&s=98xePBn5JSUetNXysx1C4F13MJIOQlYlzWWQW8Lf7uc&e=>)
> and PacketFence (http://packetfence.org<
> https://urldefense.proofpoint.com/v2/url?u=http-3A__packetfence.org&d=DwMFaQ&c=61yQaCoNVjQr1ah003i6yA&r=hv6FWbB_1Tauwq1un9h_XR4pflYMFHr0Ag1rvcLKIQA&m=T82q9Makf3Ny7LBjbXBRZHdZw_j6E5XLkMzvo2syy0A&s=0icVy-MMa2vBkhk6zl9JbBc2HQdUZKpTJinyqs18YpE&e=
> >)
>
>
> ------------------------------------------------------------------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot<
> https://urldefense.proofpoint.com/v2/url?u=http-3A__sdm.link_slashdot&d=DwMFaQ&c=61yQaCoNVjQr1ah003i6yA&r=hv6FWbB_1Tauwq1un9h_XR4pflYMFHr0Ag1rvcLKIQA&m=T82q9Makf3Ny7LBjbXBRZHdZw_j6E5XLkMzvo2syy0A&s=Vbj-VXtlQsmulVFBe4ZEUvsJLUKHHmPPIMY4_sfKi0k&e=
> >_______________________________________________
> PacketFence-users mailing list
> [email protected]<mailto:
> [email protected]>
> https://lists.sourceforge.net/lists/listinfo/packetfence-users<
> https://urldefense.proofpoint.com/v2/url?u=https-3A__lists.sourceforge.net_lists_listinfo_packetfence-2Dusers&d=DwMFaQ&c=61yQaCoNVjQr1ah003i6yA&r=hv6FWbB_1Tauwq1un9h_XR4pflYMFHr0Ag1rvcLKIQA&m=T82q9Makf3Ny7LBjbXBRZHdZw_j6E5XLkMzvo2syy0A&s=zp0bHfbOZiD1enXsxz1yrBzkvtO7f5m2brCjnndNoO8&e=
> >
>
>
> ------------------------------------------------------------------------------
> 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
>
------------------------------------------------------------------------------
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