Welcome to Pandora FMS Community!

Find answers, ask questions, and connect with our community around the world.

Welcome to Pandora FMS Community Forums Community support “Unable to process XML data file” error with Solaris files

  • “Unable to process XML data file” error with Solaris files

    Posted by summa_sp on November 12, 2009 at 07:08

    I’m receiving the following error from all my Solaris agents. 

    Unable to process XML data file (/var/spool/pandora/data_in/sparky.1257987859.data)

    These are newly deployed agents, with default configurations.  I see the file get dropped in /var/spool/pandora/data_in on the server, and the values are correct.  The server processes the file, but renames it with a _BADXML extension at the end and throws and error in the console.  I reduced one agent to just a single test of the default “disk_root_free” module, and had the same issue.  Any help appreciated.

    raul replied 15 years, 3 months ago 2 Members · 2 Replies
  • 2 Replies
  • summa_sp

    Member
    November 13, 2009 at 00:30
    0 Karma points
    Community rank: tentacle-noob-1 Tentacle noob
    Like it
    Up
    0
    Down
    Drop it
    ::

    I have found the problem, but I don’t have a solution.  You are sending the wrong XML version string from Solaris agents.  The string that arrives in the file is:

    Pandora server will not accept version encoding=’ISO-8859-15′.  If I change the version to encoding=’ISO-8859-1′, it processes the file.  So, Pandora Agent for Solaris is broken out of the box, as these are default agent installs.  How do I get the agent to send the right XML version string?

    I have snooped the network traffic.  The agent is sending the wrong string.  It’s not being caused by Tentacle or Pandora server.

  • raul

    Member
    November 17, 2009 at 18:24
    0 Karma points
    Community rank: tentacle-noob-1 Tentacle noob
    Like it
    Up
    1
    Down
    Drop it
    ::

    Changed in the SVN the default encoding. Thanks for reporting.