Re: [Bacula-users] Fatal error on catalogue backup

2020-02-26 Thread Ian Douglas
On Tuesday, 04 February 2020 17:58:26 SAST Martin Simmons wrote:

> It looks like your Storage Daemon (TapeServer) is runnning an older Bacula
> version than your Director (trooper-dir).  Bacula expects the versions to be
> the same.

Thanks, all working fine after yum update.

Cheers, Ian

-- 
i...@zti.co.za http://www.zti.co.za
Zero 2 Infinity - The net.works
Phone +27-21-975-7273




___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Fatal error on catalogue backup

2020-02-05 Thread Ian Douglas
On Tuesday, 04 February 2020 17:58:26 SAST Martin Simmons wrote:

> It looks like your Storage Daemon (TapeServer) is runnning an older Bacula
> version than your Director (trooper-dir).  Bacula expects the versions to be
> the same.

Ah. I thought it was perhaps some piece of hardware like a cable or somesuch.

Will investigate tomorrow and hope CentOS will have compatible version.

Director is running on Gentoo and Tape director Centos 7 IIRC. Suppose mixing 
a rolling release with a non-rolling release was not my brightest idea.

Thanks, Ian

-- 
i...@zti.co.za http://www.zti.co.za
Zero 2 Infinity - The net.works
Phone +27-21-975-7273




___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Fatal error on catalogue backup

2020-02-04 Thread Martin Simmons
> On Sat, 01 Feb 2020 00:15:07 +0200, Ian Douglas said:
> 
> hi all
> 
> Can someone who knows please advise if this is an issue with my database, my 
> tape server, the tape machine, or the tape?
> 
> The director machine (this machine) died (power failure) without being shut 
> down properly.
> 
> Tape server is HP, as is tape drive. Tape was out of drive, and I shut down 
> tape machine and tape server manually (via power buttons) before UPS expired.
> 
> I've tried a few times, including restarting MariaDB and the tape machine.
> 
> Google search showed other people with similar issue, but few years ago.
> 
> Thanks, Ian
> 
> 01-Feb 00:04 trooper-dir JobId 33471: shell command: run BeforeJob "/usr/
> libexec/bacula/make_catalog_backup.pl MyCatalog"
> 01-Feb 00:04 trooper-dir JobId 33471: Start Backup JobId 33471, 
> Job=BackupCatalog.2020-02-01_00.04.11_10
> 01-Feb 00:04 trooper-dir JobId 33471: Using Device "LTO-6" to write.
> 01-Feb 00:05 TapeServer JobId 33471: Volume "IncDiff-0012" previously 
> written, 
> moving to end of data.
> 01-Feb 00:06 TapeServer JobId 33471: Ready to append to end of Volume 
> "IncDiff-0012" at file=1237.
> 01-Feb 00:06 trooper-dir JobId 33471: Fatal error: catreq.c:426 Invalid 
> Catalog request: CatReq JobId=33471 UpdateMedia VolName=IncDiff-0012 
> VolJobs=327 VolFiles=1237 VolBlocks=14646107 VolBytes=944849719296 
> VolABytes=0 
> VolHoleBytes=0 VolHoles=0 VolMounts=131 VolErrors=0 VolWrites=256589848 
> MaxVolBytes=0 EndTime=1580508390 VolStatus=Append Slot=0 relabel=0 
> InChanger=0 
> VolReadTime=15412473 VolWriteTime=93282860606 VolFirstWritten=0 VolType=2 
> VolParts=0 VolCloudParts=0 LastPartBytes=0 Enabled=1

It looks like your Storage Daemon (TapeServer) is runnning an older Bacula
version than your Director (trooper-dir).  Bacula expects the versions to be
the same.

__Martin


___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Fatal error on catalogue backup

2020-01-31 Thread Ian Douglas
hi all

Can someone who knows please advise if this is an issue with my database, my 
tape server, the tape machine, or the tape?

The director machine (this machine) died (power failure) without being shut 
down properly.

Tape server is HP, as is tape drive. Tape was out of drive, and I shut down 
tape machine and tape server manually (via power buttons) before UPS expired.

I've tried a few times, including restarting MariaDB and the tape machine.

Google search showed other people with similar issue, but few years ago.

Thanks, Ian

01-Feb 00:04 trooper-dir JobId 33471: shell command: run BeforeJob "/usr/
libexec/bacula/make_catalog_backup.pl MyCatalog"
01-Feb 00:04 trooper-dir JobId 33471: Start Backup JobId 33471, 
Job=BackupCatalog.2020-02-01_00.04.11_10
01-Feb 00:04 trooper-dir JobId 33471: Using Device "LTO-6" to write.
01-Feb 00:05 TapeServer JobId 33471: Volume "IncDiff-0012" previously written, 
moving to end of data.
01-Feb 00:06 TapeServer JobId 33471: Ready to append to end of Volume 
"IncDiff-0012" at file=1237.
01-Feb 00:06 trooper-dir JobId 33471: Fatal error: catreq.c:426 Invalid 
Catalog request: CatReq JobId=33471 UpdateMedia VolName=IncDiff-0012 
VolJobs=327 VolFiles=1237 VolBlocks=14646107 VolBytes=944849719296 VolABytes=0 
VolHoleBytes=0 VolHoles=0 VolMounts=131 VolErrors=0 VolWrites=256589848 
MaxVolBytes=0 EndTime=1580508390 VolStatus=Append Slot=0 relabel=0 InChanger=0 
VolReadTime=15412473 VolWriteTime=93282860606 VolFirstWritten=0 VolType=2 
VolParts=0 VolCloudParts=0 LastPartBytes=0 Enabled=1
01-Feb 00:06 trooper-fd JobId 33471: Fatal error: job.c:3015 Bad response from 
SD to Append Data command. Wanted 3000 OK data
, got len=491 msg="3903 Error append data: Error getting Volume info: 1990 
Invalid Catalog Request: CatReq JobId=33471 UpdateMedia VolName=IncDiff-0012 
VolJobs=327 VolFiles=1237 VolBlocks=14646107 VolBytes=944849719296 VolABytes=0 
VolHoleBytes=0 VolHoles=0 VolMounts=131 Vol"
01-Feb 00:06 TapeServer JobId 33471: Fatal error: Error getting Volume info: 
1990 Invalid Catalog Request: CatReq JobId=33471 UpdateMedia 
VolName=IncDiff-0012 VolJobs=327 VolFiles=1237 VolBlocks=14646107 
VolBytes=944849719296 VolABytes=0 VolHoleBytes=0 VolHoles=0 VolMounts=131 
VolErrors=0 VolWrites=256589848 MaxVolBytes=0 EndTime=1580508390 
VolStatus=Append Slot=0 relabel=0 InChanger=0 VolReadTime=15412473 
VolWriteTime=93282860606 VolFirstWritten=0 VolType=2 VolParts=0 
VolCloudParts=0 LastPartBytes=0 Enabled=1
01-Feb 00:06 trooper-dir JobId 33471: Error: Bacula trooper-dir 9.4.4 
(28May19):

[rest cut... normal job output stuff]

-- 
i...@zti.co.za http://www.zti.co.za
Zero 2 Infinity - The net.works
Phone +27-21-975-7273




___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Fatal error on catalogue backup

2020-01-31 Thread Ian Douglas
On Saturday, 01 February 2020 00:15:07 SAST you wrote:

> I've tried a few times, including restarting MariaDB and the tape machine.

I mean Postgresql. Keep forgetting Bacula runs with Postgresql :-)

Thanks, Ian

-- 
i...@zti.co.za http://www.zti.co.za
Zero 2 Infinity - The net.works
Phone +27-21-975-7273




___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users