Pandora FMS Community

New setup says "Problem with Pandora FMS Database" at the login console page

Olorin · 31 ago 2016, 3:17 · 3 mensajes · 56 visitas

  1. Inicio del debate

    I have installed the current 6SP3 version, following all the steps, with a single exception - instead of using the autogenerated password for pandora db, I used my own, which I set in both /etc/pandora/pandora_server.conf and in the database Logs show this: [root@monitor ~]# less /var/log/pandora/pandora_server.log 2016-08-30 17:21:41 monitor.maxbetgroup.com [V1] Pandora FMS Server 'monitor.my.com' Shutdown by signal 2016-08-30 17:21:44 monitor.maxbetgroup.com [V1] Launching 6.0SP3 160627 2016-08-30 17:21:44 monitor.maxbetgroup.com [V1] Config options: Logfile at /var/log/pandora/pandora_server.log, Basepath is /etc/pandora/pandora_server.conf, Checksum is 0, Master is 1, SNMP Console is 0, Server Threshold at 5 sec, verbosity at 3, Alert Threshold at 60, ServerName is 'monitor.my.com' 2016-08-30 17:21:44 monitor.maxbetgroup.com [V1] - Pandora FMS Enterprise module not available.
    2016-08-30 17:21:44 monitor.maxbetgroup.com [V1] - Netflow daemon disabled.
    2016-08-30 17:21:44 monitor.maxbetgroup.com [V3] Warmup mode for unknown modules started. 2016-08-30 17:21:45 monitor.maxbetgroup.com [V1] Server monitor.my.com is the current master. Nothing else here or in the .error log. What else can I do to debug and solve this please?

  2. Hi Olorin, You need to set the password in the Pandora console configuration file that is located at "/var/www/html/pandora_console/include/config.php". Make sure that all the configuration is the same in "pandora_server.conf". For example: - /var/www/html/pandora_console/include/config.php

    
    $config["dbtype"] = "mysql";
    $config["dbname"]="pandora";                   
    $config["dbuser"]="user";                         
    $config["dbpass"]="password";                 
    $config["dbhost"]="127.0.0.1";                
    

    - /etc/pandora/pandora_server.conf

    
    dbengine mysql
    dbname pandora
    dbuser user
    dbpass password
    dbhost 127.0.0.1
    

    Kind regards, Enrique.

  3. Thanks Enrique, it worked! I was hoping it would be the case, but when I grepped for the original autogenerated password in all the directories Pandora created, nothing was found. I must have typed it wrong

Entra en tu cuenta para publicar.