LMDB: Failed to put data (MDB_CORREPTED: located page was wrong type)


#1

Hi all,

Server Version: 2.2.11
Client Version: 2.2.6
OS: CentOS 7.4 (both client and server running on the same machine)
UrBackup repository: Through SAMBA Share

Please help me out to fix this, backup's are not running for last one week.

I getting an error like below and server service also going to failed state when backup going to complete.

2018-08-03 20:12:28: ERROR: LMDB: Failed to put data (MDB_CORRUPTED: Located page was wrong type)
2018-08-03 20:12:28: ERROR: LMDB had error on BAD_TXN (on commit). Aborting...

and after restarting the server sevice during the startup-recovery

2018-08-03 15:53:22: ERROR: Error removing symlink dir "/ur_repo/Punarvasu.localdomain/180803-1538.startup-del/Jan 16/Vinon/pg vino/phots"
2018-08-03 15:53:22: WARNING: Directory link "/ur_repo/Punarvasu.localdomain/180803-1538.startup-del/Jan 16/Vinon/pg vino/vion" with pool path "/ur_repo/Punarvasu.localdomain/.directory_pool/Eu/EugYSKI7QY1533291467757413" not found in database. Deleting symlink only.
2018-08-03 15:53:22: ERROR: Error removing symlink dir "/ur_repo/Punarvasu.localdomain/180803-1538.startup-del/Jan 16/Vinon/pg vino/vion"
2018-08-03 15:53:31: WARNING: Shutting down (Signal 15)

Thanks
GuGu


#2

Delete /var/urbackup/fileindex, then restart and wait for it to rebuild it.


#3

Thanks, Fixed.