Welcome to Pandora FMS Community!

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

Welcome to Pandora FMS Community Forums Soporte de la comunidad Error crear HOST ALIVE Network Module

  • Error crear HOST ALIVE Network Module

    Posted by gairhald on May 11, 2016 at 18:18

    Buenas,

    cuando intento crear un modulo de HOST ALIVE para un servidor, me da error, dice que Hubo un problema al aƱadir el modulo. Error de procesamiento

    Mirando el .error y el .log de pandora, no veo nada referente a esto y estoy creando el modulo de la misma manera que lo he hecho siempre en un pandora server 5.0 que tengo. Hay algun BUG en esta versiĆ³n para crear este modulo? muchas gracias

    saludos

    antonio replied 8 years, 2 months ago 3 Members · 25 Replies
  • 25 Replies
  • AKevin

    Member
    May 11, 2016 at 18:43
    0 Karma points
    Community rank: tentacle-noob-1 Tentacle noob
    Like it
    Up
    0
    Down
    Drop it
    ::

    Hola gairhald,

    Lo mĆ”s seguro es que ese error sea debido a un parĆ”metro de la configuraciĆ³n de MySql, el parĆ”metro sql_mode. Ɖste debe estar configurado en modo no restrictivo o darĆ” problemas. Puedes hacerlo aƱadiendo a /etc/my.cnf (haz una copia de seguridad antes, por si acaso) la siguiente lĆ­nea en el parĆ”metro [mysqld]:

    sql_mode=""
    

    Para que quede algo asĆ­ (obviando el resto de lĆ­neas, claro):

    [mysqld]
    sql_mode=""
    

    DespuĆ©s reinicia el servicio mysql (/etc/init.d/mysql restart) y vuelve a probar a generar el mĆ³dulo, a ver si funciona.

    Un saludo,
    Kevin.

  • gairhald

    Member
    May 11, 2016 at 18:53
    0 Karma points
    Community rank: tentacle-noob-1 Tentacle noob
    Like it
    Up
    0
    Down
    Drop it
    ::

    Buenas AKevin,

    he aƱadido la linea que me ha comentado, pero sigue igual, por mucho que lo reinice sigue dando el mismo error, se te ocurre otra cosa? o algun lugar donde ver un poco mas detallado el error?

  • AKevin

    Member
    May 11, 2016 at 19:14
    0 Karma points
    Community rank: tentacle-noob-1 Tentacle noob
    Like it
    Up
    0
    Down
    Drop it
    ::

    Hola de nuevo gairhald,

    Comentas que ni el .error ni el log de Pandora muestran nada relacionado con este problema. ĀæEstĆ” configurado el verbosity del pandora_server.conf a 10? Si no lo estĆ”, prueba a crear el mĆ³dulo de nuevo con el verbosity a 10, y vuelve a comprobar el log. Pasa por aquĆ­ la informaciĆ³n que te dĆ©, a ver si podemos ver el problema.

    Un saludo,
    Kevin.

  • gairhald

    Member
    May 12, 2016 at 13:37
    0 Karma points
    Community rank: tentacle-noob-1 Tentacle noob
    Like it
    Up
    0
    Down
    Drop it
    ::

    buenas Akevin,

    te paso los logs que he tirado antes de crear el modulo de HOST ALIVE. Veo errores de Mysql, pero la verdad, no se si te dicen algo a ti, a mi poco jeje

    pandora_server.error

    [root@ksrpandora01 ~]# tail -f /var/log/pandora/pandora_server.error
    DBD::mysql::db do failed: MySQL server has gone away at /usr/lib/perl5/PandoraFMS/DB.pm line 983.
    DBD::mysql::db do failed: MySQL server has gone away at /usr/lib/perl5/PandoraFMS/DB.pm line 983.
    DBD::mysql::st execute failed: MySQL server has gone away at /usr/lib/perl5/PandoraFMS/DB.pm line 695Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā   .
    DBD::mysql::st execute failed: MySQL server has gone away at /usr/lib/perl5/PandoraFMS/DB.pm line 695Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā   .
    DBD::mysql::st execute failed: MySQL server has gone away at /usr/lib/perl5/PandoraFMS/DB.pm line 695Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā   .
    DBD::mysql::st execute failed: MySQL server has gone away at /usr/lib/perl5/PandoraFMS/DB.pm line 695Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā   .
    DBD::mysql::st execute failed: MySQL server has gone away at /usr/lib/perl5/PandoraFMS/DB.pm line 695Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā   .
    DBD::mysql::st execute failed: MySQL server has gone away at /usr/lib/perl5/PandoraFMS/DB.pm line 695Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā   .
    2016-05-11 16:55:16 - ksrpandora01.ksr.es Starting Pandora FMS Server. Error logging activated.
    2016-05-12 11:25:14 - ksrpandora01.ksr.es Starting Pandora FMS Server. Error logging activated.
    

    mysql-error.log

    [root@ksrpandora01 ~]# tail -f /data/log/mysql-error.log
    Ā  Ā  Ā  Ā  normal_count=(SELECT COUNT(*) FROM tagente_modulo, tagente_estado WHERE tagente_modulo.disabled=0 AND tagente_modulo.id_agente_modulo=tagente_estado.id_agente_modulo AND tagente_modulo.id_agente=2 AND estado=0),
    Ā  Ā  Ā  Ā  critical_count=(SELECT COUNT(*) FROM tagente_modulo, tagente_estado WHERE tagente_modulo.disabled=0 AND tagente_modulo.id_agente_modulo=tagente_estado.id_agente_modulo AND tagente_modulo.id_agente=2 AND estado=1),
    Ā  Ā  Ā  Ā  warning_count=(SELECT COUNT(*) FROM tagente_modulo, tagente_estado WHERE tagente_modulo.disabled=0 AND tagente_modulo.id_agente_modulo=tagente_estado.id_agente_modulo AND t
    2016-05-12 11:23:39 6228 [Warning] Unsafe statement written to the binary log using statement format since BINLOG_FORMAT = STATEMENT. Statements writing to a table with an auto-increment column after selecting from another table are unsafe because the order in which rows are retrieved determines what (if any) rows will be written. This order cannot be predicted and may differ on master and the slave. Statement: UPDATE tagente SET update_module_count=0,
    Ā  Ā  Ā  Ā  normal_count=(SELECT COUNT(*) FROM tagente_modulo, tagente_estado WHERE tagente_modulo.disabled=0 AND tagente_modulo.id_agente_modulo=tagente_estado.id_agente_modulo AND tagente_modulo.id_agente=2 AND estado=0),
    Ā  Ā  Ā  Ā  critical_count=(SELECT COUNT(*) FROM tagente_modulo, tagente_estado WHERE tagente_modulo.disabled=0 AND tagente_modulo.id_agente_modulo=tagente_estado.id_agente_modulo AND tagente_modulo.id_agente=2 AND estado=1),
    Ā  Ā  Ā  Ā  warning_count=(SELECT COUNT(*) FROM tagente_modulo, tagente_estado WHERE tagente_modulo.disabled=0 AND tagente_modulo.id_agente_modulo=tagente_estado.id_agente_modulo AND t
    2016-05-12 11:27:00 6228 [Warning] Hostname 'ksrpandora01.ksr.es' does not resolve to '192.168.1.210'.
    2016-05-12 11:27:00 6228 [Note] Hostname 'ksrpandora01.ksr.es' has the following IP addresses:
    2016-05-12 11:27:00 6228 [Note]Ā  - 72.52.4.91
    

    pandora_server.log

    [root@ksrpandora01 ~]# tail -f /var/log/pandora/pandora_server.log
    2016-05-12 11:35:20 ksrpandora01.ksr.es [V10] Processing module 'CPU Load' for agent 'KSRDC01'.
    2016-05-12 11:35:20 ksrpandora01.ksr.es [V10] Processing module 'Number processes' for agent 'KSRDC01'.
    2016-05-12 11:35:20 ksrpandora01.ksr.es [V10] Processing module 'FreeMemory' for agent 'KSRDC01'.
    2016-05-12 11:35:20 ksrpandora01.ksr.es [V10] Processing module 'Servidor DNS Enabled' for agent 'KSRDC01'.
    2016-05-12 11:35:20 ksrpandora01.ksr.es [V10] Processing module 'Cola de impresiĆ³n Enabled' for agent 'KSRDC01'.
    2016-05-12 11:35:20 ksrpandora01.ksr.es [V10] Processing module 'Firewall de Windows Enabled' for agent 'KSRDC01'.
    2016-05-12 11:35:20 ksrpandora01.ksr.es [V10] Processing module 'Servicios de dominio de Active Directory Enabled' for agent 'KSRDC01'.
    2016-05-12 11:35:20 ksrpandora01.ksr.es [V10] Processing module 'SQL Server (SQLEXPRESS) Enabled' for agent 'KSRDC01'.
    2016-05-12 11:35:20 ksrpandora01.ksr.es [V10] Processing module 'SQL Full-text Filter Daemon Launcher (SQLEXPRESS) Enabled' for agent 'KSRDC01'.
    2016-05-12 11:35:20 ksrpandora01.ksr.es [V10] Processing module 'Veeam Backup Service Enabled' for agent 'KSRDC01'.
    2016-05-12 11:35:20 ksrpandora01.ksr.es [V10] Processing module 'Hora de Windows Enabled' for agent 'KSRDC01'.
    2016-05-12 11:35:25 ksrpandora01.ksr.es [V10] Updating keep_alive module for agent 'ksrpandora01.ksr.es'.
    2016-05-12 11:35:25 ksrpandora01.ksr.es [V10] Processing module 'Status' for agent 'ksrpandora01.ksr.es'.
    2016-05-12 11:35:25 ksrpandora01.ksr.es [V10] Processing module 'Database Maintenance' for agent 'ksrpandora01.ksr.es'.
    2016-05-12 11:35:25 ksrpandora01.ksr.es [V10] Processing module 'Queued_Modules' for agent 'ksrpandora01.ksr.es'.
    2016-05-12 11:35:25 ksrpandora01.ksr.es [V10] Processing module 'Agents_Unknown' for agent 'ksrpandora01.ksr.es'.
    2016-05-12 11:35:25 ksrpandora01.ksr.es [V10] Processing module 'System_Load_AVG' for agent 'ksrpandora01.ksr.es'.
    2016-05-12 11:35:25 ksrpandora01.ksr.es [V10] Processing module 'Free_RAM' for agent 'ksrpandora01.ksr.es'.
    2016-05-12 11:35:25 ksrpandora01.ksr.es [V10] Processing module 'FreeDisk_SpoolDir' for agent 'ksrpandora01.ksr.es'.
    
  • AKevin

    Member
    May 12, 2016 at 18:58
    0 Karma points
    Community rank: tentacle-noob-1 Tentacle noob
    Like it
    Up
    0
    Down
    Drop it
    ::

    Hola de nuevo,

    Este error, Āæte salta tambiĆ©n si en lugar de hacer el mĆ³dulo manualmente, lo creas de la lista de componentes predeterminados?

    Un saludo,
    Kevin.

  • gairhald

    Member
    May 12, 2016 at 19:01
    0 Karma points
    Community rank: tentacle-noob-1 Tentacle noob
    Like it
    Up
    0
    Down
    Drop it
    ::

    A que te refieres con si lo creo en la lista de componentes predeterminados? siempre lo he creado en la consola de pandora, crear modulo, modulo de red> gestion de red>host alive (no se si sera asi en castellano, siempre lo he visto en ingles) pero mƔs o menos.

  • AKevin

    Member
    May 12, 2016 at 19:29
    0 Karma points
    Community rank: tentacle-noob-1 Tentacle noob
    Like it
    Up
    0
    Down
    Drop it
    ::

    Buenas,

    No te preocupes, me referĆ­a exactamente a eso. En la imagen parecĆ­a que el mĆ³dulo habĆ­a sido creado manualmente, pero creo que lo que ha ocurrido es que al intentar crear, cuando la pantalla se refresca el selector (lo de “Using module component”) vuelve al estado original.
    SĆ³lo era para ir descartando.

    El error, mƔs que del servidor en sƭ mismo, es probable que sea de la consola. Pasa por aquƭ el pandora_console.log (estƔ en /var/www/html/pandora_console/), a ver si encontramos su causa.

    Un saludo,
    Kevin.

  • gairhald

    Member
    May 13, 2016 at 13:27
    0 Karma points
    Community rank: tentacle-noob-1 Tentacle noob
    Like it
    Up
    0
    Down
    Drop it
    ::

    Buenas,

    te paso el pandora_console.log, veo que hay Warnings de PHP ajax

    [root@ksrpandora01 data_in]# tail -50 /var/www/html/pandora_console/pandora_console.log
    [12-May-2016 16:48:03 Europe/Berlin] PHP Warning:Ā  Creating default object from empty value in /var/www/html/pandora_console/include/ajax/module.php on line 688
    [12-May-2016 16:48:05 Europe/Berlin] PHP Warning:Ā  Creating default object from empty value in /var/www/html/pandora_console/include/ajax/module.php on line 688
    [12-May-2016 16:48:05 Europe/Berlin] PHP Warning:Ā  Creating default object from empty value in /var/www/html/pandora_console/include/ajax/module.php on line 688
    [12-May-2016 16:48:07 Europe/Berlin] PHP Warning:Ā  Creating default object from empty value in /var/www/html/pandora_console/include/ajax/module.php on line 688
    [12-May-2016 16:48:07 Europe/Berlin] PHP Warning:Ā  Creating default object from empty value in /var/www/html/pandora_console/include/ajax/module.php on line 688
    [12-May-2016 16:48:09 Europe/Berlin] PHP Warning:Ā  Creating default object from empty value in /var/www/html/pandora_console/include/ajax/module.php on line 688
    [12-May-2016 16:48:09 Europe/Berlin] PHP Warning:Ā  Creating default object from empty value in /var/www/html/pandora_console/include/ajax/module.php on line 688
    [12-May-2016 16:48:11 Europe/Berlin] PHP Warning:Ā  Creating default object from empty value in /var/www/html/pandora_console/include/ajax/module.php on line 688
    [12-May-2016 16:48:12 Europe/Berlin] PHP Warning:Ā  Creating default object from empty value in /var/www/html/pandora_console/include/ajax/module.php on line 688
    [12-May-2016 16:48:20 Europe/Berlin] PHP Warning:Ā  Creating default object from empty value in /var/www/html/pandora_console/include/ajax/module.php on line 688
    [12-May-2016 16:48:20 Europe/Berlin] PHP Warning:Ā  Creating default object from empty value in /var/www/html/pandora_console/include/ajax/module.php on line 688
    [12-May-2016 16:48:52 Europe/Berlin] PHP Warning:Ā  Creating default object from empty value in /var/www/html/pandora_console/include/ajax/module.php on line 688
    [12-May-2016 16:48:53 Europe/Berlin] PHP Warning:Ā  Creating default object from empty value in /var/www/html/pandora_console/include/ajax/module.php on line 688
    [12-May-2016 16:49:06 Europe/Berlin] PHP Warning:Ā  Creating default object from empty value in /var/www/html/pandora_console/include/ajax/module.php on line 688
    [12-May-2016 16:49:06 Europe/Berlin] PHP Warning:Ā  Creating default object from empty value in /var/www/html/pandora_console/include/ajax/module.php on line 688
    [12-May-2016 16:49:37 Europe/Berlin] PHP Warning:Ā  Creating default object from empty value in /var/www/html/pandora_console/operation/search_agents.php on line 37
    [12-May-2016 16:49:45 Europe/Berlin] PHP Warning:Ā  Creating default object from empty value in /var/www/html/pandora_console/operation/search_agents.php on line 37
    [12-May-2016 16:49:57 Europe/Berlin] PHP Warning:Ā  Creating default object from empty value in /var/www/html/pandora_console/operation/search_agents.php on line 37
    [12-May-2016 16:50:01 Europe/Berlin] PHP Warning:Ā  Creating default object from empty value in /var/www/html/pandora_console/include/ajax/module.php on line 688
    [12-May-2016 16:50:01 Europe/Berlin] PHP Warning:Ā  Creating default object from empty value in /var/www/html/pandora_console/include/ajax/module.php on line 688
    [12-May-2016 16:50:19 Europe/Berlin] PHP Warning:Ā  Creating default object from empty value in /var/www/html/pandora_console/include/ajax/module.php on line 688
    [12-May-2016 16:54:20 Europe/Berlin] PHP Warning:Ā  Creating default object from empty value in /var/www/html/pandora_console/include/ajax/module.php on line 688
    [12-May-2016 16:54:28 Europe/Berlin] PHP Warning:Ā  Creating default object from empty value in /var/www/html/pandora_console/include/ajax/module.php on line 688
    [12-May-2016 16:54:30 Europe/Berlin] PHP Warning:Ā  Creating default object from empty value in /var/www/html/pandora_console/include/ajax/module.php on line 688
    [12-May-2016 16:54:56 Europe/Berlin] PHP Warning:Ā  Creating default object from empty value in /var/www/html/pandora_console/include/ajax/module.php on line 688
    [12-May-2016 16:55:33 Europe/Berlin] PHP Warning:Ā  Creating default object from empty value in /var/www/html/pandora_console/include/ajax/module.php on line 688
    [12-May-2016 17:01:40 Europe/Berlin] PHP Warning:Ā  Creating default object from empty value in /var/www/html/pandora_console/include/ajax/module.php on line 688
    [12-May-2016 17:01:40 Europe/Berlin] PHP Warning:Ā  Creating default object from empty value in /var/www/html/pandora_console/include/ajax/module.php on line 688
    [12-May-2016 17:01:58 Europe/Berlin] PHP Warning:Ā  Creating default object from empty value in /var/www/html/pandora_console/include/ajax/module.php on line 688
    [12-May-2016 17:01:58 Europe/Berlin] PHP Warning:Ā  Creating default object from empty value in /var/www/html/pandora_console/include/ajax/module.php on line 688
    [13-May-2016 11:16:32 Europe/Berlin] PHP Warning:Ā  Creating default object from empty value in /var/www/html/pandora_console/operation/events/events_list.php on line 189
    [13-May-2016 11:16:32 Europe/Berlin] PHP Warning:Ā  Creating default object from empty value in /var/www/html/pandora_console/operation/events/events_list.php on line 253
    [13-May-2016 11:17:30 Europe/Berlin] PHP Warning:Ā  Creating default object from empty value in /var/www/html/pandora_console/include/ajax/module.php on line 688
    [13-May-2016 11:17:30 Europe/Berlin] PHP Warning:Ā  Creating default object from empty value in /var/www/html/pandora_console/include/ajax/module.php on line 688
    [13-May-2016 11:20:41 Europe/Berlin] PHP Warning:Ā  Creating default object from empty value in /var/www/html/pandora_console/include/ajax/module.php on line 688
    [13-May-2016 11:20:41 Europe/Berlin] PHP Warning:Ā  Creating default object from empty value in /var/www/html/pandora_console/include/ajax/module.php on line 688
    [13-May-2016 11:20:44 Europe/Berlin] PHP Warning:Ā  Creating default object from empty value in /var/www/html/pandora_console/include/ajax/module.php on line 688
    [13-May-2016 11:20:45 Europe/Berlin] PHP Warning:Ā  Creating default object from empty value in /var/www/html/pandora_console/include/ajax/module.php on line 688
    [13-May-2016 11:21:10 Europe/Berlin] PHP Warning:Ā  Creating default object from empty value in /var/www/html/pandora_console/include/ajax/module.php on line 688
    [13-May-2016 11:21:10 Europe/Berlin] PHP Warning:Ā  Creating default object from empty value in /var/www/html/pandora_console/include/ajax/module.php on line 688
    [13-May-2016 11:21:28 Europe/Berlin] PHP Warning:Ā  Creating default object from empty value in /var/www/html/pandora_console/include/ajax/module.php on line 688
    [13-May-2016 11:21:29 Europe/Berlin] PHP Warning:Ā  Creating default object from empty value in /var/www/html/pandora_console/include/ajax/module.php on line 688
    [13-May-2016 11:21:44 Europe/Berlin] PHP Warning:Ā  Creating default object from empty value in /var/www/html/pandora_console/include/ajax/module.php on line 688
    [13-May-2016 11:21:44 Europe/Berlin] PHP Warning:Ā  Creating default object from empty value in /var/www/html/pandora_console/include/ajax/module.php on line 688
    [13-May-2016 11:21:46 Europe/Berlin] PHP Warning:Ā  Creating default object from empty value in /var/www/html/pandora_console/include/ajax/module.php on line 688
    [13-May-2016 11:21:46 Europe/Berlin] PHP Warning:Ā  Creating default object from empty value in /var/www/html/pandora_console/include/ajax/module.php on line 688
    [13-May-2016 11:21:48 Europe/Berlin] PHP Warning:Ā  Creating default object from empty value in /var/www/html/pandora_console/include/ajax/module.php on line 688
    [13-May-2016 11:21:48 Europe/Berlin] PHP Warning:Ā  Creating default object from empty value in /var/www/html/pandora_console/include/ajax/module.php on line 688
    [13-May-2016 11:21:49 Europe/Berlin] PHP Warning:Ā  Creating default object from empty value in /var/www/html/pandora_console/include/ajax/module.php on line 688
    [13-May-2016 11:21:50 Europe/Berlin] PHP Warning:Ā  Creating default object from empty value in /var/www/html/pandora_console/include/ajax/module.php on line 688
    [root@ksrpandora01 data_in]#
    

    te dice algo esto?

  • AKevin

    Member
    May 13, 2016 at 14:04
    0 Karma points
    Community rank: tentacle-noob-1 Tentacle noob
    Like it
    Up
    0
    Down
    Drop it
    ::

    Buenas gairhald,

    La mĆ”quina en la que tienes problemas, antes era un 5.1SP4, Āæverdad? Es posible que hubiera algĆŗn error en la migraciĆ³n. Ejecuta de nuevo el script de migraciĆ³n

    /var/www/pandora_console/pandoradb_migrate_v5.1_to_v6.0.mysql.sql

    por si acaso fuera eso, y muƩstrame la salida que te da.
    Parece que vamos acercƔndonos.

    Un saludo,
    Kevin.

  • gairhald

    Member
    May 13, 2016 at 16:41
    0 Karma points
    Community rank: tentacle-noob-1 Tentacle noob
    Like it
    Up
    0
    Down
    Drop it
    ::

    Buenas,

    No, instale directamente desde cero todo en un CentOS 7.0 con MySQL 5.6.29 mediante binarios y luego el yum pandorafms_server.noarch y me bajo directamente la 6.0

    no tengo el pandoradb_migrate en la carpeta que tengo el pandora

    [root@ksrpandora01 pandora_console]# ll
    total 2508
    -rw-r--r--.Ā  1 apache apacheĀ   2815 abrĀ  8 12:01 ajax.php
    drwxr-xr-x.Ā  5 apache apacheĀ   4096 may 11 12:48 attachment
    -rw-r--r--.Ā  1 apache apacheĀ  Ā  500 ene 16Ā  2015 AUTHORS
    -rw-r--r--.Ā  1 apache apacheĀ  14875 ene 16Ā  2015 COPYING
    drwxr-xr-x.Ā  2 apache apacheĀ  Ā   91 may 10 16:40 DEBIAN
    -rw-r--r--.Ā  1 apache apacheĀ   3422 mar 24 04:26 docker_entrypoint.sh
    -rw-r--r--.Ā  1 apache apacheĀ   1291 abrĀ  8 12:01 Dockerfile
    drwxr-xr-x. 11 apache apacheĀ   4096 may 10 16:40 extensions
    drwxr-xr-x.Ā  2 apache apacheĀ   4096 may 10 16:40 extras
    drwxr-xr-x.Ā  2 apache apacheĀ  Ā   24 may 10 16:40 fonts
    drwxr-xr-x.Ā  5 apache apacheĀ   4096 may 10 16:40 general
    drwxr-xr-x. 19 apache apacheĀ   4096 may 10 16:40 godmode
    drwxr-xr-x. 15 apache apacheĀ  24576 may 11 13:32 images
    drwxr-xr-x. 15 apache apacheĀ   4096 may 11 12:19 include
    -rw-r--r--.Ā  1 apache apacheĀ  25064 abrĀ  8 12:01 index.php
    -rw-r--r--.Ā  1 apache apacheĀ  40707 abrĀ  8 12:02 install_old.php
    drwxr-xr-x.Ā  5 apache apacheĀ  Ā   65 may 10 16:41 mobile
    drwxr-xr-x. 15 apache apacheĀ   4096 may 10 16:41 operation
    -rw-r--r--Ā   1 apache apacheĀ  15219 may 13 14:36 pandora_console.log
    -rw-r--r--.Ā  1 apache apacheĀ  Ā  234 abrĀ  8 12:01 pandora_console_logrotate_centos
    -rw-r--r--.Ā  1 apache apacheĀ  Ā  171 abrĀ  8 12:01 pandora_console_logrotate_suse
    -rw-r--r--.Ā  1 apache apacheĀ  Ā  222 abrĀ  8 12:01 pandora_console_logrotate_ubuntu
    -rw-r--r--.Ā  1 apache apacheĀ   4883 abrĀ  8 12:01 pandora_console_upgrade
    -rw-r--r--.Ā  1 apache apache 671751 abrĀ  8 12:02 pandoradb.data.oracle.sql
    -rw-r--r--.Ā  1 apache apache 709544 abrĀ  8 12:01 pandoradb.data.postgreSQL.sql
    -rw-r--r--.Ā  1 apache apache 708902 abrĀ  8 12:01 pandoradb_data.sql
    -rw-r--r--.Ā  1 apache apacheĀ  91120 abrĀ  8 12:01 pandoradb.oracle.sql
    -rw-r--r--.Ā  1 apache apacheĀ  70408 abrĀ  8 12:01 pandoradb.postgreSQL.sql
    -rw-r--r--.Ā  1 apache apacheĀ  79185 abrĀ  8 12:01 pandoradb.sql
    [root@ksrpandora01 pandora_console]#
    
  • AKevin

    Member
    May 17, 2016 at 21:02
    0 Karma points
    Community rank: tentacle-noob-1 Tentacle noob
    Like it
    Up
    0
    Down
    Drop it
    ::

    Hola de nuevo,

    Por favor, ejecuta estos comandos e indĆ­came por aquĆ­ la salida que te da cada uno:

    rpm -qa | grep pandora 
    netstat -ltpn 
    getenforce

    Un saludo,
    Kevin.

  • gairhald

    Member
    May 18, 2016 at 10:14
    0 Karma points
    Community rank: tentacle-noob-1 Tentacle noob
    Like it
    Up
    0
    Down
    Drop it
    ::

    Buenas,

    te pongo los valores

    [root@ksrpandora01 ~]# rpm -qa | grep pandora
    pandorafms_server-6.0SP2-1.noarch
    pandorafms_console-6.0SP2-1.noarch
    [root@ksrpandora01 ~]#
    
    [root@ksrpandora01 ~]# netstat -ltn
    Active Internet connections (only servers)
    Proto Recv-Q Send-Q Local AddressĀ  Ā  Ā  Ā  Ā   Foreign AddressĀ  Ā  Ā  Ā   State
    tcpĀ  Ā  Ā  Ā  0Ā  Ā  Ā  0 0.0.0.0:22Ā  Ā  Ā  Ā  Ā  Ā  Ā  0.0.0.0:*Ā  Ā  Ā  Ā  Ā  Ā  Ā   LISTEN
    tcpĀ  Ā  Ā  Ā  0Ā  Ā  Ā  0 127.0.0.1:25Ā  Ā  Ā  Ā  Ā  Ā  0.0.0.0:*Ā  Ā  Ā  Ā  Ā  Ā  Ā   LISTEN
    tcpĀ  Ā  Ā  Ā  0Ā  Ā  Ā  0 0.0.0.0:41121Ā  Ā  Ā  Ā  Ā   0.0.0.0:*Ā  Ā  Ā  Ā  Ā  Ā  Ā   LISTEN
    tcp6Ā  Ā  Ā   0Ā  Ā  Ā  0 :::3306Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā   :::*Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  LISTEN
    tcp6Ā  Ā  Ā   0Ā  Ā  Ā  0 :::80Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā   :::*Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  LISTEN
    tcp6Ā  Ā  Ā   0Ā  Ā  Ā  0 :::22Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā   :::*Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  LISTEN
    tcp6Ā  Ā  Ā   0Ā  Ā  Ā  0 ::1:25Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  :::*Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  LISTEN
    [root@ksrpandora01 ~]#
    
    [root@ksrpandora01 ~]# getenforce
    Disabled
    [root@ksrpandora01 ~]#
    
  • AKevin

    Member
    May 18, 2016 at 15:11
    0 Karma points
    Community rank: tentacle-noob-1 Tentacle noob
    Like it
    Up
    0
    Down
    Drop it
    ::

    Buenos dĆ­as gairhald,

    Hemos logrado replicar el error y creo que hemos encontrado la soluciĆ³n a tu problema. EstĆ” relacionado con la configuraciĆ³n por defecto de la versiĆ³n 5.6 de MySQL. Para solucionarlo, modifica el archivo:

    /etc/my.cnf

    Busca la lĆ­nea

    sql_mode=NO_ENGINE_SUBSTITUTION,STRICT_TRANS_TABLES
    

    Y elimina el modo sql, por ejemplo asĆ­:

    sql_mode=
    #NO_ENGINE_SUBSTITUTION,STRICT_TRANS_TABLES
    

    Si estamos en lo cierto, ahora deberĆ­as poder crear nuevos mĆ³dulos.

    Un saludo,
    Kevin.

    PD: Estoy viendo que uno de las primeras recomendaciones que te di fue aƱadir la lĆ­nea sql_mode=”” bajo [mysqld]. Borra esta lĆ­nea para que sĆ³lo haya un sql_mode.

  • gairhald

    Member
    May 18, 2016 at 18:46
    0 Karma points
    Community rank: tentacle-noob-1 Tentacle noob
    Like it
    Up
    0
    Down
    Drop it
    ::

    Buenas,

    es cierto que puse lo que me comentaste al inicio eso de sql_mode =””

    lo he cambiado, aunque este comentado y ahora lo tengo asĆ­

    [mysqld]
    server-idĀ  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  = 8888
    sql_mode=
    #NO_ENGINE_SUBSTITUTION,STRICT_TRANS_TABLES
    

    Pero sigue sin funcionar, no me crea el modulo :/

    Decir que he reiniciado el mysql y el pandorafms_server antes de probar

  • AKevin

    Member
    May 18, 2016 at 19:17
    0 Karma points
    Community rank: tentacle-noob-1 Tentacle noob
    Like it
    Up
    0
    Down
    Drop it
    ::

    Hola de nuevo,

    Es extraƱo que siga sin funcionar. Ejecuta un

    find / -name my.cnf

    A ver si el archivo existiera en algĆŗn otro sitio. Si asĆ­ fuera, elimĆ­nalo y deja Ćŗnicamente el que se encuentra en /etc/.

    Un saludo,
    Kevin.

  • gairhald

    Member
    May 19, 2016 at 18:19
    0 Karma points
    Community rank: tentacle-noob-1 Tentacle noob
    Like it
    Up
    0
    Down
    Drop it
    ::

    Buenas, ademas del my.cnf de /etc/, sĆ³lo esta en la carpeta /opt/ donde tengo los binarios

    [root@ksrpandora01 ~]# find / -name my.cnf
    /etc/my.cnf
    /opt/mysql-5.6.29-linux-glibc2.5-x86_64/mysql-test/suite/federated/my.cnf
    /opt/mysql-5.6.29-linux-glibc2.5-x86_64/mysql-test/suite/ndb/my.cnf
    /opt/mysql-5.6.29-linux-glibc2.5-x86_64/mysql-test/suite/ndb_rpl/my.cnf
    /opt/mysql-5.6.29-linux-glibc2.5-x86_64/mysql-test/suite/rpl_ndb/my.cnf
    /opt/mysql-5.6.29-linux-glibc2.5-x86_64/mysql-test/suite/ndb_team/my.cnf
    /opt/mysql-5.6.29-linux-glibc2.5-x86_64/mysql-test/suite/rpl/my.cnf
    /opt/mysql-5.6.29-linux-glibc2.5-x86_64/mysql-test/suite/rpl/extension/bhs/my.cnf
    /opt/mysql-5.6.29-linux-glibc2.5-x86_64/mysql-test/suite/ndb_big/my.cnf
    /opt/mysql-5.6.29-linux-glibc2.5-x86_64/mysql-test/suite/ndb_binlog/my.cnf
    /opt/mysql-5.6.29-linux-glibc2.5-x86_64/my.cnf
    [root@ksrpandora01 ~]#
    

    Indicar que al final de todo el my.cnf esta la linea

    !includedir /etc/my.cnf.d
    

    Pero que dentro del fichero que hay dentro de ese directorio esta en blanco

    [root@ksrpandora01 my.cnf.d]# cat /etc/my.cnf.d/mysql-clients.cnf
    #
    # These groups are read by MariaDB command-line tools
    # Use it for options that affect only one utility
    #
    
    [mysql]
    
    [mysql_upgrade]
    
    [mysqladmin]
    
    [mysqlbinlog]
    
    [mysqlcheck]
    
    [mysqldump]
    
    [mysqlimport]
    
    [mysqlshow]
    
    [mysqlslap]
    
    [root@ksrpandora01 my.cnf.d]#
    

    por tanto, no afecta.

    Te pegarĆ© la configuraciĆ³n del my.cnf por si te ayuda

    # Generated by Percona Configuration Wizard (http://tools.percona.com/) version REL5-20120208
    # Configuration name rspandora01.resa.es generated for [email protected] at 2016-04-24 20:46:16
    
    [mysql]
    # CLIENT #
    portĀ  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā   = 3306
    socketĀ  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā   = /data/mysql/mysql.sock
    
    [mysqld]
    server-idĀ  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  = 8888
    sql_mode=
    #NO_ENGINE_SUBSTITUTION,STRICT_TRANS_TABLES
    
    # GENERAL #
    userĀ  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā   = mysql
    default-storage-engineĀ  Ā  Ā  Ā   = InnoDB
    socketĀ  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā   = /data/mysql/mysql.sock
    pid-fileĀ  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā   = /data/mysql/mysql.pid
    
    # MyISAM #
    key-buffer-sizeĀ  Ā  Ā  Ā  Ā  Ā  Ā  Ā  = 32M
    myisam-recoverĀ  Ā  Ā  Ā  Ā  Ā  Ā  Ā   = FORCE,BACKUP
    
    # SAFETY #
    max-allowed-packetĀ  Ā  Ā  Ā  Ā  Ā   = 16M
    max-connect-errorsĀ  Ā  Ā  Ā  Ā  Ā   = 1000000
    
    # DATA STORAGE #
    datadirĀ  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  = /data/mysql/
    basedirĀ  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  = /opt/mysql/
    tmpdirĀ  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā   = /data/tmp/
    
    
    # BINARY LOGGING #
    log-binĀ  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  = /data/log_bin/mysql-bin
    expire-logs-daysĀ  Ā  Ā  Ā  Ā  Ā  Ā   = 14
    sync-binlogĀ  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  = 1
    
    # CACHES AND LIMITS #
    tmp-table-sizeĀ  Ā  Ā  Ā  Ā  Ā  Ā  Ā   = 32M
    max-heap-table-sizeĀ  Ā  Ā  Ā  Ā  Ā  = 32M
    query-cache-typeĀ  Ā  Ā  Ā  Ā  Ā  Ā   = 0
    query-cache-sizeĀ  Ā  Ā  Ā  Ā  Ā  Ā   = 0
    max-connectionsĀ  Ā  Ā  Ā  Ā  Ā  Ā  Ā  = 500
    thread-cache-sizeĀ  Ā  Ā  Ā  Ā  Ā  Ā  = 50
    open-files-limitĀ  Ā  Ā  Ā  Ā  Ā  Ā   = 65535
    table-definition-cacheĀ  Ā  Ā  Ā   = 1024
    table-open-cacheĀ  Ā  Ā  Ā  Ā  Ā  Ā   = 2048
    
    # INNODB #
    innodb-flush-methodĀ  Ā  Ā  Ā  Ā  Ā  = O_DIRECT
    innodb-log-files-in-groupĀ  Ā  Ā  = 2
    innodb-log-file-sizeĀ  Ā  Ā  Ā  Ā   = 128M
    innodb-flush-log-at-trx-commit = 1
    innodb-file-per-tableĀ  Ā  Ā  Ā  Ā  = 1
    innodb-buffer-pool-sizeĀ  Ā  Ā  Ā  = 1456M
    
    # LOGGING #
    log-errorĀ  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  = /data/log/mysql-error.log
    log-queries-not-using-indexesĀ  = 1
    slow-query-logĀ  Ā  Ā  Ā  Ā  Ā  Ā  Ā   = 1
    slow-query-log-fileĀ  Ā  Ā  Ā  Ā  Ā  = /data/log/mysql-slow.log
    
    
    
    !includedir /etc/my.cnf.d
    
  • gairhald

    Member
    May 24, 2016 at 14:01
    0 Karma points
    Community rank: tentacle-noob-1 Tentacle noob
    Like it
    Up
    0
    Down
    Drop it
    ::

    Buenas,

    Alguna idea sobre este problema?

    saludos

  • AKevin

    Member
    May 27, 2016 at 14:45
    0 Karma points
    Community rank: tentacle-noob-1 Tentacle noob
    Like it
    Up
    0
    Down
    Drop it
    ::

    Hola gairhald,

    ĀæQuĆ© versiĆ³n de Pandora tienes? ĀæEstĆ” actualizada?

    Un saludo,
    Kevin.

  • gairhald

    Member
    June 1, 2016 at 18:20
    0 Karma points
    Community rank: tentacle-noob-1 Tentacle noob
    Like it
    Up
    0
    Down
    Drop it
    ::

    Buenas, pues tenia la ultima que baje cuando empece todo esto.

    Ahora he tenido que eliminarlo para volver a empezar, asĆ­ que por el momento no puedo hacer mĆ”s pruebas. A ver si a la hora de reinstalarlo no me da el mismo problema, aĆŗnque lo instale dos veces por eso :/

    gracias de todos modos, saludos

  • gairhald

    Member
    November 30, 2016 at 18:28
    0 Karma points
    Community rank: tentacle-noob-1 Tentacle noob
    Like it
    Up
    0
    Down
    Drop it
    ::

    Buenas,

    he vuelto a intentar instalar un nuevo Pandora, el servidor es el siguiente:

    CentOS 7.3 con MySQL 5.66 ya que con MySQL 5.7 no consigo levantar el pandora y como pandora Console y Server la ultima versiĆ³n que esta en la web de Pandora. He hecho instalaciĆ³n por RPM

    pandorafms_console.noarchĀ  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā   6.0SP4-1Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  installed
    pandorafms_server.noarchĀ  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  6.0SP4-1Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  installed

    y cuando intento crear un modulo de red, host alive, me sigue dando el mismo problema, alguna idea?

Page 1 of 2