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 (El contenido ya no está disponible) (El contenido ya no está disponible) 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
Error crear HOST ALIVE Network Module
gairhald · 11 may 2016, 18:18 · 26 mensajes · 113 visitas
- Inicio del debate
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.
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?
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.
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.91pandora_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'.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.
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.
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.
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?
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.sqlpor si acaso fuera eso, y muéstrame la salida que te da. Parece que vamos acercándonos. Un saludo, Kevin.
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]#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 getenforceUn saludo, Kevin.
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 ~]#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.cnfBusca la línea
sql_mode=NO_ENGINE_SUBSTITUTION,STRICT_TRANS_TABLESY elimina el modo sql, por ejemplo así:
sql_mode= #NO_ENGINE_SUBSTITUTION,STRICT_TRANS_TABLESSi 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.
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_TABLESPero sigue sin funcionar, no me crea el modulo :/ Decir que he reiniciado el mysql y el pandorafms_server antes de probar
Hola de nuevo, Es extraño que siga sin funcionar. Ejecuta un
find / -name my.cnfA 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.
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.dPero 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.dBuenas, Alguna idea sobre este problema? saludos
Hola gairhald, ¿Qué versión de Pandora tienes? ¿Está actualizada? Un saludo, Kevin.
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
Entra en tu cuenta para publicar.
