Welcome to Pandora FMS Community!

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

  • Posted by brucestclair on April 22, 2014 at 02:05

    Brand new install of pandora.  Have a few remote agents out there reporting from pandora version 4.x.  But basically a fresh install.  Seem like most pages I get some form of SQL error or another.  He is the output from brand new agent deployed on my computers and looking at the gui at
    http://192.168.170.16/pandora_console/index.php?sec=estado&sec2=operation/agentes/ver_agente&id_agente=16

    Error:
    SQL error: Table ‘pandora.tmodule_relationship’ doesn’t exist (‘SELECT id FROM tmodule_relationship WHERE module_a = 134 OR module_b = 134 LIMIT 1’) in /var/www/html/pandora_console/include/db/mysql.php on line 74
    SQL error: Table ‘pandora.tmodule_relationship’ doesn’t exist (‘SELECT id FROM tmodule_relationship WHERE module_a = 130 OR module_b = 130 LIMIT 1’) in /var/www/html/pandora_console/include/db/mysql.php on line 74
    SQL error: Table ‘pandora.tmodule_relationship’ doesn’t exist (‘SELECT id FROM tmodule_relationship WHERE module_a = 133 OR module_b = 133 LIMIT 1’) in /var/www/html/pandora_console/include/db/mysql.php on line 74
    SQL error: Table ‘pandora.tmodule_relationship’ doesn’t exist (‘SELECT id FROM tmodule_relationship WHERE module_a = 132 OR module_b = 132 LIMIT 1’) in /var/www/html/pandora_console/include/db/mysql.php on line 74
    SQL error: Table ‘pandora.tmodule_relationship’ doesn’t exist (‘SELECT id FROM tmodule_relationship WHERE module_a = 131 OR module_b = 131 LIMIT 1’) in /var/www/html/pandora_console/include/db/mysql.php on line 74

    I have done 2 fresh installs of pandorafms today with the same results.  Any help would be great.

    PS this is the Appliance CD based on CentOS 6.4

    brucestclair replied 10 years, 9 months ago 2 Members · 3 Replies
  • 3 Replies
  • ivo_yordanov

    Member
    April 22, 2014 at 13:31
    0 Karma points
    Community rank: tentacle-noob-1 Tentacle noob
    Like it
    Up
    0
    Down
    Drop it
    ::

    Hello

    Installing with the appliance cd you wouldn’t need to install pandora everything is prepared for you to simply install the live cd of centos with pandora or mount a virtual machine.

    Regards
    Ivo

  • ivo_yordanov

    Member
    April 22, 2014 at 14:49
    0 Karma points
    Community rank: tentacle-noob-1 Tentacle noob
    Like it
    Up
    0
    Down
    Drop it
    ::

    Hello

    This problem is generated because the pandora_console has been update with sourcecode parts from the version 5.1 of pandora and the problem of the database occurs, to solve this problem you must execute the migration script (migrate.sql) for more information on how to do it visit the following webpage: http://wiki.pandorafms.com/index.php?title=Pandora:Documentation_en:Anexo_Upgrade#Migrating_to_another_system

    Regards
    Ivo

  • brucestclair

    Member
    April 22, 2014 at 17:27
    0 Karma points
    Community rank: tentacle-noob-1 Tentacle noob
    Like it
    Up
    0
    Down
    Drop it
    ::

    This morning I found a update that actually took me back to 5.0 SP3 and this seems have fixed the problem.  Thank you for the replies.