On 5/2/2019 7:14 AM, Gary Stainburn wrote:
A few months back, the server running my Director and main storage died. I
managed to boot using a live CD and successfully copied everything onto a new
Centos 7 box. I restored the latest database backup, copied the config files
and rsynced the storage.
Amazingly all just continued to work. More amazing seeing as the failed box was
a Fedora 19 setup and wa quite old.
The only problem is I have a small number of large jobs that are constantly
failing. Everything appears to work fine, and the client status shows the job
as completed OK. See below.
However, the job itself fails, and gets rescheduled. In the case I'm looking at
it keeps running a 18GB backup.
In order to try to narrow down the problem, as well as aid job scheduling I
have set up a new storage device and pointed this job at that, but it has not
made any difference. Looking at the log file, I see two things
Firstly, error messages about accessing the new storage folder and backup
volumes. This is odd as the backup is being successfully written to this
device. See below.
Secondly, the job appears to be trying to connect to the FD once the job is
complete and is then failing. I don't konw why this is the case.
Does anyone have any suggestions of what I can do to fix this?
The full job log is available at https://www1.ringways.co.uk/bacula.log
I'm running standard Centos 7 RPM's.
bacula-console-bat-5.2.13-23.1.el7.x86_64
bacula-libs-5.2.13-23.1.el7.x86_64
bacula-console-5.2.13-23.1.el7.x86_64
bacula-common-5.2.13-23.1.el7.x86_64
bacula-storage-5.2.13-23.1.el7.x86_64
bacula-libs-sql-5.2.13-23.1.el7.x86_64
bacula-client-5.2.13-23.1.el7.x86_64
bacula-director-5.2.13-23.1.el7.x86_64
postgresql-docs-9.2.24-1.el7_5.x86_64
postgresql-upgrade-9.2.24-1.el7_5.x86_64
postgresql-contrib-9.2.24-1.el7_5.x86_64
postgresql-devel-9.2.24-1.el7_5.x86_64
postgresql-9.2.24-1.el7_5.x86_64
postgresql-server-9.2.24-1.el7_5.x86_64
postgresql-plperl-9.2.24-1.el7_5.x86_64
postgresql-libs-9.2.24-1.el7_5.x86_64
storage direcortory
*******************
According to the job log, the permissions on these volume files do not
allow the bacula-sd daemon r/w access. Determine what user:group
bacula-sd is running as and either change the volume file permissions or
else change the user:group that bacula-sd runs as.
[root@lou bacula]# ls -ld crownest/ crownest/*
drwxr-xr-x. 2 bacula bacula 4096 May 2 10:38 crownest/
-rw-r-----. 1 bacula tape 5368688828 Apr 30 17:20 crownest/crownest72930
-rw-r-----. 1 bacula tape 5368688851 Apr 30 17:21 crownest/crownest72931
-rw-r-----. 1 bacula tape 5368688789 Apr 30 17:21 crownest/crownest72932
-rw-r-----. 1 bacula tape 5368669086 Apr 30 21:03 crownest/crownest72933
-rw-r-----. 1 bacula tape 5368676895 Apr 30 22:59 crownest/crownest72934
-rw-r-----. 1 bacula tape 5368688828 Apr 30 23:00 crownest/crownest72935
-rw-r-----. 1 bacula tape 5368688851 Apr 30 23:01 crownest/crownest72936
-rw-r-----. 1 bacula tape 5368688795 Apr 30 23:01 crownest/crownest72937
-rw-r-----. 1 bacula tape 5368696610 May 1 04:24 crownest/crownest72938
-rw-r-----. 1 bacula tape 5368688851 May 1 04:25 crownest/crownest72939
-rw-r-----. 1 bacula tape 5368688851 May 1 04:26 crownest/crownest72940
-rw-r-----. 1 bacula tape 5368696566 May 1 14:03 crownest/crownest72941
-rw-r-----. 1 bacula tape 5368688838 May 1 14:04 crownest/crownest72942
-rw-r-----. 1 bacula tape 5368688851 May 1 14:04 crownest/crownest72943
-rw-r-----. 1 bacula tape 5368688801 May 1 14:05 crownest/crownest72944
-rw-r-----. 1 bacula tape 5368701109 May 1 16:13 crownest/crownest72945
-rw-r-----. 1 bacula tape 5368688850 May 1 16:14 crownest/crownest72947
-rw-r-----. 1 bacula tape 5368688851 May 1 16:14 crownest/crownest72948
-rw-r-----. 1 bacula tape 5368647060 May 1 23:38 crownest/crownest72949
-rw-r-----. 1 bacula tape 5368654487 May 2 00:29 crownest/crownest72950
-rw-r-----. 1 bacula tape 5368659375 May 2 08:28 crownest/crownest72951
-rw-r-----. 1 bacula tape 5368688850 May 2 08:29 crownest/crownest72952
-rw-r-----. 1 bacula tape 5368688845 May 2 08:30 crownest/crownest72953
-rw-r-----. 1 bacula tape 5368662716 May 2 08:52 crownest/crownest72954
-rw-r-----. 1 bacula tape 5368671066 May 2 10:37 crownest/crownest72955
-rw-r-----. 1 bacula tape 5368688850 May 2 10:37 crownest/crownest72956
-rw-r-----. 1 bacula tape 5368688851 May 2 10:38 crownest/crownest72957
-rw-r-----. 1 bacula tape 2391406983 May 2 10:38 crownest/crownest72958
[root@lou bacula]# pwd
/var/bacula
[root@lou bacula]#
Client Status
***********
*status client=lsaless-fd
Connecting to Client lsaless-fd at 10.3.3.3:9102
esales4-fd Version: 5.2.10 (28 June 2012) VSS Linux Cross-compile Win64
Daemon started 02-May-19 10:38. Jobs: run=0 running=0.
Microsoft Windows 7 Professional Service Pack 1 (build 7601), 64-bit
Heap: heap=0 smbytes=239,813 max_bytes=262,885 bufs=409 max_bufs=438
Sizeof: boffset_t=8 size_t=8 debug=0 trace=1
Running Jobs:
JobId 296537 Job lsaless.2019-05-01_19.05.15_19 is running.
VSS Full Backup Job started: 02-May-19 11:36
Files=2,051 Bytes=4,696,598,304 Bytes/sec=2,865,526 Errors=0
Files Examined=2,051
Processing file: C:/Users/user1/AppData/Local/Microsoft/Outlook/Outlook.pst
SDReadSeqNo=5 fd=784
Director connected at: 02-May-19 12:04
====
Terminated Jobs:
JobId Level Files Bytes Status Finished Name
======================================================================
296269 Full 2,053 10.97 G Error 30-Apr-19 01:17 lsaless
296309 Full 10,154 18.41 G OK 30-Apr-19 17:20 lsaless
296309 Full 10,156 18.43 G OK 30-Apr-19 22:59 lsaless
296309 Full 10,156 18.43 G OK 01-May-19 04:24 lsaless
296309 Full 10,156 18.43 G OK 01-May-19 11:36 lsaless
296309 Full 10,157 18.43 G OK 01-May-19 14:03 lsaless
296309 Full 10,157 18.46 G OK 01-May-19 16:13 lsaless
296309 Full 2,048 1.606 G Cancel 01-May-19 17:00 lsaless
296537 Full 7,955 17.21 G Error 02-May-19 02:02 lsaless
296537 Full 10,147 18.43 G OK 02-May-19 08:28 lsaless
====
You have messages.
*
_______________________________________________
Bacula-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bacula-users
_______________________________________________
Bacula-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bacula-users