OK so first let's go in /etc/ld.so.conf.d and check if there is a
wmi.conf file if no create it and add /lib/python inside and retry ldconfig.
Also to install from packetfence repo you just have to launch yum
install wmi --enablerepo=packetfence
Regards
Fabrice
Le 2015-05-27 21:15, Minh Trung a écrit :
Hello Fabrice,
Yes, i am using CentOS 6.6
Here is the file that i found:
[root@vmvnnetsec01 logs]# find / -name libasync_wmi_lib.so.0
/lib/python/libasync_wmi_lib.so.0
You have new mail in /var/spool/mail/root
[root@vmvnnetsec01 logs]# ldconfig
[root@vmvnnetsec01 logs]#
I can not found link to install wmi from PacketFence repo? Could you
please show me?
Thank in advance,
On 27 May 2015 at 17:38, Durand fabrice <[email protected]
<mailto:[email protected]>> wrote:
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
[email protected]
<mailto:[email protected]>
https://lists.sourceforge.net/lists/listinfo/packetfence-users
------------------------------------------------------------------------------
_______________________________________________
PacketFence-users mailing list
[email protected]
<mailto:[email protected]>
https://lists.sourceforge.net/lists/listinfo/packetfence-users
------------------------------------------------------------------------------
_______________________________________________
PacketFence-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/packetfence-users
------------------------------------------------------------------------------
_______________________________________________
PacketFence-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/packetfence-users