FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > CentOS > CentOS

 
 
LinkBack Thread Tools
 
Old 02-15-2011, 10:27 PM
Johnny H
 
Default Bacula

Dear all,
I get a message from root as follows;

09-Feb 11:26 bacula-dir JobId 0: Fatal error: Could not open Catalog
"MyCatalog", database "bacula".
09-Feb 11:26 bacula-dir JobId 0: Fatal error: postgresql.c:227 Unable
to connect to PostgreSQL server. Database=bacula User=bacula
Possible causes: SQL server not running; password incorrect;
max_connections exceeded.
09-Feb 11:26 bacula-dir ERROR TERMINATION
Please correct configuration file: /etc/bacula/bacula-dir.conf

Does anyone know how to check if the database for bacula exists and
how to start it?

I would like to know how to view tape archives?

Thank you if anyone can help.

John.
_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
 
Old 02-15-2011, 10:36 PM
John R Pierce
 
Default Bacula

On 02/15/11 3:27 PM, Johnny H wrote:
> Does anyone know how to check if the database for bacula exists and
> how to start it?
>

# su - postgres
$ psql -l

that should list a bacula database. if it says postgres isn't running,
then...

$ ^D
# service postgresql start

then try the above steps again.

if postgresql won't start, find the postgres data directory, typically
/var/lib/pgsql/data on centos system unless you built or installed a
custom postgres, and look in pg_log/* for the latest logfile, and see
what it says.

on some older versions, its 'server.log' in the data dir, instead of
pg_log/*.log


_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
 

Thread Tools




All times are GMT. The time now is 07:54 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org