On Monday 06 November 2006 11:02 am, G. Armour Van Horn wrote:
> I used the RPMs for FC5 and PostgreSQL. The problems seem to relate to
> not being able to connect to PostgreSQL, which is running, so Bacula
> Director does not start.

What exactly is the problem? I'm running bacula and PostgreSQL and I have no 
problems. Is your PostgreSQL running? It listens on 5432 by default:

[EMAIL PROTECTED]:/apps/build/bacula_2006-10-04# netstat -an |grep 5432
tcp        0      0 127.0.0.1:5432          0.0.0.0:*               LISTEN     
tcp        0      0 127.0.0.1:5432          127.0.0.1:44130         
ESTABLISHED
tcp        0      0 127.0.0.1:44130         127.0.0.1:5432          
ESTABLISHED
unix  2      [ ACC ]     STREAM     LISTENING     
11775    /var/run/postgresql/.s.PGSQL.5432

Next check that you can connect to the database as postgres:

[EMAIL PROTECTED]:/apps/build/bacula_2006-10-04# su postgres
[EMAIL PROTECTED]:/apps/build/bacula_2006-10-04$ psql bacula
Welcome to psql 8.1.4, the PostgreSQL interactive terminal.

Type:  \copyright for distribution terms
       \h for help with SQL commands
       \? for help with psql commands
       \g or terminate with semicolon to execute query
       \q to quit

bacula=# \dt
           List of relations
 Schema |     Name     | Type  | Owner  
--------+--------------+-------+--------
 public | basefiles    | table | bacula
 public | cdimages     | table | bacula
 public | client       | table | bacula
 public | counters     | table | bacula
 public | device       | table | bacula
 public | file         | table | bacula
 public | filename     | table | bacula
 public | fileset      | table | bacula
 public | job          | table | bacula
 public | jobmedia     | table | bacula
 public | location     | table | bacula
 public | locationlog  | table | bacula
 public | log          | table | bacula
 public | media        | table | bacula
 public | mediatype    | table | bacula
 public | path         | table | bacula
 public | pool         | table | bacula
 public | status       | table | bacula
 public | storage      | table | bacula
 public | unsavedfiles | table | bacula
 public | version      | table | bacula
(21 rows)

bacula=# \q

If that isn't working, you need to get PostgreSQL working first.

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to