Pandora FMS Community

Error connecting database in init Phase

dranach · 19 oct 2008, 16:49 · 10 mensajes · 50 visitas

  1. Inicio del debate

    Hello, I have following problem when I start pandora_server: [...] Pandora FMS Data Server 2.0 Build PS081014 Copyright (c) 2004-2008 ArticaST This program is OpenSource, licensed under the terms of GPL License version 2. You can download latest versions and documentation at (Link not available anymore) Server basepath is /etc/pandora/pandora_server.conf

    • Server logfile at /var/log/pandora/pandora_server.log
    • Server errorlogfile at /var/log/pandora/pandora_server.error
    • Server incoming directory at /var/spool/pandora/data_in
    • Server keepalive 45
    • Server threshold 5
    • You are running Pandora FMS Data Server.
    • This server is running in MASTER mode.
      [ERROR] Error connecting database in init Phase. Aborting startup. DBI connect('pandora:localhost:3306','pandora',...) failed: Access denied for user 'pandora'@'localhost' (using password: YES) at /usr/local/share/perl/5.8.8/PandoraFMS/Config.pm line 518 Cannot start Pandora FMS Data Server. Aborted. # Is there anyone who can help me solve this problem? Everything else is, I guess, correctly configured (I get data in my 'data_in' folder). Unfortunately I'm not very knowledgeable on databases :( Any help is greatly appreciated.
  2. I'm sorry, problem solved. Please disregard my question..

  3. amini, I had this same problem but could not figure it out. How did you solve it?

  4. Ok, let's go step by step How did you install the console? Did you use the wizard? If so, you have to have the file /var/www/pandora_console/include/config.php where you can find the password. That password has to be put in /etc/pandora/pandora_server.conf

  5. The solution to my problem was actually quite simple: I had to (manually) start all my servers... For some reason they didn't start automatically, but now they do.

  6. Yes, you always need to start them manually once you installed everything. If you used the installer, they will start automatically every time you restart the server (in case you needed to)

  7. Hello Manu, Indeed, it is like you say.. I still have one small related problem, though, but not so urgent (or important for the moment): When I start the Pandora FMS server, all the servers come up, but right after pandora_plugin goes down. But each time it goes down, I do a manual start for the plugin-server, it comes back up, and stays up. Strange problem, but like I said, not so urgent because I'm not using any plugins right now. Besides, this is a testing installation, that's why I shut evertything down when I'm done for the day. So, if I should have to restart it manually and afterwards it stays up, it really wouldn't be such a big deal.. Toni

  8. Hi, try to do this: /usr/local/bin/pandora_plugin /etc/pandora/pandora_server.conf Now we'll be able to see what it says when it dies

  9. I get the following: Pandora FMS Plugin Server 2.0 Build PS081014 Copyright (c) 2004-2008 ArticaST This program is OpenSource, licensed under the terms of GPL License version 2. You can download latest versions and documentation at (Link not available anymore) Server basepath is /etc/pandora/pandora_server.conf

    • Server logfile at /var/log/pandora/pandora_server.log
    • Server errorlogfile at /var/log/pandora/pandora_server.error
    • Server incoming directory at /var/spool/pandora/data_in
    • Server keepalive 45
    • Server threshold 5
    • You are running Pandora FMS Plugin Server.
    • This server is running in MASTER mode.
    • Pandora FMS Server [pandora_Plugin] is running and operative
    • Starting up Plugin Consumer Thread # 0
    • Starting up Plugin Consumer Thread # 1
    • All threads loaded and running
    • Starting up Plugin Consumer Thread # 2
    • Starting up Plugin Producer Thread ...
      Toni
  10. Yeah, but now till wait it crashes and we'll see what the error is

Entra en tu cuenta para publicar.