Pages: [1]   Go Down
Author Topic: [Solved] (Database) Problems starting pandora server  (Read 1276 times)
0 Members and 1 Guest are viewing this topic.
motzilla
Newbie
*

Karma: 0
Offline Offline

Posts: 2


View Profile
« on: May 12, 2010, 07:21:47 PM »

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:
administrator@sdsrv05-linux:~$ sudo /etc/init.d/pandora_server status
Pandora FMS Server is not running.
administrator@sdsrv05-linux:~$ 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'
administrator@sdsrv05-linux:~$

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.
« Last Edit: June 13, 2010, 01:29:15 PM by Sancho Lerena » Logged

motzilla
Newbie
*

Karma: 0
Offline Offline

Posts: 2


View Profile
« Reply #1 on: May 12, 2010, 08:53:28 PM »

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.php?DiscussionID=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"

« Last Edit: May 12, 2010, 09:02:41 PM by motzilla » Logged

Sancho Lerena
Administrator
Expert member
*****

Karma: 24
Offline Offline

Posts: 1151


I can see everything... with my glasses :-)


View Profile WWW
« Reply #2 on: June 13, 2010, 01:28:37 PM »

Great, thanks for posting.
Logged

-- See you in the other screen.

Pages: [1]   Go Up
Print
 
Jump to:  


SourceForge.net Logo  This site is monitored by Pandora FMS   ArticaST