On Jun 15, 2015, at 16:59 , Stanley Bammel <[email protected]> wrote:
> I have have been working a few weeks to get PacketFence up, and have run into
> a multitude of problems:
> Installed PacketFence on Debian 7 (because it is the only approved Linux
> which comes with functioning l2tp tunneling), and setup some l2tp tunnels,
> but found that PacketFence will only work with physical interfaces. The need
> for l2tp is that our wireless backbone does not natively pass VLANs and these
> tunnels will, and the tunnels work on our OpenWRT access points.
> Installed PacketFence on Ubuntu 12.04 server, carefully according to the
> Administration Guide. Came up with many unresolved dependencies during
> apt-get install packetfence, and I could proceed no further.
>
I just did a similar install last thursday without problems.
If you try it again, please post the errors so we can help you.
> PacketFenceZEN_USB-5.1.0 ran the initial configuration once, but starting
> over after that it would not enter it. It also would not proceed with Install.
>
The configurator is only meant to run once.
If you want to try it again you need to delete the conf/currently-at file or
else you will be shown the admin login page.
>
> Installed PacketFence on Centos 6 minimal, and it came up just fine,
> completes the initial configuration, and works correctly for a while. But
> after fiddling with the web configuration and rebooting, packetfence.log has
> hundreds of the following kinds of errors:
>
> Jun 15 15:24:23 pfcmd.pl(1311) ERROR: [1434399863.84992] Failed to connect to
> config service for namespace interfaces::management_network, retrying
> (pfconfig::cached::_get_from_socket) (pfconfig::cached::_get_from_socket)
>
> At this point mysql IS running, but dhcpd is not. This also probably explains
> why /usr/local/pf/var/conf/dhcpd.conf was not updated after changes to the
> Interfaces Configuration, but only after reboot.
>
> At this point, the administration GUI will not open, so it is completely
> hosed. Can only get in with ssh.
>
> When these last problems arose, I was trying to setup Inline Layer 3 with the
> GUI.
>
> selinux was disabled and iptables was stopped before installing PacketFence,
> as per Adminstration Guide.
> Are my experiences typical or is it just me? Any help would be appreciated.
I just installed multiple instances of PF 5.1 over the last ten days as well as
upgrade systems from 4.5 to 5.1.
I did not have such problems.
Packetfence is not always easy to configure (mostly because there are so many
possible configurations) but it does work.
I sugest you start small and tell us what you did at each step before going
further.
There may be a simple underlying cause that explains all your problems.
Let’s take each problem in turn and see if we can fix them.
1. run this command:
# service packetfence status
2. check inside the /usr/local/pf/conf/pfconfig.conf file. The username and
passwords in there have to be valid for your database.
To make sure they are, try them from the command line, e.g.
# mysql -p -u $user pf
Once that is fixed we can look at your other problems.
Regards,
--
Louis Munro
[email protected] :: www.inverse.ca
+1.514.447.4918 x125 :: +1 (866) 353-6153 x125
Inverse inc. :: Leaders behind SOGo (www.sogo.nu) and PacketFence
(www.packetfence.org)
------------------------------------------------------------------------------
_______________________________________________
PacketFence-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/packetfence-users