Hello all,
Louis, thanks for all your help:)
I finally took care of this issue, I think, and got myself situated with a
properly functional "sandbox" environment suitable for development. I must
say it involves quite a number of steps, from the code control to config,
etc.
One thing that finally made the difference was basically wiping my MySQL
engine clean - removing all user DB's, etc. Not sure what part of it was
truly necessary - but after I did it and reinstalled everything once again
things just started working. Not saying anything - just sharing for what
it's worth...
Cheers,
Boris.
On Thu, Jul 16, 2015 at 10:33 AM, Louis Munro <lmu...@inverse.ca> wrote:
> Yes, that file was part of the packetfence-config package.
>
> It would make sense that you have to reinstall it as well.
>
> If you have to either reinstall or upgrade with yum you can call it like
> this to take care of that:
>
> yum reinstall packetfence\* —enablerepo=packetfence-devel
>
> Regards,
> --
> Louis Munro
> lmu...@inverse.ca :: 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)
>
> On Jul 16, 2015, at 10:29 , Boris Epstein <borepst...@gmail.com> wrote:
>
> Louis,
>
> Thanks. Looks like specifically removing the packetfence-pfcmd and
> packetfence-config packages - and then reinstalling everything from scratch
> by running
>
> yum install packetfence --enablerepo=packetfence-devel
>
> took care of things. What I found weird was not that the path may have
> been misconfigured but that the actual .pm file for the package was MIA for
> some reason.
>
> At any rate, I seem to be making progress now.
>
> Thanks.
>
> Boris.
>
>
> On Thu, Jul 16, 2015 at 10:25 AM, Louis Munro <lmu...@inverse.ca> wrote:
>
>> Hi Boris,
>> This is not the right way to start it.
>>
>> Did you install from the development package?
>>
>> Services should be started by root, using /usr/local/pf/bin/pfcmd.
>> It takes care of setting the proper @INC.
>>
>> Regards,
>> --
>> Louis Munro
>> lmu...@inverse.ca :: 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)
>>
>> On Jul 16, 2015, at 10:19 , Boris Epstein <borepst...@gmail.com> wrote:
>>
>> Hi Louis,
>>
>> Just did this - wiped /usr/local/pf clean, removed the package, installed
>> the dev version. Trying to run it, get the following:
>>
>> -sh-4.1$ /usr/local/pf/sbin/pfmon start
>> Can't locate pfconfig/cached_hash.pm in @INC (@INC contains:
>> /usr/local/pf/lib /usr/local/lib64/perl5 /usr/local/share/perl5
>> /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5
>> /usr/share/perl5 .) at /usr/local/pf/lib/pf/cluster.pm line 20.
>> BEGIN failed--compilation aborted at /usr/local/pf/lib/pf/cluster.pm
>> line 20.
>> Compilation failed in require at /usr/local/pf/lib/pf/config.pm line 48.
>> BEGIN failed--compilation aborted at /usr/local/pf/lib/pf/config.pm line
>> 48.
>> Compilation failed in require at /usr/local/pf/lib/pf/accounting.pm line
>> 51.
>> BEGIN failed--compilation aborted at /usr/local/pf/lib/pf/accounting.pm
>> line 51.
>> Compilation failed in require at /usr/local/pf/sbin/pfmon line 36.
>> BEGIN failed--compilation aborted at /usr/local/pf/sbin/pfmon line 36.
>> -sh-4.1$ find /usr/local/pf -name cached_hash.pm -print
>> -sh-4.1$
>>
>> Why would we lose cached_hash.pm? :) It definitely was part of the
>> picture at some point at least:
>>
>>
>> https://github.com/borepstein/packetfence/blob/devel/lib/pfconfig/cached_hash.pm
>>
>> And it seems like a module that actually does useful things...
>>
>> Weird.
>>
>> Thanks for your help again.
>>
>> Cheers,
>>
>> Boris.
>>
>>
>>
>>
>>
>> On Thu, Jul 16, 2015 at 8:44 AM, Louis Munro <lmu...@inverse.ca> wrote:
>>
>>>
>>>
>>> On Jul 15, 2015, at 17:48 , Boris Epstein <borepst...@gmail.com> wrote:
>>>
>>> Hello Louis (and everybody else),
>>>
>>> This is just an update on the situation.
>>>
>>> I have tried running the code some time ago and then again today, having
>>> synchronized it with the latest code version in the devel branch, which was
>>> a whole bunch of commits. The symptoms are the same - the services are
>>> running but the configurator is not reading them.
>>>
>>> I seriously wonder if it is not the code that is to blame but something
>>> in the configuration. But what would it be?
>>>
>>>
>>> Hi Boris,
>>>
>>>
>>> I would recommend getting the current development package working before
>>> you replace it with the code from the git repository.
>>> Only if that works should you move on to checking out the code.
>>>
>>> FWIW the latest devel build should work.
>>>
>>>
>>> Regards,
>>> --
>>> Louis Munro
>>> lmu...@inverse.ca :: 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)
>>>
>>>
>>>
>>> ------------------------------------------------------------------------------
>>> Don't Limit Your Business. Reach for the Cloud.
>>> GigeNET's Cloud Solutions provide you with the tools and support that
>>> you need to offload your IT needs and focus on growing your business.
>>> Configured For All Businesses. Start Your Cloud Today.
>>> https://www.gigenetcloud.com/
>>> _______________________________________________
>>> PacketFence-devel mailing list
>>> PacketFence-devel@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/packetfence-devel
>>>
>>>
>>
>> ------------------------------------------------------------------------------
>> Don't Limit Your Business. Reach for the Cloud.
>> GigeNET's Cloud Solutions provide you with the tools and support that
>> you need to offload your IT needs and focus on growing your business.
>> Configured For All Businesses. Start Your Cloud Today.
>>
>> https://www.gigenetcloud.com/_______________________________________________
>> PacketFence-devel mailing list
>> PacketFence-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/packetfence-devel
>>
>>
>>
>>
>> ------------------------------------------------------------------------------
>> Don't Limit Your Business. Reach for the Cloud.
>> GigeNET's Cloud Solutions provide you with the tools and support that
>> you need to offload your IT needs and focus on growing your business.
>> Configured For All Businesses. Start Your Cloud Today.
>> https://www.gigenetcloud.com/
>> _______________________________________________
>> PacketFence-devel mailing list
>> PacketFence-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/packetfence-devel
>>
>>
>
> ------------------------------------------------------------------------------
> Don't Limit Your Business. Reach for the Cloud.
> GigeNET's Cloud Solutions provide you with the tools and support that
> you need to offload your IT needs and focus on growing your business.
> Configured For All Businesses. Start Your Cloud Today.
>
> https://www.gigenetcloud.com/_______________________________________________
> PacketFence-devel mailing list
> PacketFence-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/packetfence-devel
>
>
>
>
> ------------------------------------------------------------------------------
> Don't Limit Your Business. Reach for the Cloud.
> GigeNET's Cloud Solutions provide you with the tools and support that
> you need to offload your IT needs and focus on growing your business.
> Configured For All Businesses. Start Your Cloud Today.
> https://www.gigenetcloud.com/
> _______________________________________________
> PacketFence-devel mailing list
> PacketFence-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/packetfence-devel
>
>
------------------------------------------------------------------------------
Don't Limit Your Business. Reach for the Cloud.
GigeNET's Cloud Solutions provide you with the tools and support that
you need to offload your IT needs and focus on growing your business.
Configured For All Businesses. Start Your Cloud Today.
https://www.gigenetcloud.com/
_______________________________________________
PacketFence-devel mailing list
PacketFence-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/packetfence-devel