Pandora FMS Community

unable to process xml data file ... can only be used on shared values

lockealh · 28 jul 2014, 16:56 · 7 mensajes · 51 visitas

  1. Inicio del debate

    Hello, I'm trying to run Pandora FMS on Red Hat Enterprise Linux 6.5 and I'm having an issue with the data server parsing the xml files generated by locally monitored agents. The exact error I'm getting is: nable to process XML data file '/var/spool/pandora/data_in/kitteh.1406551418.data': lock can only be used on shared values at /usr/lib64/perl5/XML/Simple.pm line 479. Which seems to point to an issue with perl. However, I have all the perl related rpms installed that were documented in the installation instructions for the RHEL rpm. I've been looking, but I haven't seen any posts with a similar issue. Any help would be appreciated.

  2. Hello Can you send us a copy of the xml file? Regards Ivo

  3. Hi Ivo,

    
    
    
            
            
            generic_data
            1
            0
            100
            91
            100
            70
            90
            
            
    
    
            
            
            generic_data
            1
            
    
    
            
            
            generic_data_inc
            1
            
            
    
    
            
            
            generic_data
            1
            
    
    
            
            
            generic_data
            1
            250
            300
            150
            249
            
            
    
    
            
            
            async_string
            1
            
    
    
    
    
    
    0
    %
    5
    5
    10
    % of free space in this volume
    
    
    
    
    0
    %
    5
    5
    10
    % of free space in this volume
    
    
    
    
    
    0
    %
    5
    5
    10
    % of free space in this volume
    
    
     Network_Usage_Bytes
     generic_data_inc
     2239278199
     bytes/sec
     Total bytes/sec transfered in this system
    
    
  4. Hello Witch is the version for both agent and server? Regards Ivo

  5. 5.1

  6. Hello Can you attach a copy of the simple.pm file located at /usr/lib64/perl5/XML/ ? Regards Ivo

  7. Hi Ivo, I believe I've solved the issue, or at least I've gotten around it. Due to the many other application suites that had been or were currently running on that server, including nagios and cacti, I think there might have been some perl library mixups. I spun up a new VM and installed 5.0 and everything worked, so I just installed 5.1 on it and everything looks great. I'm no longer receiving the XML errors and the remote monitoring is updating as intended. Thank you for your help.

Entra en tu cuenta para publicar.