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 Data server stopps when parsing generic_data_inc

  • Data server stopps when parsing generic_data_inc

    Posted by TurricanII on August 12, 2007 at 15:11

    Hi, thanks for the fantastic software! I am having a problem with the Data server stopping, I hope you can help – apologies I am not a linux expert!

    I have used the VMWare 1.2 fine for a while and have just installed 1.3 from SVN onto a Debian etch fresh setup using the great quick guide on the Wiki, followed by the Install.php startup wizard (MYSQL: Ver 14.12 Distrib 5.0.32 Pandora: 1.3-dev Build PS070731).

    Initially I set one 1.3beta agent up on Windows 2003 server to test with but 9 out of 10 XML files arriving in /data_in were renamed to BADXML. Occaisionally one would be parsed OK. I removed the 1.3 agent and installed 1.2 agent instead, and deleted/recreated the Agent in the console. It was fine for 15 minutes, with the agent sending in data every two minutes, but then the Data server stopped and the .data files built up in /data_in. I enabled logging and the Data server stops on parsing the same module each time as below:

    2007/08/12 11:28:22 PandoraVS_Data [V5] Processing module Name ( SMTPKbSent ) type ( generic_data_inc ) for agent ( COMPANY_SERVER )
    2007/08/12 11:30:10 PandoraVS_Net [V1] Server PandoraVS_Data going Down

    The module is the first generic_data_inc in the XML file so I deleted it and restarted the server – it stopped with the same type of .log entries as above on the next generic_data_inc module:


    SMTPMsgsRecdTotal
    generic_data_inc
    105
    SMTP Msgs Recd

    I deleted this module from the XML file too and the rest of it parsed fine, including some generic_data types. Could there be a problem when the MySQL field is created for generic_data_inc values?

    I have not tried dropping and recreating the MySQL pandora database yet, but I went through the Install.php completely and I think the script created a new database anyway?

    Many thanks for your time.

    rmann714 replied 17 years, 5 months ago 3 Members · 2 Replies
  • 2 Replies
  • Sancho

    Administrator
    August 16, 2007 at 13:27
    2321 Karma points
    Community awards: bulb Bright ideas
    Community rank: tentacle_master_icon Tentacle Master
    Like it
    Up
    0
    Down
    Drop it
    ::

    Hi, thanks for the fantastic software! I am having a problem with the Data server stopping, I hope you can help – apologies I am not a linux expert!

    I have used the VMWare 1.2 fine for a while and have just installed 1.3 from SVN onto a Debian etch fresh setup using the great quick guide on the Wiki, followed by the Install.php startup wizard (MYSQL: Ver 14.12 Distrib 5.0.32 Pandora: 1.3-dev Build PS070731).

    Initially I set one 1.3beta agent up on Windows 2003 server to test with but 9 out of 10 XML files arriving in /data_in were renamed to BADXML. Occaisionally one would be parsed OK. I removed the 1.3 agent and installed 1.2 agent instead, and deleted/recreated the Agent in the console. It was fine for 15 minutes, with the agent sending in data every two minutes, but then the Data server stopped and the .data files built up in /data_in. I enabled logging and the Data server stops on parsing the same module each time as below:

    2007/08/12 11:28:22 PandoraVS_Data [V5] Processing module Name ( SMTPKbSent ) type ( generic_data_inc ) for agent ( COMPANY_SERVER )
    2007/08/12 11:30:10 PandoraVS_Net [V1] Server PandoraVS_Data going Down

    The module is the first generic_data_inc in the XML file so I deleted it and restarted the server – it stopped with the same type of .log entries as above on the next generic_data_inc module:


    SMTPMsgsRecdTotal
    generic_data_inc
    105
    SMTP Msgs Recd

    I deleted this module from the XML file too and the rest of it parsed fine, including some generic_data types. Could there be a problem when the MySQL field is created for generic_data_inc values?

    I have not tried dropping and recreating the MySQL pandora database yet, but I went through the Install.php completely and I think the script created a new database anyway?

    Many thanks for your time.

    About Windows Agent problems, OK, we’ve add a new feature to windows agent to be able to use FTP to copy XML. This new feature is on SVN copy, you need to replace .EXE, add a new .DLL and add a new line in agent .conf file, take a look to SVN.

    About XML, this is a very WEIRD behaviour, becase generic_data_inc data should not be problematic because is a basic datatype. Could you try to setup verbosity to 10 in pandora server and checkout the errors reported for that module ?, will be of many help.

    Also, if you’re interested to keep up to date of new changes, subscribe to our developer mailing list, it has daily information of new commits and changes.

  • rmann714

    Member
    September 6, 2007 at 18:29
    0 Karma points
    Community rank: tentacle-noob-1 Tentacle noob
    Like it
    Up
    0
    Down
    Drop it
    ::

    See this forum, topic #825…I found the problem area.

    Any single digit in the timestamp… timestamp=”12:1:2″… will cause the server to stop.