Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Cannot Start Pandora FMS Server Aborted with no logs
#1
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.


.png   Capture.PNG (Size: 14.87 KB / Downloads: 17)


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


.png   Capture2.PNG (Size: 40.22 KB / Downloads: 9)


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

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

Best regards,

vic.
 Reply
#3
(08-01-2017, 08:56 AM)vic Wrote: 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.


.png   Aborted.PNG (Size: 38.3 KB / Downloads: 8)


.png   server.error.PNG (Size: 40.75 KB / Downloads: 8)


.png   server.log.png (Size: 86.94 KB / Downloads: 6)
 Reply
#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)
Code:
mysql -u user -p

Code:
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.
 Reply
#5
(08-03-2017, 11:23 AM)vic Wrote: 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)
Code:
mysql -u user -p

Code:
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.

Code:
http://FMSServerIP/pandora_console/install.php
http://FMSServerIP/pandora_console
 Reply
#6
Hi ryanch81,

You need start the httpd service that it's necessary for use the pandora console.
Code:
service httpd start

You have must started the following services:

tentacle_server
mysql
pandora_agent_daemon
pandora_server

Best regards,

vic.
 Reply
#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/
 Reply
#8
Hello,

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


.png   Agent.PNG (Size: 18.67 KB / Downloads: 5)

And according to this the httpd service is running.


.png   HTTPd.PNG (Size: 67.51 KB / Downloads: 5)

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

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

http://FMSServerIP/pandora_console

Any suggestions?
 Reply
#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.

Code:
/etc/httpd/logs/error_log

Best regards

vic.
 Reply
#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.


.png   console update.PNG (Size: 13.56 KB / Downloads: 7)
 Reply


Users browsing this thread: 1 Guest(s)


(c) 2006-2018 Artica Soluciones Tecnológicas. Contents of this wiki are under Create Common Attribution v3 licence. | pandorafms.com | pandorafms.org

Theme © MyBB Themes