Welcome to Pandora FMS Community!

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

Welcome to Pandora FMS Community Forums Community support Cannot Start Pandora FMS Server Aborted with no logs

  • Cannot Start Pandora FMS Server Aborted with no logs

    Posted by ryanch81 on July 29, 2017 at 10:43

    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.

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

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

    vic replied 7 years, 8 months ago 2 Members · 16 Replies
  • 16 Replies
  • vic

    Administrator
    August 1, 2017 at 12:56
    1570 Karma points
    Community awards: bulb Bright ideas
    Community rank: tentacle_master_icon Tentacle Master
    Like it
    Up
    0
    Down
    Drop it
    ::

    Hi ryanch81,

    Can you say me the version of you php? Pandora only supports the versión 5.

    Best regards,

    vic.

  • ryanch81

    Member
    August 3, 2017 at 00:39
    0 Karma points
    Community rank: tentacle-noob-1 Tentacle noob
    Like it
    Up
    0
    Down
    Drop it
    ::

    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.

  • vic

    Administrator
    August 3, 2017 at 15:23
    1570 Karma points
    Community awards: bulb Bright ideas
    Community rank: tentacle_master_icon Tentacle Master
    Like it
    Up
    0
    Down
    Drop it
    ::

    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.

  • ryanch81

    Member
    August 3, 2017 at 23:36
    0 Karma points
    Community rank: tentacle-noob-1 Tentacle noob
    Like it
    Up
    0
    Down
    Drop it
    ::

    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
  • vic

    Administrator
    August 4, 2017 at 12:57
    1570 Karma points
    Community awards: bulb Bright ideas
    Community rank: tentacle_master_icon Tentacle Master
    Like it
    Up
    0
    Down
    Drop it
    ::

    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.

  • ryanch81

    Member
    August 4, 2017 at 17:41
    0 Karma points
    Community rank: tentacle-noob-1 Tentacle noob
    Like it
    Up
    0
    Down
    Drop it
    ::

    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/

  • ryanch81

    Member
    August 4, 2017 at 19:22
    0 Karma points
    Community rank: tentacle-noob-1 Tentacle noob
    Like it
    Up
    0
    Down
    Drop it
    ::

    Hello,

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

    And according to this the httpd service is running.

    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?

  • vic

    Administrator
    August 7, 2017 at 19:38
    1570 Karma points
    Community awards: bulb Bright ideas
    Community rank: tentacle_master_icon Tentacle Master
    Like it
    Up
    0
    Down
    Drop it
    ::

    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.

  • ryanch81

    Member
    August 8, 2017 at 04:21
    0 Karma points
    Community rank: tentacle-noob-1 Tentacle noob
    Like it
    Up
    0
    Down
    Drop it
    ::

    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.

  • vic

    Administrator
    August 9, 2017 at 15:12
    1570 Karma points
    Community awards: bulb Bright ideas
    Community rank: tentacle_master_icon Tentacle Master
    Like it
    Up
    0
    Down
    Drop it
    ::

    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.

  • ryanch81

    Member
    August 10, 2017 at 02:04
    0 Karma points
    Community rank: tentacle-noob-1 Tentacle noob
    Like it
    Up
    0
    Down
    Drop it
    ::

    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?

  • vic

    Administrator
    August 10, 2017 at 12:16
    1570 Karma points
    Community awards: bulb Bright ideas
    Community rank: tentacle_master_icon Tentacle Master
    Like it
    Up
    0
    Down
    Drop it
    ::

    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.

  • ryanch81

    Member
    August 11, 2017 at 01:54
    0 Karma points
    Community rank: tentacle-noob-1 Tentacle noob
    Like it
    Up
    0
    Down
    Drop it
    ::

    Hey Vic,

    Here is the log file.

    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?

  • vic

    Administrator
    August 11, 2017 at 16:27
    1570 Karma points
    Community awards: bulb Bright ideas
    Community rank: tentacle_master_icon Tentacle Master
    Like it
    Up
    0
    Down
    Drop it
    ::

    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.

  • ryanch81

    Member
    August 15, 2017 at 09:20
    0 Karma points
    Community rank: tentacle-noob-1 Tentacle noob
    Like it
    Up
    0
    Down
    Drop it
    ::

    Hey Vic,

    That is all the logs there are.

  • vic

    Administrator
    August 16, 2017 at 19:50
    1570 Karma points
    Community awards: bulb Bright ideas
    Community rank: tentacle_master_icon Tentacle Master
    Like it
    Up
    0
    Down
    Drop it
    ::

    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.

Start of Discussion
1 of 16 replies August 2017
Now