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

Reply via email to