Results 1 to 4 of 4

Thread: Incremental Backup Fails

  1. #1
    jch2os is offline Intermediate Member
    Join Date
    May 2007
    Posts
    15
    Rep Power
    8

    Default Incremental Backup Fails

    The full backups work fine. but every night the incrementals fail. This is the error message.

    Label: incr-20131205.060025.529
    Type: incremental
    Status: completed (with errors)
    Started: Thu, 2013/12/05 01:00:25.529 EST
    Ended: Thu, 2013/12/05 01:00:58.157 EST
    Redo log sequence range: -1 .. ?
    Number of accounts: 99
    Number of errors: 1


    ERRORS

    system: Redolog is smaller than header length of 512 bytes
    java.io.IOException: Redolog is smaller than header length of 512 bytes
    at com.zimbra.cs.redolog.logger.FileHeader.read(FileH eader.java:111)
    at com.zimbra.cs.redolog.logger.FileLogReader.open(Fi leLogReader.java:67)
    at com.zimbra.cs.redolog.logger.FileLogReader.getHead er(FileLogReader.java:80)
    at com.zimbra.cs.backup.util.Utils.splitRedoLogsAtSeq (Utils.java:281)
    at com.zimbra.cs.backup.FileBackupTarget$FileBackupSe t.backupRedoLogs(FileBackupTarget.java:1278)
    at com.zimbra.cs.backup.BackupSet.startIncrementalBac kup(BackupSet.java:817)
    at com.zimbra.cs.backup.FileBackupTarget$FileBackupSe t.startIncrementalBackup(FileBackupTarget.java:107 2)
    at com.zimbra.cs.backup.BackupManager.backupIncrement al(BackupManager.java:335)
    at com.zimbra.cs.service.backup.Backup.handleNetworkR equest(Backup.java:153)
    at com.zimbra.cs.service.NetworkDocumentHandler.handl e(NetworkDocumentHandler.java:23)
    at com.zimbra.soap.SoapEngine.dispatchRequest(SoapEng ine.java:522)
    at com.zimbra.soap.SoapEngine.dispatch(SoapEngine.jav a:385)
    at com.zimbra.soap.SoapEngine.dispatch(SoapEngine.jav a:258)
    at com.zimbra.soap.SoapServlet.doWork(SoapServlet.jav a:293)
    at com.zimbra.soap.SoapServlet.doPost(SoapServlet.jav a:209)
    at javax.servlet.http.HttpServlet.service(HttpServlet .java:727)
    at com.zimbra.cs.servlet.ZimbraServlet.service(Zimbra Servlet.java:208)
    at javax.servlet.http.HttpServlet.service(HttpServlet .java:820)
    at org.eclipse.jetty.servlet.ServletHolder.handle(Ser vletHolder.java:654)
    at org.eclipse.jetty.servlet.ServletHandler$CachedCha in.doFilter(ServletHandler.java:1320)
    at com.zimbra.cs.servlet.RequestStringFilter.doFilter (RequestStringFilter.java:52)
    at org.eclipse.jetty.servlet.ServletHandler$CachedCha in.doFilter(ServletHandler.java:1291)
    at com.zimbra.cs.servlet.SetHeaderFilter.doFilter(Set HeaderFilter.java:57)
    at org.eclipse.jetty.servlet.ServletHandler$CachedCha in.doFilter(ServletHandler.java:1291)
    at org.eclipse.jetty.servlets.UserAgentFilter.doFilte r(UserAgentFilter.java:82)
    at org.eclipse.jetty.servlets.GzipFilter.doFilter(Gzi pFilter.java:256)
    at org.eclipse.jetty.servlet.ServletHandler$CachedCha in.doFilter(ServletHandler.java:1291)
    at com.zimbra.cs.servlet.ETagHeaderFilter.doFilter(ET agHeaderFilter.java:45)
    at org.eclipse.jetty.servlet.ServletHandler$CachedCha in.doFilter(ServletHandler.java:1291)
    at com.zimbra.cs.servlet.ZimbraQoSFilter.doFilter(Zim braQoSFilter.java:105)
    at org.eclipse.jetty.servlet.ServletHandler$CachedCha in.doFilter(ServletHandler.java:1291)
    at org.eclipse.jetty.servlets.DoSFilter.doFilterChain (DoSFilter.java:474)
    at org.eclipse.jetty.servlets.DoSFilter.doFilter(DoSF ilter.java:345)
    at org.eclipse.jetty.servlets.DoSFilter.doFilter(DoSF ilter.java:316)
    at org.eclipse.jetty.servlet.ServletHandler$CachedCha in.doFilter(ServletHandler.java:1291)
    at org.eclipse.jetty.servlet.ServletHandler.doHandle( ServletHandler.java:443)
    at org.eclipse.jetty.server.handler.ScopedHandler.han dle(ScopedHandler.java:137)
    at org.eclipse.jetty.security.SecurityHandler.handle( SecurityHandler.java:556)
    at org.eclipse.jetty.server.session.SessionHandler.do Handle(SessionHandler.java:227)
    at org.eclipse.jetty.server.handler.ContextHandler.do Handle(ContextHandler.java:1044)
    at org.eclipse.jetty.servlet.ServletHandler.doScope(S ervletHandler.java:372)
    at org.eclipse.jetty.server.session.SessionHandler.do Scope(SessionHandler.java:189)
    at org.eclipse.jetty.server.handler.ContextHandler.do Scope(ContextHandler.java:978)
    at org.eclipse.jetty.server.handler.ScopedHandler.han dle(ScopedHandler.java:135)
    at org.eclipse.jetty.server.handler.ContextHandlerCol lection.handle(ContextHandlerCollection.java:255)
    at org.eclipse.jetty.server.handler.HandlerCollection .handle(HandlerCollection.java:154)
    at org.eclipse.jetty.server.handler.HandlerWrapper.ha ndle(HandlerWrapper.java:116)
    at org.eclipse.jetty.rewrite.handler.RewriteHandler.h andle(RewriteHandler.java:317)
    at org.eclipse.jetty.server.handler.DebugHandler.hand le(DebugHandler.java:81)
    at org.eclipse.jetty.server.handler.HandlerWrapper.ha ndle(HandlerWrapper.java:116)
    at org.eclipse.jetty.server.Server.handle(Server.java :369)
    at org.eclipse.jetty.server.AbstractHttpConnection.ha ndleRequest(AbstractHttpConnection.java:486)
    at org.eclipse.jetty.server.AbstractHttpConnection.co ntent(AbstractHttpConnection.java:944)
    at org.eclipse.jetty.server.AbstractHttpConnection$Re questHandler.content(AbstractHttpConnection.java:1 005)
    at org.eclipse.jetty.http.HttpParser.parseNext(HttpPa rser.java:865)
    at org.eclipse.jetty.http.HttpParser.parseAvailable(H ttpParser.java:240)
    at org.eclipse.jetty.server.AsyncHttpConnection.handl e(AsyncHttpConnection.java:82)
    at org.eclipse.jetty.io.nio.SslConnection.handle(SslC onnection.java:196)
    at org.eclipse.jetty.io.nio.SelectChannelEndPoint.han dle(SelectChannelEndPoint.java:668)
    at org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.r un(SelectChannelEndPoint.java:52)
    at org.eclipse.jetty.util.thread.QueuedThreadPool.run Job(QueuedThreadPool.java:608)
    at org.eclipse.jetty.util.thread.QueuedThreadPool$3.r un(QueuedThreadPool.java:543)
    at java.lang.Thread.run(Thread.java:724)


    This is zimbra 8.0.5 on Ubuntu 12.04 LTS.

    This is what my redo log directory looks like
    root@mail:/opt/zimbra/redolog# ls -l
    total 127760
    drwxr-x--- 2 zimbra zimbra 4096 Dec 9 01:00 archive
    -rw-r----- 1 zimbra zimbra 130813958 Dec 9 08:52 redo.log

    and the archive

    root@mail:/opt/zimbra/redolog/archive# ls -l
    total 5641804
    -rw------- 1 zimbra zimbra 309 Nov 7 16:51 redo-20131101.050038.869-seq981.log
    -rw-r----- 1 zimbra zimbra 22928286 Nov 7 17:31 redo-20131107.223155.209-seq988.log
    -rw-r----- 1 zimbra zimbra 22944774 Nov 7 20:37 redo-20131108.013730.509-seq989.log
    -rw-r----- 1 zimbra zimbra 19603402 Nov 8 07:06 redo-20131108.120644.902-seq990.log
    -rw-r----- 1 zimbra zimbra 175736634 Nov 9 06:27 redo-20131109.112757.091-seq991.log
    -rw-r----- 1 zimbra zimbra 14817128 Nov 10 01:00 redo-20131110.060040.511-seq992.log
    -rw-r----- 1 zimbra zimbra 531444 Nov 10 07:01 redo-20131110.120125.811-seq993.log
    -rw-r----- 1 zimbra zimbra 21432125 Nov 11 01:00 redo-20131111.060032.913-seq994.log
    -rw-r----- 1 zimbra zimbra 1075859971 Nov 18 09:01 redo-20131118.140155.119-seq995.log
    -rw-r----- 1 zimbra zimbra 1083590650 Nov 21 11:14 redo-20131121.161400.551-seq996.log
    -rw-r----- 1 zimbra zimbra 1074241646 Nov 22 15:43 redo-20131122.204336.611-seq997.log
    -rw-r----- 1 zimbra zimbra 177221105 Nov 24 01:00 redo-20131124.060032.117-seq998.log
    -rw-r----- 1 zimbra zimbra 20772959 Nov 25 01:00 redo-20131125.060028.671-seq999.log
    -rw-r----- 1 zimbra zimbra 111313913 Nov 25 12:38 redo-20131125.173859.007-seq1000.log
    -rw-r----- 1 zimbra zimbra 1132490 Nov 25 12:39 redo-20131125.173927.794-seq1001.log
    -rw-r----- 1 zimbra zimbra 4304228 Nov 25 12:44 redo-20131125.174424.843-seq1002.log
    -rw-r----- 1 zimbra zimbra 214994 Nov 25 12:47 redo-20131125.174753.665-seq1003.log
    -rw-r----- 1 zimbra zimbra 170295 Nov 25 12:52 redo-20131125.175222.967-seq1004.log
    -rw-r----- 1 zimbra zimbra 196004 Nov 25 12:58 redo-20131125.175816.029-seq1005.log
    -rw-r----- 1 zimbra zimbra 24453235 Nov 25 14:57 redo-20131125.195707.491-seq1006.log
    -rw-r----- 1 zimbra zimbra 105082306 Nov 26 01:00 redo-20131126.060031.011-seq1007.log
    -rw-r----- 1 zimbra zimbra 156363041 Nov 27 01:00 redo-20131127.060027.158-seq1008.log
    -rw-r----- 1 zimbra zimbra 207849728 Nov 28 01:00 redo-20131128.060025.983-seq1009.log
    -rw-r----- 1 zimbra zimbra 36803148 Nov 29 01:00 redo-20131129.060026.278-seq1010.log
    -rw-r----- 1 zimbra zimbra 294731807 Dec 1 01:00 redo-20131201.060031.882-seq1011.log
    -rw-r----- 1 zimbra zimbra 24947479 Dec 2 01:00 redo-20131202.060030.134-seq1012.log
    -rw-r----- 1 zimbra zimbra 141297465 Dec 3 01:00 redo-20131203.060028.429-seq1013.log
    -rw-r----- 1 zimbra zimbra 217853705 Dec 4 01:00 redo-20131204.060027.829-seq1014.log
    -rw-r----- 1 zimbra zimbra 249391499 Dec 5 01:00 redo-20131205.060030.758-seq1015.log
    -rw-r----- 1 zimbra zimbra 124883217 Dec 6 01:00 redo-20131206.060032.902-seq1016.log
    -rw-r----- 1 zimbra zimbra 340706843 Dec 8 01:00 redo-20131208.060034.621-seq1017.log
    -rw-r----- 1 zimbra zimbra 20613538 Dec 8 20:04 redo-20131209.010446.551-seq1018.log
    -rw-r----- 1 zimbra zimbra 176555 Dec 8 20:24 redo-20131209.012450.714-seq1019.log
    -rw-r----- 1 zimbra zimbra 4847787 Dec 9 01:00 redo-20131209.060036.656-seq1020.log


    Please let me know if you need anything else!

  2. #2
    phoenix is offline Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,585
    Rep Power
    57

    Default

    Quote Originally Posted by jch2os View Post
    The full backups work fine. but every night the incrementals fail. This is the error message.
    How about these results from a forum search?
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  3. #3
    jch2os is offline Intermediate Member
    Join Date
    May 2007
    Posts
    15
    Rep Power
    8

    Default

    I did try the first result, [SOLVED] Error: Redolog is smaller than header length of 512 bytes which was my problem, but that didn't fix my issue. Any other thoughts? Thanks.

  4. #4
    jch2os is offline Intermediate Member
    Join Date
    May 2007
    Posts
    15
    Rep Power
    8

    Default

    Ok I fixed it by renaming the archive folder to archive-old and then making a new folder and setting the permissions

    cd /opt/zimbra/redolog
    mv archive archive-old
    mkdir archive
    chown zimbra:zimbra archive
    chmod 750 archive

    Then I tried doing another incremental backup and it worked!

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 2
    Last Post: 09-22-2011, 01:44 AM
  2. Backup using incremental method
    By jayarajmohan in forum Administrators
    Replies: 1
    Last Post: 10-25-2010, 11:45 PM
  3. Replies: 0
    Last Post: 04-14-2010, 04:15 PM
  4. Incremental Backup Frequency
    By cjstone in forum Administrators
    Replies: 7
    Last Post: 09-17-2008, 10:44 AM
  5. Incremental Backup Target
    By lstroud in forum Administrators
    Replies: 5
    Last Post: 08-19-2008, 01:49 PM

Posting Permissions

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