I have a ZCS 6.0.5 GA installed on a Ubuntu 6.06 LTS 32bit and is going to make a sandbox for test purpose (upgrade test)

I've made a virtual server with Ubuntu 8.04 LTS 64bit, installed the Zimbra 6.0.5 GA 64bit edition.

What I've done so fare:

Extracted a localconfig.dump and
copied the last full backup from production environment.

Made a new virtual machine in a hostonly environment.

Installed and configured a DNS with MX settings etc. to reflect the production environment.
Installed the needed packages.

Installed Zimbra 6.0.5 GA.


I've tried restore the backup as described in 'Administrator's Guide Chapter 16 Backup and Restore'
Even the zmrestoreoffline and zmrestore has been tried out

The result is the same, it ends up with an error
Code:
java.io.FileNotFoundException: link(/opt1/zimbra/store/0/49/msg/0/1247-1311.msg, /opt1/zimbra/store/0/49/msg/0/1247-1311.msg): No such file or directory
The scary part is, that the msg number is not the same every time.

As a desperate search for the error, I installed all of it on a native machine, just to eliminate any errors in the virtual environment. The results are the same.

Is there anybody who has an idea of what to do to solve this problem?

Looking forward to hear from any of you.

Best regard

Brian



Printout from mailbox.log:

Code:
2013-01-25 11:04:12,695 INFO  [main] [] io - AsyncFileCopier is starting

2013-01-25 11:04:12,952 INFO  [main] [] backup - restoring system-wide tables and local config from backup full-20130119.000011.512

2013-01-25 11:04:13,310 INFO  [main] [name=XXX@company.dk;] backup - Restore started for account XXX@company.dk (2272dd3c-c4d1-4e7a-8575-e11556efd49c) original mailbox id 49

2013-01-25 11:04:15,138 INFO  [main] [name=XXX@company.dk;] index - Initialized Index for mailbox 49 directory: LuceneIndex at com.zimbra.cs.index.Z23FSDirectory@/opt1/zimbra/index/0/49/index/0 Analyzer=com.zimbra.cs.index.ZimbraAnalyzer@1a87ad67

2013-01-25 11:04:15,138 INFO  [main] [name=XXX@company.dk;] cache - initializing folder and tag caches for mailbox 49

2013-01-25 11:04:16,235 INFO  [main] [name=XXX@company.dk;] mbxmgr - Mailbox 49 account 2272dd3c-c4d1-4e7a-8575-e11556efd49c LOADED

2013-01-25 11:04:16,236 INFO  [main] [name=XXX@company.dk;] mailbox - Locking mailbox 49 for maintenance.

2013-01-25 11:04:16,236 INFO  [main] [name=XXX@company.dk;] mailbox - clearing contents of mailbox 49, group 49

2013-01-25 11:04:36,343 INFO  [main] [name=XXX@company.dk;] sqltrace - Slow execution (19229ms): DELETE FROM mboxgroup49.mail_item WHERE mailbox_id = 49

2013-01-25 11:04:36,712 INFO  [main] [name=XXX@company.dk;] backup - Restoring to mailbox id 49 for existing account 2272dd3c-c4d1-4e7a-8575-e11556efd49c.

2013-01-25 11:05:02,917 INFO  [main] [name=XXX@company.dk;mid=49;] sqltrace - Slow execution (18584ms): LOAD DATA LOCAL INFILE '/opt/zimbra/backup/tmp/restore/shared_blobs/temp/dbfix5102906540554566010.tmp' REPLACE INTO TABLE mboxgroup49.mail_item FIELDS TERMINATED BY ',' OPTIONALLY ENCLOSED BY '"' LINES TERMINATED BY '\n' (mailbox_id, id, type, parent_id, folder_id, index_id, imap_id, date, size, volume_id, blob_digest, unread, flags, tags, sender, subject, name, metadata, mod_metadata, change_date, mod_content)

2013-01-25 11:05:04,182 INFO  [main] [name=XXX@company.dk;mid=49;] backup - Deleting directory /opt/zimbra/store/0/49/msg

2013-01-25 11:05:35,603 INFO  [main] [name=XXX@company.dk;mid=49;] backup - Deleting directory /opt1/zimbra/store/0/49/msg

2013-01-25 11:06:28,047 INFO  [main] [name=XXX@company.dk;mid=49;] mailbox - Ending maintenance and marking mailbox 49 as unavailable.

2013-01-25 11:06:28,047 INFO  [main] [name=XXX@company.dk;mid=49;] backup - Account XXX@company.dk: All pending file IO completed (0 out of 0)

2013-01-25 11:06:28,048 WARN  [main] [name=XXX@company.dk;mid=49;] backup - Error occurred during restore account XXX@company.dk (2272dd3c-c4d1-4e7a-8575-e11556efd49c)

java.io.FileNotFoundException: link(/opt1/zimbra/store/0/49/msg/0/1247-1311.msg, /opt1/zimbra/store/0/49/msg/0/1247-1311.msg): No such file or directory

	at com.zimbra.znative.IO.link0(Native Method)

	at com.zimbra.znative.IO.link(IO.java:88)

	at com.zimbra.cs.backup.util.Utils.link(Utils.java:213)

	at com.zimbra.cs.backup.FileBackupTarget$RestoreAcctSession.loadBlob(FileBackupTarget.java:2266)

	at com.zimbra.cs.backup.RestoreAccountSession.loadBlobsImpl(RestoreAccountSession.java:796)

	at com.zimbra.cs.backup.FileBackupTarget$RestoreAcctSession.loadBlobs(FileBackupTarget.java:2228)

	at com.zimbra.cs.backup.RestoreAccountSession.startRestore(RestoreAccountSession.java:208)

	at com.zimbra.cs.backup.FileBackupTarget.restore(FileBackupTarget.java:480)

	at com.zimbra.cs.backup.BackupManager.restore(BackupManager.java:805)

	at com.zimbra.cs.backup.RestoreOfflineUtil.restore(RestoreOfflineUtil.java:163)

	at com.zimbra.cs.backup.RestoreOfflineUtil.main(RestoreOfflineUtil.java:49)

2013-01-25 11:06:28,062 INFO  [main] [] io - AsyncFileCopier is shut down

2013-01-25 11:06:28,341 WARN  [main] [] backup - Error during restore

java.io.FileNotFoundException: link(/opt1/zimbra/store/0/49/msg/0/1247-1311.msg, /opt1/zimbra/store/0/49/msg/0/1247-1311.msg): No such file or directory

	at com.zimbra.znative.IO.link0(Native Method)

	at com.zimbra.znative.IO.link(IO.java:88)

	at com.zimbra.cs.backup.util.Utils.link(Utils.java:213)

	at com.zimbra.cs.backup.FileBackupTarget$RestoreAcctSession.loadBlob(FileBackupTarget.java:2266)

	at com.zimbra.cs.backup.RestoreAccountSession.loadBlobsImpl(RestoreAccountSession.java:796)

	at com.zimbra.cs.backup.FileBackupTarget$RestoreAcctSession.loadBlobs(FileBackupTarget.java:2228)

	at com.zimbra.cs.backup.RestoreAccountSession.startRestore(RestoreAccountSession.java:208)

	at com.zimbra.cs.backup.FileBackupTarget.restore(FileBackupTarget.java:480)

	at com.zimbra.cs.backup.BackupManager.restore(BackupManager.java:805)

	at com.zimbra.cs.backup.RestoreOfflineUtil.restore(RestoreOfflineUtil.java:163)

	at com.zimbra.cs.backup.RestoreOfflineUtil.main(RestoreOfflineUtil.java:49)

2013-01-25 11:06:28,341 INFO  [IndexReadersCache-Sweeper] [] IndexReadersCache - IndexReadersCache-Sweeper thread exiting

2013-01-25 11:06:28,344 INFO  [main] [] extensions - Destroying extensions

2013-01-25 11:06:28,349 INFO  [main] [] extensions - Destroyed extension convertd: com.zimbra.cs.convert.ConverterExten...un.misc.Launcher$ExtClassLoader@2c2bbd86

2013-01-25 11:06:28,350 INFO  [main] [] extensions - Destroyed extension hsm: com.zimbra.cs.hsm.HsmInitializer@sun.misc.Launcher$ExtClassLoader@2c2bbd86

2013-01-25 11:06:28,350 INFO  [main] [] extensions - Destroyed extension zimbrasamba: com.zimbra.ldaputils.ZimbraLDAPUtils...un.misc.Launcher$ExtClassLoader@2c2bbd86

2013-01-25 11:06:28,350 INFO  [main] [] mboxmove - Handler at /backup/mboximport shutting down

2013-01-25 11:06:28,350 INFO  [main] [] extensions - Destroyed extension backup: com.zimbra.cs.backup.BackupExtension@sun.misc.Launcher$ExtClassLoader@2c2bbd86

2013-01-25 11:06:28,351 INFO  [main] [] extensions - Destroyed extension nginx-lookup: com.zimbra.cs.nginx.NginxLookupExten...un.misc.Launcher$ExtClassLoader@2c2bbd86

2013-01-25 11:06:28,351 INFO  [main] [] extensions - Destroyed extension com_zimbra_bulkprovision: com.zimbra.bp.ZimbraBulkProvisionExt@sun.misc.Launcher$ExtClassLoader@2c2bbd86

2013-01-25 11:06:28,351 INFO  [main] [] extensions - Destroyed extension versioncheck: com.zimbra.cs.versioncheck.VersionCh...un.misc.Launcher$ExtClassLoader@2c2bbd86

2013-01-25 11:06:28,351 INFO  [main] [] extensions - Destroyed extension ZimbraIMInterop: com.zimbra.iminterop.ZimbraInteropEx...un.misc.Launcher$ExtClassLoader@2c2bbd86

2013-01-25 11:06:28,351 INFO  [main] [] extensions - Destroyed extension clamscanner: com.zimbra.clam.ClamScanner@sun.misc.Launcher$ExtClassLoader@2c2bbd86

2013-01-25 11:06:28,351 INFO  [main] [] extensions - Destroyed extension : com.zimbra.cs.network.NetworkInitial...un.misc.Launcher$ExtClassLoader@2c2bbd86

2013-01-25 11:06:28,351 INFO  [main] [] extensions - Destroyed extension license: com.zimbra.cs.network.license.Licens...un.misc.Launcher$ExtClassLoader@2c2bbd86

2013-01-25 11:06:28,351 INFO  [main] [] extensions - Destroyed extension archive: com.zimbra.cs.archive.ArchiveInitial...un.misc.Launcher$ExtClassLoader@2c2bbd86

2013-01-25 11:06:28,351 INFO  [main] [] extensions - Destroyed extension com_zimbra_cert_manager: com.zimbra.cert.ZimbraCertMgrExt@sun.misc.Launcher$ExtClassLoader@2c2bbd86

2013-01-25 11:06:28,351 INFO  [main] [] extensions - Destroyed extension zimbrasync: com.zimbra.zimbrasync.ZimbraSync@sun.misc.Launcher$ExtClassLoader@2c2bbd86

2013-01-25 11:06:28,351 INFO  [main] [] extensions - Destroyed extension voice: com.zimbra.cs.voice.VoiceExtension@sun.misc.Launcher$ExtClassLoader@2c2bbd86

2013-01-25 11:06:28,351 INFO  [main] [] index - Shutting down IndexHelper thread pools....

2013-01-25 11:06:28,351 INFO  [main] [] index - ...ReIndexing threadpool shutdown completed.

2013-01-25 11:06:28,352 INFO  [main] [] index - ...IndexingCompleted threadpool shutdown completed.

2013-01-25 11:06:28,352 WARN  [main] [] ZimbraHttpConnectionManager - shutting down http client idle connection reaper thread