Pandora FMS Community

[Solved] (Database) Problems starting pandora server

motzilla · 12 may 2010, 22:21 · 5 mensajes · 68 visitas

  1. Inicio del debate

    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:

    
    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

    
    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

    
    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.

  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: (Link not available anymore) i also had to run thi found on the faq page.

    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 "(Link not available anymore)"

  3. Great, thanks for posting.

  4. the url that you mention in above is not exist now.

    http://openideas.info/vanilla/comments.php?DiscussionID=626
    
  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.

Entra en tu cuenta para publicar.