On Tue, Jul 8, 2014 at 4:30 AM, antonio.mannatzu <amanna...@arces.unibo.it> wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > hi, > > here my steps: > > - - -bash-4.1$ psql bacula > psql: FATAL: database "bacula" does not exist > DETAIL: The database subdirectory "base/16386" is missing. > > so rename DB: > ALTER DATABASE bacula RENAME TO bacula_corrupt; > > recreate db: > - -bash-4.1$ /etc/alternatives/create_bacula_database > Creating PostgreSQL database > CREATE DATABASE > ALTER DATABASE > Creation of bacula database succeeded. > Database encoding OK > > > > recreate tables: > /etc/alternatives/make_bacula_tables > Making PostgreSQL tables > ...... > ...... > Creation of Bacula PostgreSQL tables succeeded. > > > - -bash-4.1$ /etc/alternatives/grant_bacula_privileges > Granting PostgreSQL privileges > psql:<stdin>:2: ERROR: role "bacula" already exists > > > any hint? > Maybe hand edit the /etc/alternatives/grant_bacula_privileges file to continue instead of exit.
John ------------------------------------------------------------------------------ Open source business process management suite built on Java and Eclipse Turn processes into business applications with Bonita BPM Community Edition Quickly connect people, data, and systems into organized workflows Winner of BOSSIE, CODIE, OW2 and Gartner awards http://p.sf.net/sfu/Bonitasoft _______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users