Welcome to Pandora FMS Community!

Find answers, ask questions, and connect with our community around the world.

Bienvenido a la comunidad de Pandora FMS Forums Community support Error connecting database in init Phase. Aborting startup

  • Error connecting database in init Phase. Aborting startup

    Posted by sync_noc on noviembre 30, 2006 at 13:10

    Can anyone please help with this error message? Im running redhat 9 and everytime i want to start pandora it came up with “Error connecting database in init Phase. Aborting startup”. DBI and DBD::mysql already installed too.

    sync_noc replied 18 years, 3 months ago 2 Members · 2 Replies
  • 2 Replies
  • raul

    Member
    noviembre 30, 2006 at 16:11
    0 Karma points
    Community rank: tentacle-noob-1 Tentacle noob
    Like it
    Up
    0
    Down
    Drop it
    ::

    Can anyone please help with this error message? Im running redhat 9 and everytime i want to start pandora it came up with “Error connecting database in init Phase. Aborting startup”. DBI and DBD::mysql already installed too.

    You have to install MySQL 😀 and review that the port 3306 is open and that you have created the user that connects to the database (take a look at the .conf/pandora_server.conf file:

    [code:1]pandora_server.conf

    ###################################################################################
    # Pandora Server Parameters, please change it for your setup needs
    ###################################################################################

    # Servername: Name of this server
    servername localhost

    # incomingdir: Defines directory where incoming data packets are stored
    # You could set directory relative to base path or absolute, starting with /
    incomingdir /var/spool/pandora/data_in

    # log_file: Main logfile for pandora_server
    # You could set file relative to base path or absolute, starting with /
    log_file ./log/pandora_server.log

    # Error logfile: aux logfile for pandora_server errors (in Daemon mode)
    # You could set file relative to base path or absolute, starting with /
    errorlog_file ./log/pandora_server.error

    # dbuser: Database user name (pandora by default)
    dbuser pandora

    # daemon: Runs in daemon mode (background) if 1, if 0 runs in foreground
    # this could be setup on command line with -D option
    # NEW in pandora 1.2, default is 0
    # daemon 1

    # dbpass: Database password
    dbpass pandora

    # dbhost: Database hostname or IP address
    dbhost localhost

    Raul

  • sync_noc

    Member
    diciembre 1, 2006 at 00:56
    0 Karma points
    Community rank: tentacle-noob-1 Tentacle noob
    Like it
    Up
    0
    Down
    Drop it
    ::

    hi, mysql installed and web console already running of it too. is there anyway i can test perl connection to mysql?