Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Installation Script Problems
#1
Dear All,

I try to install Pandora Console and Pandora Server from the pandora.repo at my virtual RHEL6.7 server. The server is hosted on VMWare ESX. Installation from the repository goes fine, but after accessing http://,server-ip/pandora_console/install.php?step=4 things start to look as an Gordian Knot. Especially the following message:

  Creating database and default configuration file
  Connection with Database
  Creating database 'pandora'
  Opening database 'pandora'
  Creating schema
  Populating database
  Established privileges for user pandora. A new random password has been generated: ssuyrprf
  Please write it down, you will need to setup your Pandora FMS server, editing the /etc/pandora/pandora_server.conf file

  Write permissions to save config file in './include'
  Created new config file at 'include/config.php'
  There were some problems. Installation was not completed.

  Please correct failures before trying again. All database schemes created in this step have been dropped.

is very mind-boggling, how can I adjust the pandora_server.conf file on forehand to avoid a database acces problem, while I do not know the generated password for pandora. Why is the script dropping the new database? I haven't be able to adjust the pandora_server.conf file yet!!!
Can you give some tips or hints how to solve this installer issue. I've seen this issue with Pandora 5.1SP4 and 6.0.

Thanks in advance,
Robert Koote
 Reply
#2
Hello Robert,

There's no problem with the installation itself, we couldn't replicate your issue.

Could you attach screenshots from your installation process?

At step four you are writing down the pass from your mysql installation, don't you?

Regards,
Emilio.
 Reply
#3
i´m having the same issue. I followed all the steps to install pandora, but on step 5/6 all balloons get in green but drops database and returns the following message:

There were some problems. Installation was not completed.
Please correct failures before trying again. All database schemes created in this step have been dropped.


I'm using to connect to data base a user cloned from user root and i see how DDBB is created. The MySQL server is in another machine.

Thank you
 Reply
#4
I'm having a similar problem its failing on the create schema and populate database. Above it shows "Invalid default value for 'last_pass_change'. This is rather frustrating because one would think the creators of the script put in the correct default values. Please advise
 Reply
#5
Hi lubabalo,

Can you show me a screenshot of the error?

Best regards,

vic.
 Reply
#6
Hi,

I think i have the same error on OpenSuse 42.2
Itried to install pandora 7 and 7.12 but I have same result.
Can you help me?
Thank you.


Attached Files


.jpg   Pandora FMS error.JPG (Size: 154.22 KB / Downloads: 22)
 Reply
#7
Hi Pierre,

Can you find this file "my.cnf" on the mysql folder?
Edit the file and add this:
Code:
[mysqld]
sql_mode=NO_ENGINE_SUBSTITUTION

Then restart the mysql service.

Best regards,

vic.
 Reply
#8
(09-28-2017, 02:57 PM)Hola VIC, estoy instalando Pandora en mi servidor y este foro me ayudo a solucionar un problema, pero ahora tengo otro. me puedes ayudar?gracias de antemano vic Wrote: Hi Pierre,

Can you find this file "my.cnf" on the mysql folder?
Edit the file and add this:
Code:
[mysqld]
sql_mode=NO_ENGINE_SUBSTITUTION

Then restart the mysql service.

Best regards,

vic.


Attached Files


.png   Selección_053.png (Size: 36.05 KB / Downloads: 26)
 Reply
#9
Hi hvargas,

Can you check the permissions of these folders?

/var/www/html/pandora_console/include
Code:
drwxr-xr-x. apache apache include

/etc/pandora/pandora_console/
Code:
drwxr-xr-x. pandora root pandora

File in /etc/pandora/pandora_console/pandora_server.conf
Code:
-rw-r--r-- root root pandora_server.conf

Best regards,

vic.
 Reply
#10
Hello VIC,

Thanks for your answer, I checked the permissions of the directories and they are fine, but the problem persists Sad .. I attach screenshots

(09-29-2017, 08:00 AM)vic Wrote: Hi VIC,

Thanks for your answer, I checked the permissions of the directories and they are fine, but the problem persists Sad ... I attach screenshots.


Hi hvargas,

Can you check the permissions of these folders?

/var/www/html/pandora_console/include
Code:
drwxr-xr-x. apache apache include

/etc/pandora/pandora_console/
Code:
drwxr-xr-x. pandora root pandora

File in /etc/pandora/pandora_console/pandora_server.conf
Code:
-rw-r--r-- root root pandora_server.conf

Best regards,

vic.

(09-29-2017, 08:00 AM)Dear VIC, vic I managed to resolve permissions in .include, but I continued with this error Wrote: Hi hvargas,

Can you check the permissions of these folders?

/var/www/html/pandora_console/include
Code:
drwxr-xr-x. apache apache include

/etc/pandora/pandora_console/
Code:
drwxr-xr-x. pandora root pandora

File in /etc/pandora/pandora_console/pandora_server.conf
Code:
-rw-r--r-- root root pandora_server.conf

Best regards,

vic.


Attached Files


.png   Selección_056.png (Size: 135.91 KB / Downloads: 16)
.png   Selección_056.png (Size: 135.91 KB / Downloads: 12)
.png   Selección_057.png (Size: 30.59 KB / Downloads: 13)
 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