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 problem with Pandora Agent

  • problem with Pandora Agent

    Posted by kram on July 26, 2007 at 01:56

    Hi,
    I have installed and configured a Pandora Agent in my windows Desktop. But, When I add it in the Webconsole(manually), The status being show for the Agent is a question mark. The “last contact” field shows today’s date and time. Any idea what could be wrong? Is there anyway I can troubleshoot this?

    Thanks in Advance

    manu replied 17 years, 6 months ago 2 Members · 5 Replies
  • 5 Replies
  • manu

    Member
    July 26, 2007 at 11:11
    0 Karma points
    Community rank: tentacle-noob-1 Tentacle noob
    Like it
    Up
    0
    Down
    Drop it
    ::

    Probably the transfering of the XML file to the server is failing, try to test the connection:

    PandoraAgent.exe –test-ssh (from the DOS command line)

  • kram

    Member
    July 26, 2007 at 17:32
    0 Karma points
    Community rank: tentacle-noob-1 Tentacle noob
    Like it
    Up
    0
    Down
    Drop it
    ::

    Hi,
    The ssh test is working. I even went through the pandora-log.log file, its successfully transfering the .data file to the pandora_server/data_in/ folder. I assume the problem is with the database. Is there any way I can test if the Mysql is running? Can someone tell me how to start the MySql server? Sorry about the amatuerish questions, Im new to this:(

    Thanks in advance

  • manu

    Member
    July 26, 2007 at 19:26
    0 Karma points
    Community rank: tentacle-noob-1 Tentacle noob
    Like it
    Up
    0
    Down
    Drop it
    ::

    Is the pandora server running?

    Mysql Issues:
    /etc/init.d/mysql status

    /etc/init.d/mysql start

  • kram

    Member
    July 26, 2007 at 20:21
    0 Karma points
    Community rank: tentacle-noob-1 Tentacle noob
    Like it
    Up
    0
    Down
    Drop it
    ::

    Thanks Manu,

    When I run mysql start command, I am getting an error saying:
    [code:1]ERROR 2002 (HY000): Can’t connect to local MySQL server through socket ‘/var/lib/mysql/mysql.sock’ (2)”

    When I try to run “pandora_server start” command, I get this error:

    “[code:1][E] Error connecting database in init Phase. Aborting startup.

    Cannot start Pandora Data Server. Aborted”

    So, I guess the problem is with mysql not running. Any help/suggestions to get the mysql running will be appreciated.

    Thanks in advance

  • manu

    Member
    July 27, 2007 at 11:19
    0 Karma points
    Community rank: tentacle-noob-1 Tentacle noob
    Like it
    Up
    0
    Down
    Drop it
    ::

    Yep, definetly it’s a problem with your mysql server.
    This is a stupid question but, did you try to start it as a root?