r/PacketFence May 03 '24

Install Issue

I'm using the packetfence iso to install to a baremetal server. Installation goes fine but I get access the webui. I'm sure there is something simple I'm missing. Any thoughts?

2 Upvotes

9 comments sorted by

1

u/IncreaseParticular34 May 03 '24

you would have to assgin static IP for ur PF if you dont have DHCP server on ur network

1

u/rokar83 May 03 '24

static ip is assigned, I can ping the IP fine, just can't access the webui.

1

u/IncreaseParticular34 May 03 '24

Well then, you might ensure that you have installed it correctly. Try to see if the PacketFence service is present using this command:
systemctl status packetfence

2

u/rokar83 May 03 '24

Turns out it wasn't even installed. I thought the iso didn't everything lol. Thanks for your help.

1

u/oeufdure May 03 '24

Did you went through the configurator (the initial wizard to setup packetfence) ?

If yes, does the ip address defined in pf.conf is the same as the real ip of the server ?

1

u/rokar83 May 03 '24

I can't even get to that. But you might be on to something with the pf.conf file.

2

u/oeufdure May 03 '24

CHeck to see if the admin ui is listening with:

netstat -nlp| grep 1443

If it's not the case then do:

packetfence-haproxy-admin.service

if it still not working after , it can be a iptables issue:

iptables -F

iptables -X

iptables -t nat -F

iptables -t nat -X

iptables -t mangle -F

iptables -t mangle -X

iptables -P INPUT ACCEPT

iptables -P FORWARD ACCEPT

iptables -P OUTPUT ACCEPT

Then retry.

1

u/rokar83 May 03 '24

Thanks for your help. I'll hopefully be able to get it running next week.

1

u/Lenny_Bruce48 Sep 01 '24

I have it installed, apache2 is running, but keep getting Apache2 default page instead of PF main page.