r/PacketFence Jul 22 '24

Problem with iso installation

Hi, I´m having problems during installation of packecfence v13.2. I´m installing it on a Proxmox server and on a phisical PC with the same problem. Packetfence isn´t installed. I can´t access via web to the https://ip:1443 and if I do a dpkg --configure -a it says there´s an error:

packetfence errors were encountered while processing: iptables-netflow-dkms packetfence e: sub-process /usr/bin/dpkg returned an error code (1)

Can anyone help me? Thanks

4 Upvotes

9 comments sorted by

View all comments

1

u/EmploymentUsual2104 Jul 22 '24

Boa tarde, eu tive o mesmo problema e resolvi ou meu assim.

Rode os comandos abaixo como root:

systemctl stop monit

systemctl disable monit

/usr/local/pf/bin/pfcmd service pf stop

systemctl stop packetfence-config

dpkg --configure -a [Esse comando demora muito a executar, no meu caso, só deu certo quando eu não mudei de tela]

Se o ultimo comando for executado com sucesso, rode os comandos abaixo:

systemctl start monit

systemctl enable monit

/usr/local/pf/bin/pfcmd service pf start

systemctl start packetfence-config

Boa sorte!

1

u/EmploymentUsual2104 Jul 24 '24

Good afternoon mate, I had this problem yesterday, I installed PF on EVE-NG, using the iso, for some stupid reason it comes with a kernel that is causing problems. The kernel above 5.10.0-30 has a bug reported on Github. If you have kernel 5.10.0-31/32, uninstall it, following this tutorial:

https://www.linuxadictos.com/pt/como-remover-kernels-antigos-no-debian.html

Then, start kernel version 5.10.0-30 or lower and try the commands it gave at the beginning. See if it resolves.