Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Upgrading from 7.718 to 7.727 in Centos Pandora ISO.
(10-02-2018, 11:34 AM)alberto.sanchez Wrote:
(10-01-2018, 09:47 AM)saleh Wrote:
(10-01-2018, 09:00 AM)alberto.sanchez Wrote:
(10-01-2018, 05:03 AM)saleh Wrote: Hi

I've deployed pandora iso version 718, and trying to upgrade it to version 727, using the following commands, yet it  fails to start pandora server after im done:

   14  systemctl stop pandora_server
   15  systemctl stop tentacle_serverd
   16  systemctl stop httpd
   17  systemctl stop pandora_agent
   18  systemctl stop mysqld
   19  rpm -U pandorafms_console-7.0NG.727-1.noarch.rpm
   20  rpm -U pandorafms_server-7.0NG.727-1.noarch.rpm
   21  rpm -i perl-Geo-IP-1.43-3.el7.x86_64.rpm
   22  rpm -U pandorafms_server-7.0NG.727-1.noarch.rpm
   24  systemctl start mysqld
   25  systemctl start pandora_agent
   26  systemctl start httpd
   27  systemctl start tentacle_serverd
   28  systemctl daemon-reload
   29  systemctl start pandora_server

Note: both config.php and pandora_server.conf are similar and saw no point in restoring them.
here are the logs of the new server after the starting pandora server fails:
attached the logs

Good morning saleh,

As we can see first off all, next time try to start the Pandora server before you start de agent.

Secondly, we can see in the logs that the problem is in the connection of the server with the database. Can you please try to log in the database with the credentials of the .conf of the server?

Best regards,


I cant login to DB, strange, I was able to; before the upgrade!, now I'm getting this error:

ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)

Good morning saleh,

There are 2 possible solutions to your problem:

1- Install Pandora 727 with the ISO, doing a previous backup of the different ".conf" that you can use after.
2- Try to log to the database with: user->root pass->pandora. If this makes you access to the database, you only have to  change that info in the .conf of the server anc config.php. Remember to start the services with this order:
  • Mysql
  • Httpd(apache)
  • Console
  • Pandora Server
  • Pandora Agent.
Best regards,


I can't log in using root in 727.

Let me back a little bit, first I had production server running 718, using Pandora Docs, I backed up everything, alongside the DB; like so:
mysqldump -u root -p pandora > backup_pandora_X.Y.sql
Note: notice using root to login.
on lap running 2 vms, first 718, i restored the DB to it and upgraded to 727, second vm; 727 i directly restored the DB to it.
in booth cases pandora server gives errors, furthermore, i changed DB username to root in both vm, still getting error, changes made in config.php and pandora_server.conf.
Note: how to stop and start the console??

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

Theme © MyBB Themes