Hey guys,
I had a previous version of BareOS (Nov 2014) running on the machine that does
backups, but after an update to the November 2015 client (which was apparently
unintentional) backups for this install are now failing.
I ran the update scripts to convert the DB from 2003 to 2004 which completed
successfully but ever since it's not been too happy.
24-Nov 03:28 vm-backups1-dir JobId 0: Fatal error: sql_create.c:544
sql_create.c:544 query SELECT ClientId,Uname FROM Client WHERE
Name='vm-backups1-fd' failed:
no connection to the server
24-Nov 03:30 vm-backups1-dir JobId 0: Error: sql_create.c:587 Create DB Client
record INSERT INTO Client (Name,Uname,AutoPrune,FileRetention,JobRetention)
VALUES ('vm-backups1-fd','',0,2592000,15552000) failed. ERR=no connection to
the server
24-Nov 03:31 vm-backups1-dir JobId 0: Fatal error: Could not create Client
record. ERR=Query failed: INSERT INTO Log (JobId, Time, LogText) VALUES
(0,'2015-11-24 03:30:11','vm-backups1-dir JobId 0: Error: sql_create.c:587
Create DB Client record INSERT INTO Client
(Name,Uname,AutoPrune,FileRetention,JobRetention) VALUES
(''vm-backups1-fd'','''',0,2592000,15552000) failed. ERR=no connection to the
server
'): ERR=no connection to the server
It's pretty clear that it's having trouble connecting, but I can't for the life
of me figure out why.
I've made sure Postgres (v8.4) is running, there is a bareos database. The
config file for bareos-dir, bareos-fd, and bareos-sd haven't changed. I've
changed file permissions, I've tried to connect to the database myself.
Running the bareos-dir -t just results in...
23-Nov 16:47 bareos-dir JobId 0: Fatal error: Could not open Catalog
"MyCatalog", database "bareos".
23-Nov 16:47 bareos-dir JobId 0: Fatal error: postgresql.c:246 Unable to
connect to PostgreSQL server. Database=bareos User=bareos
Possible causes: SQL server not running; password incorrect; max_connections
exceeded.
23-Nov 16:47 bareos-dir ERROR TERMINATION
Le help please? What additional info/configs would you guys like?
Cheers,
- Mark
--
You received this message because you are subscribed to the Google Groups
"bareos-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
For more options, visit https://groups.google.com/d/optout.