Results 1 to 2 of 2

Thread: [SOLVED] UnsatisfiedLinkError when restoring from backups

  1. #1
    Join Date
    Mar 2006
    Rep Power

    Default [SOLVED] UnsatisfiedLinkError when restoring from backups

    I am restoring a system installed on x86 Ubuntu onto a x86_64 RHEL 5.0 box. All goes well until I run 'zmrestoreoffline -sys -a all -c -b' and get the following exception:

    Fatal error: terminating: Failed to loadLibrary(zimbra-native)
    java.lang.UnsatisfiedLinkError: no zimbra-native in java.library.path
            at java.lang.ClassLoader.loadLibrary(
            at java.lang.Runtime.loadLibrary0(
            at java.lang.System.loadLibrary(
            at com.zimbra.znative.Util.loadLibrary(
            at com.zimbra.znative.Util.<clinit>(
            at com.zimbra.znative.IO.<clinit>(
            at com.zimbra.cs.mailbox.Mailbox.addMessageInternal(
            at com.zimbra.cs.mailbox.Mailbox.addMessage(
            at com.zimbra.cs.redolog.op.CreateMessage.redo(
            at com.zimbra.cs.redolog.RedoPlayer.playOp(
            at com.zimbra.cs.redolog.RedoPlayer.scanLog(
            at com.zimbra.cs.backup.RestoreAccountSession.playBackRedoOps(
            at com.zimbra.cs.backup.RestoreAccountSession.endRestore(
            at com.zimbra.cs.backup.FileBackupTarget$RestoreAcctSession.endRestore(
            at com.zimbra.cs.backup.FileBackupTarget.restore(
            at com.zimbra.cs.backup.BackupManager.restore(
            at com.zimbra.cs.backup.BackupManager.restore(
            at com.zimbra.cs.backup.RestoreOfflineUtil.restore(
            at com.zimbra.cs.backup.RestoreOfflineUtil.main(
    I fixed this by adding '-Djava.library.path=/opt/zimbra/lib' to the java invocation in '/opt/zimbra/bin/zmrestoreoffline'.

  2. #2
    Join Date
    May 2006
    Rep Power


    This was fixed in ZCS 5.0.6: Bug 27617 - Zmrestoreoffline: exception raised on accounts with share messages
    Quote Originally Posted by solarsail View Post
    I fixed this by adding '-Djava.library.path=/opt/zimbra/lib' to the java invocation in '/opt/zimbra/bin/zmrestoreoffline'.
    To zmrestoreoffline
    under this line:
    -Xms${jm}m -Xmx${jm}m ${mailboxd_java_options}
    add the following lines:
    -Dzimbra.home=${zimbra_home} \
    -Djava.library.path=${zimbra_home}/lib \
    Last edited by mmorse; 06-30-2008 at 02:45 PM.

Similar Threads

  1. Restoring mails, folders and calendars
    By iain in forum Administrators
    Replies: 3
    Last Post: 03-17-2008, 10:14 AM
  2. Restoring backups to future versions
    By dannylandulf in forum Installation
    Replies: 1
    Last Post: 02-08-2008, 05:33 PM
  3. Question about NE and Backups.
    By dougconley in forum Administrators
    Replies: 2
    Last Post: 12-17-2007, 11:56 PM
  4. Network Edition backups out of control
    By dameron in forum Administrators
    Replies: 1
    Last Post: 08-29-2007, 02:38 PM
  5. Problem when restoring from incremental backup
    By Eyfi in forum Administrators
    Replies: 4
    Last Post: 06-28-2007, 08:47 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts