Hello Minh,

i suppose you are running centos.
Did you find this file libasync_wmi_lib.so.0 ?
What happen if you do a ldconfig ?
Did you try to reinstall wmi from PacketFence repo ?

Regards
Fabrice


Le 2015-05-27 04:05, Minh Trung a écrit :
Hello experts,

I did follow as the procedure upgrade docs but after restart all services, i can not logon to webpage admin.
Here is the some info may helpful:

    /usr/local/pf/bin/pfcmd configreload hard
    Couldn't require pf::api::local : Can't load
    '/usr/lib64/perl5/vendor_perl/auto/Net/WMIClient/WMIClient.so' for
    module Net::WMIClient: libasync_wmi_lib.so.0: cannot open shared
    object file: No such file or directory at
    /usr/lib64/perl5/XSLoader.pm line 70.
     at /usr/lib64/perl5/vendor_perl/Net/WMIClient.pm line 18
    Compilation failed in require at
    /usr/local/pf/lib/pf/scan/wmi/rules.pm <http://rules.pm> line 20.
    BEGIN failed--compilation aborted at
    /usr/local/pf/lib/pf/scan/wmi/rules.pm <http://rules.pm> line 20.
    Compilation failed in require at /usr/local/pf/lib/pf/scan/wmi.pm
    <http://wmi.pm> line 27.
    BEGIN failed--compilation aborted at
    /usr/local/pf/lib/pf/scan/wmi.pm <http://wmi.pm> line 27.
    Compilation failed in require at /usr/local/pf/lib/pf/scan.pm
    <http://scan.pm> line 40.
    BEGIN failed--compilation aborted at /usr/local/pf/lib/pf/scan.pm
    <http://scan.pm> line 40.
    Compilation failed in require at /usr/local/pf/lib/pf/api.pm
    <http://api.pm> line 45.
    BEGIN failed--compilation aborted at /usr/local/pf/lib/pf/api.pm
    <http://api.pm> line 45.
    Compilation failed in require at /usr/local/pf/lib/pf/api/local.pm
    <http://local.pm> line 18.
    BEGIN failed--compilation aborted at
    /usr/local/pf/lib/pf/api/local.pm <http://local.pm> line 18.
    Compilation failed in require at (eval 2020) line 3.
     at /usr/share/perl5/vendor_perl/Module/Pluggable.pm line 28


And log from packetfence.log:

    ....................................................

    May 27 14:58:39 pfcmd.pl <http://pfcmd.pl>(5885) INFO: Hard
    expiring resource::Database (pfconfig::manager::expire_all)
    May 27 14:58:39 pfcmd.pl <http://pfcmd.pl>(5885) INFO: Hard
    expiring resource : resource::Database (pfconfig::manager::expire)
    May 27 14:58:39 pfcmd.pl <http://pfcmd.pl>(5885) INFO: Hard
    expiring resource::Profile_Filters (pfconfig::manager::expire_all)
    May 27 14:58:39 pfcmd.pl <http://pfcmd.pl>(5885) INFO: Hard
    expiring resource : resource::Profile_Filters
    (pfconfig::manager::expire)
    May 27 14:58:40 pfcmd.pl <http://pfcmd.pl>(5885) INFO: Hard
    expiring resource::default_switch (pfconfig::manager::expire_all)
    May 27 14:58:40 pfcmd.pl <http://pfcmd.pl>(5885) INFO: Hard
    expiring resource : resource::default_switch
    (pfconfig::manager::expire)
    May 27 14:58:40 pfcmd.pl <http://pfcmd.pl>(5885) INFO: Hard
    expiring resource::cluster_servers (pfconfig::manager::expire_all)
    May 27 14:58:40 pfcmd.pl <http://pfcmd.pl>(5885) INFO: Hard
    expiring resource : resource::cluster_servers
    (pfconfig::manager::expire)
    May 27 14:58:40 pfcmd.pl <http://pfcmd.pl>(5885) INFO: Hard
    expiring resource::switches_ranges (pfconfig::manager::expire_all)
    May 27 14:58:40 pfcmd.pl <http://pfcmd.pl>(5885) INFO: Hard
    expiring resource : resource::switches_ranges
    (pfconfig::manager::expire)
    May 27 14:58:40 pfcmd.pl <http://pfcmd.pl>(5885) INFO: Hard
    expiring resource::array_test (pfconfig::manager::expire_all)
    May 27 14:58:40 pfcmd.pl <http://pfcmd.pl>(5885) INFO: Hard
    expiring resource : resource::array_test (pfconfig::manager::expire)


Any help is appreciated,

Thanks a lot.


------------------------------------------------------------------------------


_______________________________________________
PacketFence-users mailing list
PacketFence-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/packetfence-users

------------------------------------------------------------------------------
_______________________________________________
PacketFence-users mailing list
PacketFence-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/packetfence-users

Reply via email to