Does anyone have any suggestions for this?
I'm hoping to set up a fresh install of PF and then import the settings
from a PF 4.7.0 server.
Is this recommended?
Kind regards,
On Thu, 14 May 2015 at 11:16 Steve Allen <[email protected]> wrote:
> Hi
>
> I changed the permissions on the logs folder and the pfconfig.log file to
> 777 and when I updated I did not receive the error related to file
> permissions.
>
> However, the upgrade still does not seem to have works. I will post the
> output below.
>
> Instead of upgrading, how easy is it for me to export my settings from
> 4.70 and import them onto a freshly installed 5.0.2 server?
>
> Kind regards,
>
> *OUTPUT BELOW*
> [root@packetfence01 conf]# /etc/init.d/packetfence restart
> Restarting PacketFence...Couldn't require
> pf::services::manager::httpd_portal : Can't use an undefined value as a
> HASH reference at /usr/local/pf/lib/pfconfig/cached_array.pm line 108.
> Compilation failed in require at /usr/local/pf/lib/pf/services/manager/
> httpd.pm line 23.
> BEGIN failed--compilation aborted at /usr/local/pf/lib/pf/services/manager/
> httpd.pm line 23.
> Compilation failed in require at
> /usr/share/perl5/vendor_perl/Module/Runtime.pm line 317.
> Compilation failed in require at (eval 2150) line 3.
> at /usr/share/perl5/vendor_perl/Module/Pluggable.pm line 28
> Couldn't require pf::services::manager::httpd_aaa : Attempt to reload
> pf/services/manager/httpd.pm aborted.
> Compilation failed in require at
> /usr/share/perl5/vendor_perl/Module/Runtime.pm line 317.
> Compilation failed in require at (eval 2157) line 3.
> at /usr/share/perl5/vendor_perl/Module/Pluggable.pm line 28
> Couldn't require pf::services::manager::httpd_proxy : Attempt to reload
> pf/services/manager/httpd.pm aborted.
> Compilation failed in require at
> /usr/share/perl5/vendor_perl/Module/Runtime.pm line 317.
> Compilation failed in require at (eval 2174) line 3.
> at /usr/share/perl5/vendor_perl/Module/Pluggable.pm line 28
> Couldn't require pf::services::manager::httpd_admin : Attempt to reload
> pf/services/manager/httpd.pm aborted.
> Compilation failed in require at
> /usr/share/perl5/vendor_perl/Module/Runtime.pm line 317.
> Compilation failed in require at (eval 2178) line 3.
> at /usr/share/perl5/vendor_perl/Module/Pluggable.pm line 28
> Couldn't require pf::services::manager::httpd_webservices : Attempt to
> reload pf/services/manager/httpd.pm aborted.
> Compilation failed in require at
> /usr/share/perl5/vendor_perl/Module/Runtime.pm line 317.
> Compilation failed in require at (eval 2204) line 3.
> at /usr/share/perl5/vendor_perl/Module/Pluggable.pm line 28
> module pf::cmd::pf::service cannot be loaded
> Can't locate object method "name" via package
> "pf::services::manager::httpd_portal" at /usr/local/pf/lib/pf/services.pm
> line 39.
> Compilation failed in require at /usr/local/pf/lib/pf/cmd/pf/service.pm
> line 59.
> BEGIN failed--compilation aborted at /usr/local/pf/lib/pf/cmd/pf/
> service.pm line 59.
> Compilation failed in require at /usr/share/perl5/Module/Load.pm line 27.
> Can't locate pf/cmd/pf/service 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/share/perl5/Module/Load.pm line
> 27.
>
>
> Usage:
> pfcmd <command> [options]
>
> Commands
> cache | manage the cache subsystem
> checkup | perform a sanity checkup and report
> any problems
> class | view violation classes
> config | query, set, or get help on pf.conf
> configuration paramaters
> configfiles | push or pull configfiles into/from
> database
> configreload | reload the configution
> fingerprint | view DHCP Fingerprints
> floatingnetworkdeviceconfig | query/modify floating network devices
> configuration parameters
> help | show help for pfcmd commands
> ifoctetshistorymac | accounting history
> ifoctetshistoryswitch | accounting history
> ifoctetshistoryuser | accounting history
> import | bulk import of information into the
> database
> ipmachistory | IP/MAC history
> locationhistorymac | Switch/Port history
> locationhistoryswitch | Switch/Port history
> networkconfig | query/modify network configuration
> parameters
> portalprofileconfig | query/modify portal profile
> configuration parameters
> reload | rebuild fingerprint or violations
> tables without restart
> service | start/stop/restart and get PF daemon
> status
> switchconfig | query/modify switches.conf
> configuration parameters
> version | output version information
> violationconfig | query/modify violations.conf
> configuration parameters
>
> Please view "pfcmd help <command>" for details on each option
>
>
> [root@packetfence01 conf]#
>
>
> On 7 May 2015 at 16:57, Louis Munro <[email protected]> wrote:
>
>> Hi Steve,
>> The timestamp looks pretty old on that file:
>>
>> -rw-r--r-- 1 root pf 0 Mar 10 13:23 pfconfig.log
>>
>> I am not sure where you got it, but try deleting it and restarting.
>>
>> 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)
>>
>>
>>
>> ------------------------------------------------------------------------------
>> One dashboard for servers and applications across Physical-Virtual-Cloud
>> Widest out-of-the-box monitoring support with 50+ applications
>> Performance metrics, stats and reports that give you Actionable Insights
>> Deep dive visibility with transaction tracing using APM Insight.
>> http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
>> _______________________________________________
>> PacketFence-users mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/packetfence-users
>>
>>
>
>
> --
> Regards,
>
> Steve Allen
>
>
>
------------------------------------------------------------------------------
One dashboard for servers and applications across Physical-Virtual-Cloud
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
_______________________________________________
PacketFence-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/packetfence-users