Pandora FMS Community

Unable to Install Pandora 7 Console on Debian 9

nabor · 13 ene 2019, 2:20 · 10 mensajes · 76 visitas

  1. Inicio del debate

    Hi, When I was installing the console, the progress was stuck on the step 5 when it was creating the new database.

    [

    ](//pandorafms.com/community/media/forum/11055/27383=2608-pn.png)

    I also tried to create a new database manually and proceed with the installation by selecting "an existing database". However, none of them worked. What's more, I tried to change the MySQL configuration according to this thread but didn't work for me either https://pandorafms.com/forums/archive/index.php/thread-8484.html I'm sure the password for MySQL was correct. How can I collect more installation logs and debug the issue?

  2. Hi, When I was installing the console, the progress was stuck on the step 5 when it was creating the new database. I also tried to create a new database manually and proceed with the installation by selecting "an existing database". However, none of them worked. What's more, I tried to change the MySQL configuration according to this thread but didn't work for me either https://pandorafms.com/forums/archive/index.php/thread-8484.html I'm sure the password for MySQL was correct. How can I collect more installation logs and debug the issue?

    Good morning nabor, Can you please tell me what version of Pandora FMS are you trying to install, in what S.O are you trying to install it and how (ISO, rpm...)? Could you please try to see if MySQL is running when you try to create the database. Best regards, Alberto

  3. Hi, When I was installing the console, the progress was stuck on the step 5 when it was creating the new database. I also tried to create a new database manually and proceed with the installation by selecting "an existing database". However, none of them worked. What's more, I tried to change the MySQL configuration according to this thread but didn't work for me either https://pandorafms.com/forums/archive/index.php/thread-8484.html I'm sure the password for MySQL was correct. How can I collect more installation logs and debug the issue?

    Good morning nabor, Can you please tell me what version of Pandora FMS are you trying to install, in what S.O are you trying to install it and how (ISO, rpm...)? Could you please try to see if MySQL is running when you try to create the database. Best regards, Alberto

    Hi Alberto, Thanks for your replying. I'm using the latest deb package: pandorafms.console_7.0NG.730.deb and pandorafms.server_7.0NG.730.deb. I did a manual install yesterday by reading the install.php: create the database, import the db data and modify the conf files. It looks good now. But I'm still wondering what caused this issue. What's more, the server health bar looks strange: why it's an empty bar while others aren't.

    [

    ](//pandorafms.com/community/media/forum/11055/27403=2615-Screen-Shot-2019-01-15-at-14.23.26.png)

    [

    ](//pandorafms.com/community/media/forum/11055/27403=2616-Screen-Shot-2019-01-15-at-14.24.52.png)

  4. Hi, When I was installing the console, the progress was stuck on the step 5 when it was creating the new database. I also tried to create a new database manually and proceed with the installation by selecting "an existing database". However, none of them worked. What's more, I tried to change the MySQL configuration according to this thread but didn't work for me either https://pandorafms.com/forums/archive/index.php/thread-8484.html I'm sure the password for MySQL was correct. How can I collect more installation logs and debug the issue?

    Good morning nabor, Can you please tell me what version of Pandora FMS are you trying to install, in what S.O are you trying to install it and how (ISO, rpm...)? Could you please try to see if MySQL is running when you try to create the database. Best regards, Alberto

    Hi Alberto, Thanks for your replying. I'm using the latest deb package: pandorafms.console_7.0NG.730.deb and pandorafms.server_7.0NG.730.deb. I did a manual install yesterday by reading the install.php: create the database, import the db data and modify the conf files. It looks good now. But I'm still wondering what caused this issue. What's more, the server health bar looks strange: why it's an empty bar while others aren't.

    Good morning nabor, The "no bar" of the server health usually means that you haven´t started the server with the "/etc/init.d/pandora_server start". Can you please make a screenshot of all the pandora_console. Can you see a circle with a red cross in it? Thats also why the Updated state of your servers is 22 hours. Alberto

  5. Hi, When I was installing the console, the progress was stuck on the step 5 when it was creating the new database. I also tried to create a new database manually and proceed with the installation by selecting "an existing database". However, none of them worked. What's more, I tried to change the MySQL configuration according to this thread but didn't work for me either https://pandorafms.com/forums/archive/index.php/thread-8484.html I'm sure the password for MySQL was correct. How can I collect more installation logs and debug the issue?

    Good morning nabor, Can you please tell me what version of Pandora FMS are you trying to install, in what S.O are you trying to install it and how (ISO, rpm...)? Could you please try to see if MySQL is running when you try to create the database. Best regards, Alberto

    Hi Alberto, Thanks for your replying. I'm using the latest deb package: pandorafms.console_7.0NG.730.deb and pandorafms.server_7.0NG.730.deb. I did a manual install yesterday by reading the install.php: create the database, import the db data and modify the conf files. It looks good now. But I'm still wondering what caused this issue. What's more, the server health bar looks strange: why it's an empty bar while others aren't.

    Good morning nabor, The "no bar" of the server health usually means that you haven´t started the server with the "/etc/init.d/pandora_server start". Can you please make a screenshot of all the pandora_console. Can you see a circle with a red cross in it? Thats also why the Updated state of your servers is 22 hours. Alberto

    Hi Alberto, I found I couldn't start it by using "systemctl start pandora_server.service" because the -D option won't work:

    # /usr/bin/pandora_server /etc/pandora/pandora_server.conf -D
    
    Pandora FMS Server 7.0NG.730 Build 181217 Copyright (c) 2004-2018 Artica ST
    This program is OpenSource, licensed under the terms of GPL License version 2.
    You can download latest versions and documentation at official web page.
    
      Backgrounding Pandora FMS Server process.
    
    
    # ps -ef|grep pan
    pandora    524     1  0 Jan14 ?        00:00:00 /usr/bin/perl /usr/bin/tentacle_server -F /etc/tentacle/tentacle_server.conf
    root     26206 24623  0 22:46 pts/2    00:00:00 grep --color=auto pan
    

    However, if I execute  "/etc/init.d/pandora_server start", the service can be started successfully.

    # /etc/init.d/pandora_server start
    
    Pandora FMS Server 7.0NG.730 Build 181217 Copyright (c) 2004-2018 Artica ST
    This program is OpenSource, licensed under the terms of GPL License version 2.
    You can download latest versions and documentation at official web page.
    
      Backgrounding Pandora FMS Server process.
    
    
    
    Pandora FMS Server is now running with PID 26248
    # ps -ef|grep pan
    pandora    524     1  0 Jan14 ?        00:00:00 /usr/bin/perl /usr/bin/tentacle_server -F /etc/tentacle/tentacle_server.conf
    root     26248     1  0 22:47 ?        00:00:00 /usr/bin/perl /usr/bin/pandora_server /etc/pandora/pandora_server.conf -D
    root     26311 24623  0 22:47 pts/2    00:00:00 grep --color=auto pan
    
    • [*]
      Strange, isn't it? I think it may be an Debian bug.
  6. Good morning nabor, The "no bar" of the server health usually means that you haven´t started the server with the "/etc/init.d/pandora_server start". Can you please make a screenshot of all the pandora_console. Can you see a circle with a red cross in it? Thats also why the Updated state of your servers is 22 hours. Alberto

    Hi Alberto, I found I couldn't start it by using "systemctl start pandora_server.service" because the -D option won't work:

    # /usr/bin/pandora_server /etc/pandora/pandora_server.conf -D
    
    Pandora FMS Server 7.0NG.730 Build 181217 Copyright (c) 2004-2018 Artica ST
    This program is OpenSource, licensed under the terms of GPL License version 2.
    You can download latest versions and documentation at official web page.
    
      Backgrounding Pandora FMS Server process.
    
    
    # ps -ef|grep pan
    pandora    524     1  0 Jan14 ?        00:00:00 /usr/bin/perl /usr/bin/tentacle_server -F /etc/tentacle/tentacle_server.conf
    root     26206 24623  0 22:46 pts/2    00:00:00 grep --color=auto pan
    

    However, if I execute  "/etc/init.d/pandora_server start", the service can be started successfully.

    # /etc/init.d/pandora_server start
    
    Pandora FMS Server 7.0NG.730 Build 181217 Copyright (c) 2004-2018 Artica ST
    This program is OpenSource, licensed under the terms of GPL License version 2.
    You can download latest versions and documentation at official web page.
    
      Backgrounding Pandora FMS Server process.
    
    
    
    Pandora FMS Server is now running with PID 26248
    # ps -ef|grep pan
    pandora    524     1  0 Jan14 ?        00:00:00 /usr/bin/perl /usr/bin/tentacle_server -F /etc/tentacle/tentacle_server.conf
    root     26248     1  0 22:47 ?        00:00:00 /usr/bin/perl /usr/bin/pandora_server /etc/pandora/pandora_server.conf -D
    root     26311 24623  0 22:47 pts/2    00:00:00 grep --color=auto pan
    

    Strange, isn't it? I think it may be an Debian bug. Good morning nabor, Try to use sudo before the command /usr.. Did this helped you with the health server bar? Alberto

  7. Good morning nabor, The "no bar" of the server health usually means that you haven´t started the server with the "/etc/init.d/pandora_server start". Can you please make a screenshot of all the pandora_console. Can you see a circle with a red cross in it? Thats also why the Updated state of your servers is 22 hours. Alberto

    Hi Alberto, I found I couldn't start it by using "systemctl start pandora_server.service" because the -D option won't work:

    # /usr/bin/pandora_server /etc/pandora/pandora_server.conf -D
    
    Pandora FMS Server 7.0NG.730 Build 181217 Copyright (c) 2004-2018 Artica ST
    This program is OpenSource, licensed under the terms of GPL License version 2.
    You can download latest versions and documentation at official web page.
    
      Backgrounding Pandora FMS Server process.
    
    
    # ps -ef|grep pan
    pandora    524     1  0 Jan14 ?        00:00:00 /usr/bin/perl /usr/bin/tentacle_server -F /etc/tentacle/tentacle_server.conf
    root     26206 24623  0 22:46 pts/2    00:00:00 grep --color=auto pan
    

    However, if I execute  "/etc/init.d/pandora_server start", the service can be started successfully.

    # /etc/init.d/pandora_server start
    
    Pandora FMS Server 7.0NG.730 Build 181217 Copyright (c) 2004-2018 Artica ST
    This program is OpenSource, licensed under the terms of GPL License version 2.
    You can download latest versions and documentation at official web page.
    
      Backgrounding Pandora FMS Server process.
    
    
    
    Pandora FMS Server is now running with PID 26248
    # ps -ef|grep pan
    pandora    524     1  0 Jan14 ?        00:00:00 /usr/bin/perl /usr/bin/tentacle_server -F /etc/tentacle/tentacle_server.conf
    root     26248     1  0 22:47 ?        00:00:00 /usr/bin/perl /usr/bin/pandora_server /etc/pandora/pandora_server.conf -D
    root     26311 24623  0 22:47 pts/2    00:00:00 grep --color=auto pan
    

    Strange, isn't it? I think it may be an Debian bug. Good morning nabor, Try to use sudo before the command /usr.. Did this helped you with the health server bar? Alberto

  8. Good morning nabor, Try to use sudo before the command /usr.. Did this helped you with the health server bar? Alberto

    Hi Alberto,  It works with the sudo /usr command line, however still not working with the systemd method.

    $ sudo systemctl start pandora_server.service
    $ sudo systemctl status pandora_server.service
    * pandora_server.service - Pandora FMS server daemon
       Loaded: loaded (/lib/systemd/system/pandora_server.service; enabled; vendor preset: enabled)
       Active: inactive (dead) since Thu 2019-01-17 10:16:44 NZDT; 1s ago
      Process: 20379 ExecStart=/usr/bin/pandora_server /etc/pandora/pandora_server.conf -D (code=exited, status=0/SUCCESS)
    
    Jan 17 10:16:43 magneto systemd[1]: Starting Pandora FMS server daemon...
    Jan 17 10:16:44 magneto pandora_server[20379]: Pandora FMS Server 7.0NG.730 Build 181217 Copyright (c) 2004-2018 Artica ST
    Jan 17 10:16:44 magneto pandora_server[20379]: This program is OpenSource, licensed under the terms of GPL License version 2.
    Jan 17 10:16:44 magneto pandora_server[20379]: You can download latest versions and documentation at official web page.
    Jan 17 10:16:44 magneto pandora_server[20379]:   Backgrounding Pandora FMS Server process.
    
    Jan 17 10:16:44 magneto systemd[1]: Started Pandora FMS server daemon.
    $ ps -ef|grep pan
    pandora    524     1  0 Jan14 ?        00:00:00 /usr/bin/perl /usr/bin/tentacle_server -F /etc/tentacle/tentacle_server.conf
    $
    $ sudo /usr/bin/pandora_server /etc/pandora/pandora_server.conf -D
    
    Pandora FMS Server 7.0NG.730 Build 181217 Copyright (c) 2004-2018 Artica ST
    This program is OpenSource, licensed under the terms of GPL License version 2.
    You can download latest versions and documentation at official web page.
    
      Backgrounding Pandora FMS Server process.
    
    
    $ ps -ef|grep pan
    pandora    524     1  0 Jan14 ?        00:00:00 /usr/bin/perl /usr/bin/tentacle_server -F /etc/tentacle/tentacle_server.conf
    root     20399     1  0 10:19 ?        00:00:00 /usr/bin/perl /usr/bin/pandora_server /etc/pandora/pandora_server.conf -D
    
  9. Good morning nabor, Try to use sudo before the command /usr.. Did this helped you with the health server bar? Alberto

    Hi Alberto,  It works with the sudo /usr command line, however still not working with the systemd method.

    $ sudo systemctl start pandora_server.service
    $ sudo systemctl status pandora_server.service
    * pandora_server.service - Pandora FMS server daemon
       Loaded: loaded (/lib/systemd/system/pandora_server.service; enabled; vendor preset: enabled)
       Active: inactive (dead) since Thu 2019-01-17 10:16:44 NZDT; 1s ago
      Process: 20379 ExecStart=/usr/bin/pandora_server /etc/pandora/pandora_server.conf -D (code=exited, status=0/SUCCESS)
    
    Jan 17 10:16:43 magneto systemd[1]: Starting Pandora FMS server daemon...
    Jan 17 10:16:44 magneto pandora_server[20379]: Pandora FMS Server 7.0NG.730 Build 181217 Copyright (c) 2004-2018 Artica ST
    Jan 17 10:16:44 magneto pandora_server[20379]: This program is OpenSource, licensed under the terms of GPL License version 2.
    Jan 17 10:16:44 magneto pandora_server[20379]: You can download latest versions and documentation at official web page.
    Jan 17 10:16:44 magneto pandora_server[20379]:   Backgrounding Pandora FMS Server process.
    
    Jan 17 10:16:44 magneto systemd[1]: Started Pandora FMS server daemon.
    $ ps -ef|grep pan
    pandora    524     1  0 Jan14 ?        00:00:00 /usr/bin/perl /usr/bin/tentacle_server -F /etc/tentacle/tentacle_server.conf
    $
    $ sudo /usr/bin/pandora_server /etc/pandora/pandora_server.conf -D
    
    Pandora FMS Server 7.0NG.730 Build 181217 Copyright (c) 2004-2018 Artica ST
    This program is OpenSource, licensed under the terms of GPL License version 2.
    You can download latest versions and documentation at official web page.
    
      Backgrounding Pandora FMS Server process.
    
    
    $ ps -ef|grep pan
    pandora    524     1  0 Jan14 ?        00:00:00 /usr/bin/perl /usr/bin/tentacle_server -F /etc/tentacle/tentacle_server.conf
    root     20399     1  0 10:19 ?        00:00:00 /usr/bin/perl /usr/bin/pandora_server /etc/pandora/pandora_server.conf -D
    

    Good morning nabor, Will look why the systemctl does not work, meanwhile, please use the other methods to start pandoras services. Alberto

  10. Good morning nabor, Try to use sudo before the command /usr.. Did this helped you with the health server bar? Alberto

    Hi Alberto,  It works with the sudo /usr command line, however still not working with the systemd method.

    $ sudo systemctl start pandora_server.service
    $ sudo systemctl status pandora_server.service
    * pandora_server.service - Pandora FMS server daemon
       Loaded: loaded (/lib/systemd/system/pandora_server.service; enabled; vendor preset: enabled)
       Active: inactive (dead) since Thu 2019-01-17 10:16:44 NZDT; 1s ago
      Process: 20379 ExecStart=/usr/bin/pandora_server /etc/pandora/pandora_server.conf -D (code=exited, status=0/SUCCESS)
    
    Jan 17 10:16:43 magneto systemd[1]: Starting Pandora FMS server daemon...
    Jan 17 10:16:44 magneto pandora_server[20379]: Pandora FMS Server 7.0NG.730 Build 181217 Copyright (c) 2004-2018 Artica ST
    Jan 17 10:16:44 magneto pandora_server[20379]: This program is OpenSource, licensed under the terms of GPL License version 2.
    Jan 17 10:16:44 magneto pandora_server[20379]: You can download latest versions and documentation at official web page.
    Jan 17 10:16:44 magneto pandora_server[20379]:   Backgrounding Pandora FMS Server process.
    
    Jan 17 10:16:44 magneto systemd[1]: Started Pandora FMS server daemon.
    $ ps -ef|grep pan
    pandora    524     1  0 Jan14 ?        00:00:00 /usr/bin/perl /usr/bin/tentacle_server -F /etc/tentacle/tentacle_server.conf
    $
    $ sudo /usr/bin/pandora_server /etc/pandora/pandora_server.conf -D
    
    Pandora FMS Server 7.0NG.730 Build 181217 Copyright (c) 2004-2018 Artica ST
    This program is OpenSource, licensed under the terms of GPL License version 2.
    You can download latest versions and documentation at official web page.
    
      Backgrounding Pandora FMS Server process.
    
    
    $ ps -ef|grep pan
    pandora    524     1  0 Jan14 ?        00:00:00 /usr/bin/perl /usr/bin/tentacle_server -F /etc/tentacle/tentacle_server.conf
    root     20399     1  0 10:19 ?        00:00:00 /usr/bin/perl /usr/bin/pandora_server /etc/pandora/pandora_server.conf -D
    

    Good morning nabor, Will look why the systemctl does not work, meanwhile, please use the other methods to start pandoras services. Alberto

    Thank you Alberto, you may also have a look why the auto install script isn't working.

Entra en tu cuenta para publicar.