Le 10/11/2014 11:47, Marco Gaiarin a écrit :

Found that my CentOS machines (Elastix PBXes) coud use the latest RPM
packaged FI agent, i'm doing here my SNMP inventory tests.
Current installation:

        [root@chil ~]# rpm -qa | grep fusion
        fusioninventory-agent-2.3.13-4.1
        fusioninventory-agent-task-inventory-2.3.13-4.1
        fusioninventory-agent-task-network-2.3.13-4.1


But i think i've hitted another trouble.

After doing local host inventory, FI seems to stop, and print the
error:
        [Mon Nov 10 11:31:39 2014][error] Invalid value for shared scalar at 
/usr/lib/perl5/5.8.8/Thread/Queue.pm line 90.
That's a unexpected side-effect of switching to Thread::Queue module to handle inter-thread communication, instead of manually managing them. I checked Thread::Queue was present in perl CORE since perl 5.5, but I didn't noticed this issue.

Quick workaround, until we find a better solution:
- upgrade Thread::Queue to at least version 2.0.1 (not, it's not packaged on RHEL 5)
- use RHEL 6

another strangness, now i've TWO FI processes running.

        [root@chil ~]# ps aux | grep [f]usion
        root      8660  0.0  1.4  20700 14800 ?        S    11:31   0:00 
/usr/bin/perl /usr/bin/fusioninventory-agent --daemon 
--conf-file=/etc/fusioninventory/agent.cfg
        root      8739  0.0  1.4  21712 15028 ?        S    11:31   0:00 
/usr/bin/perl /usr/bin/fusioninventory-agent --daemon 
--conf-file=/etc/fusioninventory/agent.cfg
If the second one is a child of the first, that could be a normal situation, as the agent fork itself to execute each task when running as a daemon.
--
Guillaume


_______________________________________________
Fusioninventory-user mailing list
Fusioninventory-user@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/fusioninventory-user

Reply via email to