Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[Solved] (Database) Problems starting pandora server
#1
I'm having an issue starting the pandora server, running it on ubuntu 10.04. I thought I had all the dependencies installed but I'm unsure of how to check.

here's my console log and error files.

Console:
Code:
[email protected]:~$ sudo /etc/init.d/pandora_server status
Pandora FMS Server is not running.
[email protected]:~$ sudo /etc/init.d/pandora_server start

Pandora FMS Server 3.0 Build 091216 Copyright (c) 2004-2009 ArticaST
This program is OpenSource, licensed under the terms of GPL License version 2.
You can download latest versions and documentation at http://www.pandorafms.org

[*] Pandora FMS Enterprise module not available.
[*] Backgrounding Pandora FMS Server process.

Cannot start Pandora FMS Server. Aborted.
Check Pandora FMS log files at '/var/log/pandora/pandora_server.error & pandora_server.log'
[email protected]:~$

pandora_server.error
Code:
2010-05-12 11:09:00 - sdsrv05-linux Starting Pandora FMS Server. Error logging activated.
DBI connect('pandora:localhost:3306','pandora',...) failed: Access denied for user 'pandora'@'localhost' (using password: YES) at /usr/local/share/perl/5.10.1/PandoraFMS/DB.pm line 55


pandora_server.log
Code:
2010-05-12 11:09:00 sdsrv05-linux [V1] Launching 3.0 091216
2010-05-12 11:09:00 sdsrv05-linux [V1] Config options: Logfile at /var/log/pandora/pandora_server.log, Basepath is /etc/pandora/pandora_server.conf, Checksum is 0, Master is 1, SNMP Console is 1, Server Threshold at 1 sec, verbosity at 1, Alert Threshold at 60, ServerName is 'sdsrv05-linux'
2010-05-12 11:09:00 sdsrv05-linux [V1] Pandora FMS Server 'sdsrv05-linux' unhandled error.
2010-05-12 11:09:00 sdsrv05-linux [V1] [E] 'sdsrv05-linux': Can't locate PandoraFMS/Enterprise.pm in @INC (@INC contains: /etc/perl /usr/local/lib/perl/5.10.1 /usr/local/share/perl/5.10.1 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.10 /usr/share/perl/5.10 /usr/local/lib/site_perl .) at (eval 15) line 1.

2010-05-12 11:09:00 sdsrv05-linux [V1] Pandora FMS Server 'sdsrv05-linux' unhandled error.
2010-05-12 11:09:00 sdsrv05-linux [V1] [E] 'sdsrv05-linux': DBI connect('pandora:localhost:3306','pandora',...) failed: Access denied for user 'pandora'@'localhost' (using password: YES) at /usr/local/share/perl/5.10.1/PandoraFMS/DB.pm line 55

any help would be much appreciated.
 Reply
#2
nevermind, got it worked out. I'll post my fix in case others have the same issue.


Apparently I never updated my dbase password in my pandora_server.conf as stated in this post:

http://openideas.info/vanilla/comments.p...sionID=626


i also had to run thi found on the faq page.

Quote:Can't locate PandoraFMS/DB.pm on Debian after install Pandora FMS 3.0

A: It seems to be a problem detecting the perl version to solve it just copy it, for example:

# cp /usr/local/share/perl/5.10.0 /usr/local/share/perl/5.10.1 -R

Retrieved from "http://openideas.info/wiki/index.php?title=Pandora:FAQ"
 Reply
#3
Great, thanks for posting.
 Reply
#4
the url that you mention in above is not exist now.
Code:
http://openideas.info/vanilla/comments.php?DiscussionID=626
 
 Reply
#5
I lost my automatically generated password during installation, so when I needed to put it in the dbpass field of /etc/pandora/pandora_server.conf, I changed it in mysql to something I knew. That broke the interface, so I had to then update /var/www/html/pandora_console/include/config.php to match.
 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