Pandora FMS Community

Cannot Start Pandora FMS Server Aborted with no logs

ryanch81 · 29 jul 2017, 10:43 · 17 mensajes · 66 visitas

  1. Inicio del debate

    Hello, I am trying to setup Pandora FMS on a new Fedora 26 headless server.  Here is what i got so far.  I built a new Fedora 26 headless and installed MariaDB.  I added a new database and user with permissions to database.  Disabled the firewall.  Installed PandoraFMS_server and added the MarisDB info to the /usr/local/etc/pandora/pandora_server.conf file.  I attempted to start the Pandora server before i installed the console but it aborted.  I got the error below.

    [

    ](//pandorafms.com/community/media/forum/8591/21219=1067-Capture.PNG)

    From there i went to the log location but neither log exist.  I tried to install the console but got the error below.

    [

    ](//pandorafms.com/community/media/forum/8591/21219=1068-Capture2.PNG)

    Not sure where to go from here, not without any logs to go off of.  Any help would be much appreciated!

  2. Hi ryanch81, Can you say me the version of you php? Pandora only supports the versión 5. Best regards, vic.

  3. Hi ryanch81, Can you say me the version of you php? Pandora only supports the versión 5. Best regards, vic.

    Hi Vic, Thanks for the reply! I was running php version 7.1.8.  I removed that and finally got 5.6 installed.  Then i was able to get the PandoraFMS console installed.  I tried to start the FMS server but it aborted with the following error and created two logs.

    [

    ](//pandorafms.com/community/media/forum/8591/21238=1069-Aborted.PNG)

    [

    ](//pandorafms.com/community/media/forum/8591/21238=1070-server.error_.PNG)

    [

    ](//pandorafms.com/community/media/forum/8591/21238=1071-server.log_.png)

  4. Hi ryanch81, The tconfig table doesn't exist in the database, as you have the database without data, you need will create the tables and insert the data again. Go to mysql with the user pandora or root: (the password of pandora user are in the file /var/www/html/pandora_console/include/config.php)

    mysql -u user -p
    
    drop database pandora;
    create database pandora;
    use pandora;
    source /var/www/html/pandora_console/pandoradb.sql;
    source /var/www/html/pandora_console/pandoradb_data.sql
    

    And then restart the pandora service. If you have any problem tell me. Best regards, vic.

  5. Hi ryanch81, The tconfig table doesn't exist in the database, as you have the database without data, you need will create the tables and insert the data again. Go to mysql with the user pandora or root: (the password of pandora user are in the file /var/www/html/pandora_console/include/config.php)

    mysql -u user -p
    
    drop database pandora;
    create database pandora;
    use pandora;
    source /var/www/html/pandora_console/pandoradb.sql;
    source /var/www/html/pandora_console/pandoradb_data.sql
    

    And then restart the pandora service. If you have any problem tell me. Best regards, vic.

    Hey Vic, That worked my Pandora FMS server is running.  Thank you so much for your help.   The only issue i am having now is accessing that server.  Do i have to access PandoraFMS from localhost to do the initial setup?  My server is headless with no browser installed so that could be an issue if that is the case.  I have tried to access it from my computers browser using the following commands but i was unable to do so.

    http://FMSServerIP/pandora_console/install.php
    http://FMSServerIP/pandora_console
    
  6. Hi ryanch81, You need start the httpd service that it's necessary for use the pandora console.

    service httpd start
    

    You have must started the following services: tentacle_server mysql pandora_agent_daemon pandora_server Best regards, vic.

  7. Hello, It says unit pandora_agent_daemon not found, but that is because i have not installed the agent on this server correct?  Do you know the command to install the agent on a Fedora 26?  It also said that it could not find mysql but that is now mariadb service correct/

  8. Hello, I was able to get the agent installed and the service running.

    [

    ](//pandorafms.com/community/media/forum/8591/21257=1073-Agent.PNG)

    And according to this the httpd service is running.

    [

    ](//pandorafms.com/community/media/forum/8591/21257=1074-HTTPd.PNG)

    But i am still unable to access the FMS server with either of the URL's below.

    http://FMSServerIP/pandora_console/install.php
    
    http://FMSServerIP/pandora_console
    

    Any suggestions?

  9. Hi ryanch81, I'm trying to replicate it, but i cant, the problem has to be the apache server. You can check this log file to see the possible errors.

    /etc/httpd/logs/error_log
    

    Best regards vic.

  10. Hey Vic, I figured it out.  I thought my firewall was disabled but then i noticed that the service was still running.  After i uninstalled firewalld I was able to connect and finish setting up Pandora FMS. However I have two agents installed on Windows machines but i am unable to communicate with them.  I can ping them from FMS and ping FMS from them. Any suggestions? Also it says there is a console update but i am unable to install it.

    [

    ](//pandorafms.com/community/media/forum/8591/21276=1085-console-update.PNG)

  11. Buenas ryanch81, ¿Has mirado si la memoria de php es correcta? El gestor de actualizaciones necesita un mínimo de 500 Mb para funcionar correctamente. Comprueba la variable "memory_limit" en este archivo: /etc/php.ini

    memory_limit = 500M
    

    Saludos, vic.

  12. Hey Vic, It warned me about that after setup so i changed it then. I have the memory limit set to 800m and I am still having the same issues.  Where would all the log files be so i can see what is going on?

  13. Hi, ryanch81, The log file of the console is in:

    /var/www/html/pandora_console/pandora_console.log
    

    Can you show me the log file content? Best regards, vic.

  14. Hey Vic, Here is the log file.

    [

    ](//pandorafms.com/community/media/forum/8591/21320=1095-Console_log.PNG)

    The logs end after Aug 7th after I changed the PHP settings. Is that the only logs there is?  What about logs on the agent servers?

  15. Hi ryanch81, Can you show me the content of the pandora_console.log? Location of the file:

    /var/www/html/pandora_console/pandora_console.log
    

    Best regards, vic.

  16. Hey Vic, That is all the logs there are.

    [

    ](//pandorafms.com/community/media/forum/8591/21340=1098-FMSLogs.PNG)

  17. Hi ryanch81, To communicate with them you would have to add the corresponding routes. The update manager online is possible that have a bug, I'm checking it. Best regards, vic.

Entra en tu cuenta para publicar.