Hello Andrew, First of all we do not support Ubuntu 14.04 so this was the right move to install it on 12.04, moreover for continued support we'll advise you to move either to CentOS 6 or Debian 7.
This is bad news if the server is configured for regular updates and reboots etc. This is bad you are right, on the other hand, this is a Linux server that will manage access to your network, there is no such thing as regular reboots. The issue for your startup service seems to come from the fact that redis is not started on boot. Have a look /etc/init.d/ and search for packetfence-redis-cache.init and packetfence-config.init. Also make sure that MySQL starts before either of those. Those 2 should start before PacketFence himself. Thank you, On 04/08/2016 08:36 AM, Torry, Andrew wrote: > Hi, > > I have not successfully got our new PF v 5.7 server up and running and > working to some extent. > It is running under Ubuntu 12.04 LTS. I know it should be 1404 but the 14.04 > repository for PF is bust > and fails on multiple dependency issues (Apache2 mainly). > > The problem I have though (Ubunut version apart) is that when I reboot the > server machine and Ubuntu has > finished starting up I find that the main PacketFence service is not running > and requires manually starting. > > This is bad news if the server is configured for regular updates and reboots > etc. > > I have a 'S60packetfence' startup script in rc2.d,rc3.d,rc4.d and 5rc.d but > none of them seem to work. > > I have even tried to add a packetfence.conf file into /etc/init with the > following:- > > # PacketFence service > # > description "PacketFence server" > start on filesystem or runlevel [2345] > stop on runlevel [!2345] > exec /usr/local/bin/pfcmd service pf start > > But even this does not seem to work as /var/log/syslog contains:- > > Apr 8 13:12:33 packetfence kernel: [ 91.316541] init: packetfence > main process (462) terminated with status 111 > > and /usr/local/pf/logs/packetfence.log contains:- > > Apr 08 13:12:32 pfcmd.pl(462) FATAL: Could not connect to Redis server > at 127.0.0.1:6379 at /usr/lib/perl5/Redis/Fast.pm line 194. > (Redis::Fast::new) > Apr 08 13:12:32 pfcmd.pl(2364) FATAL: Could not connect to Redis server > at 127.0.0.1:6379 at /usr/lib/perl5/Redis/Fast.pm line 194. > (Redis::Fast::new) > > PF starts up perfectly if I type:- > > /usr/local/pf/bin/pfcmd service pf start > > from the CLI. > > I am assuming that PF has a few service dependencies that are needed to be > started up before attempting a start-up which would > Imply that S60packetfence really needs to be Z999packetfence or something a > little further down the line. > > Any ideas? > > Regards > > Andrew Torry > (Network Infrastructure & Security Manager-Falmouth Exeter Plus) > > > > > > ------------------------------------------------------------------------------ > _______________________________________________ > PacketFence-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/packetfence-users -- Antoine Amacher [email protected] :: +1.514.447.4918 *130 :: www.inverse.ca 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
