Hello Fabrice,
Firstly, thanks!
On the admin panel, haproxy i down. When i try to start it i get some
non-descriptive error
May 07 20:20:35 networklogon.desaad.nl haproxy-systemd-wrapper[19157]:
[ALERT] 126/202035 (19159) : Fatal errors found in configuration.
Any hint on where to look next? I'll try and get some better error, when
i succeed, i'll let you know.
Bebbet
On 7-5-2017 19:55, Durand fabrice wrote:
> Hello Bebbet,
>
> haproxy is in front of the apache portal , so have a look at haproxy and
> restart it.
>
> Regards
>
> Fabrice
>
>
>
> Le 2017-05-07 à 13:30, Bebbet van Dinges a écrit :
>> Hello all,
>>
>> I've done a fresh PF install of 7.0.0. Since then i've got issues trying
>> to reach the portal (status/unreg).
>>
>> I've uncovered that the iptables had no 'hole' to allow the management
>> vlan/interface to reach the input-portal-if chain. Assigning another
>> role to the management interface (additional services: portal) this
>> 'restriction' is gone, and tcpdump shows incoming connections and ack's.
>> Yet there is no service*** enabled on port 80 or 443.
>>
>> Ok, there is a httpd.portal service working but only 127.0.0.1. After
>> some digging my understanding is that in
>> /usr/local/pf/conf/httpd.conf.d/httpd.portal.tt a foreach section
>> exists, that generates the url/ips to listen on. After a little more
>> digging i found sub vhosts in
>> /usr/local/pf/lib/pf/services/manager/httpd_portal.pm.
>>
>> sub vhosts {
>> my ($self) = @_;
>> if ($cluster_enabled) {
>> return
>> [
>> uniq map {
>> defined $_->{'Tvip'} && $_->{'Tvip'} ne '' ?
>> $_->{'Tvip'} : $_->{'Tip'}
>> } @internal_nets, @portal_ints
>> ];
>> } else {
>> return ["127.0.0.1"];
>> }
>> }
>>
>>
>> My setup is not cluster enabled, so the else statement is true, and
>> 127.0.0.1 is the output of vhosts. which in turn only enables the portal
>> on localhost.
>>
>> How do i enable more vhosts, or did i uncover some kind of bug/loophole?
>>
>> Hope to hear soon from you,
>> Your sincerely,
>> Bebbet
>>
>>
>>
>> ------------------------------------------------------------------------------
>> 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
>
------------------------------------------------------------------------------
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