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

Is an error in the installation script, creates an infinite loop, every time you access the install.php the script deletes the database and creates a new one.


To solve this, do the following steps:

  1. Access the database.
    Code:
    mysql -u user -p

  2. Delete and create the Pandora database.
    Code:
    drop database pandora;

    create database pandora;

  3. Access it.
    Code:
    use pandora;

  4. Create the Pandora structure.
    Code:
    source /var/www/html/pandora_console/pandoradb.sql

  5. Insert data into this structure.
    Code:
    source /var/www/html/pandora_console/pandoradb_data.sql

  6. Exit the database and modify the /etc/pandora/pandora_server.conf file.

In /var/www/html/pandora/include/ you have to have the config.php file with the parameters of access to the database, modify them if is necessary.


Finally, modify the name of the file install.php and access to the console with address-ip/pandora_console/

Best regards,

vic.
 Reply
#12
Hi VIC

with the above I was able to enter the pandora admin interface through the browser, however I can not add agents, due to the start the pandora service on my server I get the following error: (screenshot)

Thanks for all the help!

(09-29-2017, 08:00 AM)Dear, vicI managed to solve the problem, it works perfect, thanks for everything! 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_075.png (Size: 78.79 KB / Downloads: 1)
 Reply
#13
Hi hvargas,

Can you show me the last content of the Pandora server log?

Best regards,

vic.
 Reply
#14
(09-28-2017, 02:57 PM)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.

Hi Vic,

Thank you, this method allowed me to finish the installation of pandora console.

But after the installation of pandora server and since pandora_server is running, http://localhost/pandora_cosole and http://localhost/pandora_console/index.php are displayed as empty.

Can you help me for this problem too?
 Reply
#15
Hi Pierre,

Are the services up?
Before of the installation, you have to put http://localhost/pandora_console/ in the URL.
If the screen is empty, delete the cache of your browser.
If it doesn't work, show the contents of the registry file of the pandora console.

Best regards,

vic.
 Reply
#16
(10-09-2017, 11:33 AM)vic Wrote: Hi Pierre,

Are the services up?
Before of the installation, you have to put http://localhost/pandora_console/ in the URL.
If the screen is empty, delete the cache of your browser.
If it doesn't work, show the contents of the registry file of the pandora console.

Best regards,

vic.

Hi Vic,
Finalement ça fonctionne, thank you for you help.
 Reply


Users browsing this thread: 1 Guest(s)


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

Theme © MyBB Themes