BackupPC-users

[BackupPC-users] tdb_transaction_recover: attempt to recover read only database

2015-01-08 06:35:20
Subject: [BackupPC-users] tdb_transaction_recover: attempt to recover read only database
From: "G.W. Haywood" <backup AT jubileegroup.co DOT uk>
To: backuppc-users AT lists.sourceforge DOT net
Date: Thu, 8 Jan 2015 11:33:40 +0000 (GMT)
Hi there,

When attempting to back up Samba shares on a Linux host using BackupPC
version 3.2.0 (yes I know that's quite old:) and the 'smb' method, the
message given in the subject line appears frequently, followed by:

session setup failed: NT_STATUS_MORE_PROCESSING_REQUIRED

Backups are taken each day from this machine at about 0300, 0700, 1200
and 1900.  This has happened 37 times in the last three months, and of
the 37 failures, 27 were at 0300 which I find rather odd.  Only one was
at 1200 which is curiously the time when the server is likely to be at
its busiest.

BackupPC is running on the same host as the Samba server.  The shares
are also backed up remotely using rsync over a chain of (relatively
slow) wireless links, and that gives no trouble.

The other backup clients are all Windows boxes - a couple of servers
and a few dozen workstations, all conected via a gigabit LAN.  They
don't seem to give this problem, or if they do it's only rarely.

Nothing useful has appeared in my searches and the specific function
name does not seem to appear anywhere in the BackupPC list archives.

There are five Samba shares on the machine, see log extract below.
When one share backup fails, the other shares to be backed up in that
backup run are not even attempted - but there are usable backups, so
this isn't a great worry.

Clues how to start debugging it would be gratefully received.

[LOG EXTRACT]
Running: /usr/local/samba/bin/smbclient \\\\p\\Accounts -U xxx\\xx \
-E -c tarmode\ full -c tarmode errorskip \
-TcNrX /data/BackupPC/pc/p/timeStamp.level0 - [skip list of excludes]
incr backup started back to 2015-01-01 18:12:01  (backup #159) for share 
Accounts
Xfer PIDs are now 19560,19559
Getting files newer than Thu Jan  1 18:12:01 2015
tar_re_search set
Domain=[xxx] OS=[Unix] Server=[Samba 3.6.24]
tarmode is now full, system, hidden, noreset, verbose, noerrorskip
...
...
tarExtract: Done: 0 errors, 8 filesExist, 5777272 sizeExist, \
3509976 sizeExistComp, 25 filesTotal, 8326008 sizeTotal
Running: /usr/local/samba/bin/smbclient \\\\p\\Documentation -U xxx\\xx \
-E -c tarmode\ full -c tarmode errorskip \
-TcNrX /data/BackupPC/pc/p/timeStamp.level0 - [skip list of excludes]
incr backup started back to 2015-01-01 18:12:01  (backup #159) for share 
Documentation
Xfer PIDs are now 19599,19598
Getting files newer than Thu Jan  1 18:12:01 2015
tar_re_search set
tdb(/usr/local/samba/var/locks/gencache.tdb): tdb_transaction_recover: attempt 
to recover read only database
tdb(/usr/local/samba/var/locks/gencache.tdb): tdb_transaction_recover: attempt 
to recover read only database
tdb(/usr/local/samba/var/locks/gencache.tdb): tdb_transaction_recover: attempt 
to recover read only database
tdb(/usr/local/samba/var/locks/gencache.tdb): tdb_transaction_recover: attempt 
to recover read only database
Domain=[xxx] OS=[Unix] Server=[Samba 3.6.24]
tarmode is now full, system, hidden, noreset, verbose, noerrorskip
...
...
tarExtract: Done: 0 errors, 4 filesExist, 430329 sizeExist, \
346860 sizeExistComp, 5 filesTotal, 561850 sizeTotal
Running: /usr/local/samba/bin/smbclient \\\\p\\Planning -U xxx\\xx \
-E -c tarmode\ full -c tarmode errorskip \
-TcNrX /data/BackupPC/pc/p/timeStamp.level0 - [skip list of excludes]
incr backup started back to 2015-01-01 18:12:01  (backup #159) for share 
Planning
Xfer PIDs are now 19621,19620
Getting files newer than Thu Jan  1 18:12:01 2015
tar_re_search set
Domain=[xxx] OS=[Unix] Server=[Samba 3.6.24]
tarmode is now full, system, hidden, noreset, verbose, noerrorskip
...
...
tarExtract: Done: 0 errors, 85 filesExist, 33816822 sizeExist, \
28382105 sizeExistComp, 88 filesTotal, 34390646 sizeTotal
Running: /usr/local/samba/bin/smbclient \\\\p\\Stores -U xxx\\xx \
-E -c tarmode\ full -c tarmode errorskip \
-TcNrX /data/BackupPC/pc/p/timeStamp.level0 - [skip list of excludes]
incr backup started back to 2015-01-01 18:12:01  (backup #159) for share Stores
Xfer PIDs are now 19745,19744
Getting files newer than Thu Jan  1 18:12:01 2015
tar_re_search set
tdb(/usr/local/samba/var/locks/gencache.tdb): tdb_transaction_recover: attempt 
to recover read only database
tdb(/usr/local/samba/var/locks/gencache.tdb): tdb_transaction_recover: attempt 
to recover read only database
tdb(/usr/local/samba/var/locks/gencache.tdb): tdb_transaction_recover: attempt 
to recover read only database
tdb(/usr/local/samba/var/locks/gencache.tdb): tdb_transaction_recover: attempt 
to recover read only database
session setup failed: NT_STATUS_MORE_PROCESSING_REQUIRED
did you forget to run kinit?
tdb(/usr/local/samba/var/locks/gencache_notrans.tdb): tdb_transaction_recover: 
attempt to recover read only database
tdb(/usr/local/samba/var/locks/gencache_notrans.tdb): tdb_transaction_recover: 
attempt to recover read only database
tdb(/usr/local/samba/var/locks/gencache_notrans.tdb): tdb_transaction_recover: 
attempt to recover read only database
tdb(/usr/local/samba/var/locks/gencache_notrans.tdb): tdb_transaction_recover: 
attempt to recover read only database
session setup failed: NT_STATUS_MORE_PROCESSING_REQUIRED
did you forget to run kinit?
tarExtract: Done: 0 errors, 0 filesExist, 0 sizeExist, \
0 sizeExistComp, 0 filesTotal, 0 sizeTotal
Got fatal error during xfer (did you forget to run kinit?)
Backup aborted (did you forget to run kinit?)
[/LOG EXTRACT]

-- 

73,
Ged.

------------------------------------------------------------------------------
Dive into the World of Parallel Programming! The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net
_______________________________________________
BackupPC-users mailing list
BackupPC-users AT lists.sourceforge DOT net
List:    https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:    http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/

<Prev in Thread] Current Thread [Next in Thread>