Pages: [1]   Go Down
Author Topic: Error connecting database in init Phase. Aborting startup  (Read 259 times)
0 Members and 1 Guest are viewing this topic.
sync_noc
Newbie
*

Karma: 0
Offline Offline

Posts: 3


View Profile
« on: November 30, 2006, 10:10:32 AM »

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.
« Last Edit: January 01, 1970, 01:00:00 AM by sync_noc » Logged

raul
Administrator
Expert member
*****

Karma: 1
Offline Offline

Posts: 576



View Profile
« Reply #1 on: November 30, 2006, 01:11:19 PM »

Quote from: "sync_noc"
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 :-D 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
[/code]


Raul
« Last Edit: January 01, 1970, 01:00:00 AM by raul » Logged

sync_noc
Newbie
*

Karma: 0
Offline Offline

Posts: 3


View Profile
« Reply #2 on: November 30, 2006, 09:56:09 PM »

hi, mysql installed and web console already running of it too. is there anyway i can test perl connection to mysql?
« Last Edit: January 01, 1970, 01:00:00 AM by sync_noc » Logged

Pages: [1]   Go Up
Print
 
Jump to:  


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