Hey everyone,

I need help with my cluster configuration, which should be RADIUS only. 
When I restart the pf-services with /usr/local/pf/bin/pfcmd service pf restart, 
the service packetfence-haproxy-db.service does not start (I guess because i 
use proxysql), and the service packetfence-radiusd-load_balancer.service does 
not start. 

Error Message from journalctl:
Error: Failed binding to auth address 10.164.48.122 port 1812 bound to server 
pf.cluster: Address already in use
16:32:06 2025 : Error: /usr/local/pf/raddb/load_balancer.conf[29]: Error 
binding to port for 10.164.48.122 port 1812

But the port 1812 is not occuped at all: 

root@pf1:~# sudo netstat -tulnp | grep 1812
udp        0      0 127.0.0.1:18121         0.0.0.0:*                           
483896/freeradius

This is my current cluster.conf file: 
[general]
multi_zone=enabled
[CLUSTER]
management_ip=10.164.48.122
[CLUSTER interface ens192]
ip=10.164.48.122
[pf1]
management_ip=10.164.48.122
[pf1 interface ens192]
ip=10.164.48.122
[pf2]
management_ip=10.164.48.160
[pf2 interface ens192]
ip=10.164.48.160
[pf3]
management_ip=10.164.48.161
[pf3 interface ens192]
ip=10.164.48.161

This is my pfconfig file:
[mysql]
db=pf
user=pf
pass=xxxx
[mysql]
host=100.64.0.1
port=6033

And this the pf.conf:
[general]
domain=xx
hostname=pf1
timezone=Europe/Berlin
[database]
db=pf
user=pf
pass=xxx
configurator=disabled
openid_attributes=
[interface ens192]
type=management,high-availability
mask=255.255.255.0
ip=10.164.48.122
[database]
host=100.64.0.1
port=6033
[active_active]
galera_replication_username=pfcluster
galera_replication_password=xxx
[webservices]
user=packet
pass=xx
#[advanced]
#configurator=disabled
[services]
galera-autofix=disabled

Any ideas?

Thanks for your help!

Lennart



      

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

Reply via email to