Hello,

sorry a typo, this is:

curl https://github.com/inverse-inc/packetfence/pull/3209.diff | patch -p1 --dry-run


curl https://github.com/inverse-inc/packetfence/pull/3209.diff | 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:
wgethttps://github.com/inverse-inc/packetfence/pull/3209.diff <https://github.com/inverse-inc/packetfence/pull/3209.diff>

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://github.com/inverse-inc/packetfence/pull/3209.diff>

    To apply the patch:

    https://github.com/inverse-inc/packetfence/pull/3209.diff
    <https://github.com/inverse-inc/packetfence/pull/3209.diff> |
    patch -p1 --dry-run

    If no error:

    https://github.com/inverse-inc/packetfence/pull/3209.diff
    <https://github.com/inverse-inc/packetfence/pull/3209.diff> |
    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


    _______________________________________________
    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>

    
------------------------------------------------------------------------------
    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]
    <mailto:[email protected]>
    https://lists.sourceforge.net/lists/listinfo/packetfence-users
    <https://lists.sourceforge.net/lists/listinfo/packetfence-users>




--
Atenciosamente
*Gerllys Speroto Calvi*
*Técnico em Tecnologia da Informação*
(27)99656-0587

--
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