Hey everyone,

I have another problem with my services in PacketFence on my clustered machines 
(Debian 12). After I did apt update and apt upgrade, the PacketFence services 
started normally after I restarted Packetfence (/usr/local/pf/bin/pfcmd service 
pf restart) and the cluster configuration looks good. But on my thirst server 
(pf1) I cannot access the web interface.
Logs from journalctl -xeu packetfence-httpd.portal.service:
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) 
WARN: [mac:[undef]] Deprecated 'static' config key used, please use the key 
'Plugin::Static::Simple' instead (Class::MOP::Class:::before)
 AH00558: apache2: Could not reliably determine the server's fully qualified 
domain name, using 100.64.0.14. Set the 'ServerName' directive globally to 
suppress this message
[Fri May 23 09:42:31.563297 2025] [core:warn] [pid 7:tid 7] AH00098: pid file 
/usr/local /pf/var/run/httpd.portal.pid overwritten -- Unclean shutdown of 
previous Apache run?
The systemctl errors are the same, but it says it is active and running.

systemctl cat packetfence-httpd.portal.service: 
[Unit]
Description=PacketFence Captive Portal Apache HTTP Server
Wants=packetfence-base.target packetfence-config.service 
packetfence-iptables.service
After=packetfence-base.target packetfence-config.service 
packetfence-iptables.service
Before=packetfence-docker-iptables.service
Requires=packetfence-docker-iptables.service
PartOf=packetfence-docker-iptables.service
[Service]
Type=notify
NotifyAccess=all
StartLimitBurst=3
StartLimitInterval=10
ExecStartPre=/usr/bin/perl -I/usr/local/pf/lib 
-I/usr/local/pf/lib_perl/lib/perl5 '-Mpf::services::manager::httpd_portal' -e 
pf::services::manager::httpd_portal->new()->generateConfig()'
ExecStart=/usr/local/pf/sbin/httpd.portal-docker-wrapper
ExecStop=/bin/bash -c "docker stop httpd.portal ; echo Stopped"
TimeoutStopSec=60
Restart=on-failure
Slice=packetfence.slice
PIDFile=/usr/local/pf/var/run/httpd.portal-systemd-notify.pid

[Install]
WantedBy=packetfence.target

The httpd.portal service configuration are the same on all servers.

Can someone help me please?

Many thanks and best regards
Lennart


_______________________________________________
PacketFence-users mailing list
PacketFence-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/packetfence-users

Reply via email to