[CentOS] Bacula

Tue Feb 15 23:36:46 UTC 2011
John R Pierce <pierce at hogranch.com>

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