Package: bacula-director-pgsql
Version: 1.38.11-8

Installing the package without having postgresql installed first gets
it to do the following:
---
tartaros:~# apt-get install bacula-director-pgsql bacula-sd bacula-fd
Reading package lists... Done
Building dependency tree... Done
The following extra packages will be installed:
  bacula-common bacula-director-common dbconfig-common libpq4
libsqlite3-0 mime-support mtx postgresql-client-8.1
  postgresql-client-common python python-minimal python2.4
python2.4-minimal sqlite3 ucf
Suggested packages:
  bacula-doc postgresql-contrib postgresql-doc bacula-traymonitor
dds2tar scsitools sg3-utils virtual-mysql-client
  mysql-client postgresql-client postgresql-doc-8.1 python-doc
python-tk python-profiler python2.4-doc sqlite3-doc
Recommended packages:
  postgresql-8.1 postgresql-8.0 postgresql mt-st bacula-sd-tools file
debconf-utils
The following NEW packages will be installed:
  bacula-common bacula-director-common bacula-director-pgsql bacula-fd
bacula-sd dbconfig-common libpq4 libsqlite3-0
  mime-support mtx postgresql-client-8.1 postgresql-client-common
python python-minimal python2.4 python2.4-minimal sqlite3
  ucf
---

resulting in the following errors:

---
Setting up bacula-director-pgsql (1.38.11-8) ...
dbconfig-common: writing config to
/etc/dbconfig-common/bacula-director-pgsql.conf

Creating config file /etc/dbconfig-common/bacula-director-pgsql.conf
with new version
chown: `postgres': invalid user
unable to connect to postgresql server.
error encountered creating user:
Unknown id: postgres
dbconfig-common: bacula-director-pgsql configure: trying again (skip
questions).
dbconfig-common: writing config to
/etc/dbconfig-common/bacula-director-pgsql.conf
chown: `postgres': invalid user
unable to connect to postgresql server.
error encountered creating user:
Unknown id: postgres
dbconfig-common: bacula-director-pgsql configure: aborted.
dbconfig-common: flushing administrative password
chown: `postgres': invalid user
unable to connect to postgresql server.
error encountered creating database:
Unknown id: postgres
dbconfig-common: bacula-director-pgsql configure: aborted.
dbconfig-common: flushing administrative password
populating database via administrative sql...  chown: `postgres':
invalid user
error encountered populating database with administrative sql:
Unknown id: postgres
dbconfig-common: bacula-director-pgsql configure: aborted.
dbconfig-common: flushing administrative password
done.
populating database via sql...  error encountered populating database:
psql: could not connect to server: Connection refused Is the server
running on host "localhost" and accepting TCP/IP connections on port 5432?
dbconfig-common: bacula-director-pgsql configure: aborted.
dbconfig-common: flushing administrative password
done.
dbconfig-common: flushing administrative password
Processing configuration ...Ok.
Starting Bacula Director: 13-Aug 12:31 bacula-dir:  Fatal error: Could
not open Catalog "MyCatalog", database "bacula".
13-Aug 12:31 bacula-dir:  Fatal error: postgresql.c:168 Unable to
connect to PostgreSQL server.
Database=bacula User=bacula
It is probably not running or your password is incorrect.
13-Aug 12:31 bacula-dir ERROR TERMINATION
Please correct configuration file: /etc/bacula/bacula-dir.conf
failed.

Setting up mtx (1.2.17rel-2) ...

---

installing postgresql-8.1 manually then pulled a few more packages:

--
tartaros:~# apt-get install postgresql
Reading package lists... Done
Building dependency tree... Done
The following extra packages will be installed:
  openssl postgresql-7.4 postgresql-client postgresql-client-7.4
postgresql-common ssl-cert
Suggested packages:
  ca-certificates postgresql-doc-7.4
Recommended packages:
  postgresql-plpython-7.4 postgresql-plperl-7.4 postgresql-pltcl-7.4
The following NEW packages will be installed:
  openssl postgresql postgresql-7.4 postgresql-client
postgresql-client-7.4 postgresql-common ssl-cert

---

after that and reconfiguring the packaged it worked.
still the passwords weren't set up correctly as the setup questions
suggested it would be.



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to