Hello bro: I test pf portal .
Enter https://xxx.xx.xxx.xx:1443/portal_preview/captive-portal?PORTAL=default But chrome return HTTP 502 ERROR. This is server httpd.portal error log [root@pfnps01 ~]# systemctl status packetfence-httpd.portal.service -l ● packetfence-httpd.portal.service - PacketFence Captive Portal Apache HTTP Server Loaded: loaded (/usr/lib/systemd/system/packetfence-httpd.portal.service; enabled; vendor preset: disabled) Active: active (running) since Thu 2021-07-15 13:46:46 CST; 56s ago Docs: man:httpd(8) man:apachectl(8) Process: 100335 ExecStop=/bin/kill -WINCH ${MAINPID} (code=exited, status=0/SUCCESS) Process: 100344 ExecStartPre=/bin/perl -I/usr/local/pf/lib -Mpf::services::manager::httpd_portal -e pf::services::manager::httpd_portal->new()->generateConfig() (code=exited, status=0/SUCCESS) Process: 100342 ExecStartPre=/usr/bin/rm -f /usr/local/pf/var/run/httpd.portal.pid (code=exited, status=0/SUCCESS) Main PID: 100351 (/usr/sbin/httpd) Status: "Total requests: 50; Current requests/sec: 1; Current traffic: 819 B/sec" CGroup: /packetfence.slice/packetfence-httpd.portal.service ├─100351 /usr/sbin/httpd -f /usr/local/pf/var/conf/httpd.conf.d/httpd.portal -DFOREGROUND -Drhel ├─100416 /usr/bin/logger -thttpd_portal_err -plocal5.err ├─100417 /usr/bin/logger -thttpd_portal -plocal5.info ├─100419 /usr/sbin/httpd -f /usr/local/pf/var/conf/httpd.conf.d/httpd.portal -DFOREGROUND -Drhel ├─100420 /usr/sbin/httpd -f /usr/local/pf/var/conf/httpd.conf.d/httpd.portal -DFOREGROUND -Drhel ├─100421 /usr/sbin/httpd -f /usr/local/pf/var/conf/httpd.conf.d/httpd.portal -DFOREGROUND -Drhel └─100422 /usr/sbin/httpd -f /usr/local/pf/var/conf/httpd.conf.d/httpd.portal -DFOREGROUND -Drhel Jul 15 13:46:35 pfnps01.jdl.cn packetfence[100344]: -e(100344) INFO: generating /usr/local/pf/var/conf/captive-portal-common (pf::services::manager::httpd::generateCommonConfig) Jul 15 13:46:40 pfnps01.jdl.cn portal_catalyst[100351]: httpd.portal(100351) WARN: [mac:[undef]] Unicode::Encoding plugin is auto-applied, please remove this from your appclass and make sure to define "encoding" config (Catalyst::setup_plugins) Jul 15 13:46:40 pfnps01.jdl.cn portal_catalyst[100351]: httpd.portal(100351) WARN: [mac:[undef]] Deprecated 'static' config key used, please use the key 'Plugin::Static::Simple' instead (Class::MOP::Class:::before) Jul 15 13:46:40 pfnps01.jdl.cn httpd[100351]: AH00558: httpd: Could not reliably determine the server's fully qualified domain name, using pfnps01.jdl.cn. Set the 'ServerName' directive globally to suppress this message Jul 15 13:46:45 pfnps01.jdl.cn portal_catalyst[100351]: httpd.portal(100351) WARN: [mac:[undef]] Unicode::Encoding plugin is auto-applied, please remove this from your appclass and make sure to define "encoding" config (Catalyst::setup_plugins) Jul 15 13:46:45 pfnps01.jdl.cn portal_catalyst[100351]: httpd.portal(100351) WARN: [mac:[undef]] Deprecated 'static' config key used, please use the key 'Plugin::Static::Simple' instead (Class::MOP::Class:::before) Jul 15 13:46:45 pfnps01.jdl.cn httpd_portal_err[100368]: AH00558: httpd: Could not reliably determine the server's fully qualified domain name, using pfnps01.jdl.cn. Set the 'ServerName' directive globally to suppress this message Jul 15 13:46:46 pfnps01.jdl.cn systemd[1]: Started PacketFence Captive Portal Apache HTTP Server. Jul 15 13:46:46 pfnps01.jdl.cn httpd_portal_err[100416]: [Thu Jul 15 13:46:46.170304 2021] [mpm_prefork:notice] [pid 100351] AH00163: Apache/2.4.6 (CentOS) mod_apreq2-20090110/2.8.0 mod_perl/2.0.9 Perl/v5.16.3 configured -- resuming normal operations Jul 15 13:46:46 pfnps01.jdl.cn httpd_portal_err[100416]: [Thu Jul 15 13:46:46.170360 2021] [core:notice] [pid 100351] AH00094: Command line: '/usr/sbin/httpd -f /usr/local/pf/var/conf/httpd.conf.d/httpd.portal -D FOREGROUND -D rhel'
_______________________________________________ PacketFence-users mailing list PacketFence-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/packetfence-users