Hello Guest

Author Topic: Error while configuring console. Step 5  (Read 116 times)

0 Members and 1 Guest are viewing this topic.

Offline msanchez

  • Newbie
  • *
  • Posts: 2
  • Karma: 0
    • View Profile
Error while configuring console. Step 5
« on: January 27, 2017, 08:22:29 AM »
Hello,

I am just installing  PandoraFMS v6.0SP5 Build 170120 in a CENTOS 7 machine.
I followed the steps on http://wiki.pandorafms.com/index.php?title=Pandora:Documentation_en:Installing#Initial_Configuration_after_Installation, and I am alrready at the initial console configuration.

However, on step 5, I receive an error on the item "Established privileges for user pandora.", as follows:

Connection with Databaseok
Creating database pandoraok
Opening Database pandoraok
Creating Schemaok
Populating databaseok
Established privileges for user pandora. A new random password has been
 generated: zwhwkixl
Please write it down, you will need to setup your pandora FMS server, editing
the /etc/pandora/pandora_server.conf file
ERROR
Write permissions to save config gile in ./includeok
Created new config gile at include/config.phook

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

https://www.dropbox.com/s/4rh0pa1fai7haff/pandora.PNG?dl=0

The file config.php was created on this step, and the folder include has full permissions.  The database is not created.

How can I solve this issue?

Thank you

Monica

Offline antonio.s

  • Administrator
  • Smart member
  • *****
  • Posts: 288
  • Karma: 2
    • View Profile
Re: Error while configuring console. Step 5
« Reply #1 on: January 30, 2017, 12:43:21 AM »
Hello msanchez,

Make sure that the user that you set on the previous step to create pandora database can connect to the MySQL and has the privileges needed to create the database, otherwise you will get errors.

Kind regards,
Antonio.

Offline msanchez

  • Newbie
  • *
  • Posts: 2
  • Karma: 0
    • View Profile
Re: Error while configuring console. Step 5
« Reply #2 on: February 08, 2017, 01:05:28 PM »
Hello,

I tried with root user, which has all grants to create databases and all. In addition I created a  new user, with all privileges like this:

CREATE USER 'energy'@'localhost' IDENTIFIED BY 'energy123@';
GRANT ALL PRIVILEGES ON * . * TO 'energy'@'localhost';
FLUSH PRIVILEGES;

and it also doesn't work.

What else could be going on?

Thanks