Hello Fabrice
Tank you for your response.
I found the solution:
in/usr/local/pf/conf/pf.conf.defaults
variable "unifiedapi" was missing.
# ports.unified_api## port to use for accessing the Unified APIunifiedapi=9999
after adding this config, it works fine.
RegardsChristian
Am Donnerstag, 23. August 2018, 03:54:47 MESZ hat Durand fabrice via
PacketFence-users <packetfence-users@lists.sourceforge.net> Folgendes
geschrieben:
Hello Christian,
can you try that:
iptables-restore < /usr/local/pf/var/conf/iptables.conf
and see if you have any errors.
Regards
Fabrice
Le 2018-08-21 à 11:52, Christian Gfeller via PacketFence-users a écrit :
Hello
I have upgraded Packetfence from 8.0.1 to 8.1.0 on Debian 8.
Now i see the following warnings in packetfence.log:
Aug 21 16:50:04 nac-test packetfence: WARN -e(604): Problem trying to run
command: LANG=C sudo /sbin/iptables -S | grep input-management-if called from
manager::iptables::isAlive. Child exited with non-zero value 1
(pf::util::pf_run) Aug 21 16:50:04 nac-test packetfence: WARN -e(604): Problem
trying to run command: LANG=C sudo /sbin/iptables -S | grep input-management-if
called from manager::iptables::isAlive. Child exited with non-zero value 1
(pf::util::pf_run) Aug 21 16:50:04 nac-test packetfence: WARN -e(604): Problem
trying to run command: LANG=C sudo /sbin/iptables -S | grep input-management-if
called from manager::iptables::isAlive. Child exited with non-zero value 1
(pf::util::pf_run) Aug 21 16:50:04 nac-test packetfence: INFO -e(604): saving
existing iptables to /usr/local/pf/var/iptables.bak
(pf::iptables::iptables_save) Aug 21 16:50:04 nac-test packetfence: WARN
-e(604): We are using IPSET (pf::ipset::iptables_generate) Aug 21 16:50:04
nac-test packetfence: INFO -e(604): flushing iptables
(pf::ipset::iptables_flush_mangle) Aug 21 16:50:04 nac-test packetfence: INFO
-e(604): Adding Forward rules to allow connections to the OAuth2 Providers and
passthrough. (pf::iptables::generate_passthrough_rules) Aug 21 16:50:04
nac-test packetfence: INFO -e(604): Adding NAT Masquerade statement.
(pf::iptables::generate_passthrough_rules) Aug 21 16:50:04 nac-test
packetfence: WARN -e(604): Use of uninitialized value in substitution iterator
at /usr/local/pf/lib/pf/util.pm line 531, <$template_fh> line 27.
(pf::util::parse_template) Aug 21 16:50:05 nac-test packetfence: INFO -e(604):
restoring iptables from /usr/local/pf/var/conf/iptables.conf
(pf::iptables::iptables_restore) Aug 21 16:50:05 nac-test packetfence: WARN
-e(604): Problem trying to run command: LANG=C /sbin/iptables-restore <
/usr/local/pf/var/conf/iptables.conf called from iptables_restore. Child exited
with non-zero value 2 (pf::util::pf_run)
What to do now?
Thank you Christian
------------------------------------------------------------------------------
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
PacketFence-users@lists.sourceforge.net
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
PacketFence-users@lists.sourceforge.net
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
PacketFence-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/packetfence-users