Zimbra offers Open Source email server software and shared calendar for Linux and the Mac
Go Back   Zimbra :: Forums > Zimbra Collaboration Suite > Administrators

Welcome to the Zimbra :: Forums!
Welcome, if you would like to post a comment please register. We also encourage you to explore all things Zimbra with our team and members of the community.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 11-20-2009, 02:14 AM
Senior Member
 
Posts: 54
Exclamation panik: one special file in briefcase crahes mailboxd : how to remove?

Release 6.0.2_GA_1912.UBUNTU8_64 UBUNTU8_64 FOSS edition.

Yesterday evening I uploaded a copy of my local documents-structure to my zimbra-accout using webdav.

Now I cant access zimbra anymore:

$ zmcontrol status
Host zimbra.goldfisch.at
antispam Running
antivirus Running
antivius Stopped
ldap Running
logger Running
mailbox Stopped
zmmailboxdctl is not running.
mta Running
snmp Running
spell Running
stats Running

and when I look into /opt/zimbra/log/mailbox.log

2009-11-20 10:00:02,376 FATAL [btpool0-2://zimbra.goldfisch.at/dav/peter%40zimbra.goldfisch.at/Briefcase/dokumente/firma/projekte/alt/IHF/webmirror/page.tgz
] [aname=peter@zimbra.goldfisch.at;ip=84.112.103.139; ua=davfs2/1.3.3 neon/0.28.2;] system - Aborting process
java.io.EOFException: Unexpected end of ZLIB input stream
at java.util.zip.InflaterInputStream.fill(InflaterInp utStream.java:223)
at java.util.zip.InflaterInputStream.read(InflaterInp utStream.java:141)
at java.util.zip.GZIPInputStream.read(GZIPInputStream .java:92)
at java.security.DigestInputStream.read(DigestInputSt ream.java:144)
at java.io.FilterInputStream.read(FilterInputStream.j ava:90)
at com.zimbra.common.util.CalculatorStream.read(Calcu latorStream.java:84)
at com.zimbra.common.util.FileUtil.uncompress(FileUti l.java:119)
at com.zimbra.cs.store.UncompressedFileCache.uncompre ssToTempFile(UncompressedFileCache.java:177)
at com.zimbra.cs.store.UncompressedFileCache.get(Unco mpressedFileCache.java:147)
at com.zimbra.cs.store.FileDescriptorCache.getSharedF ile(FileDescriptorCache.java:130)
at com.zimbra.cs.store.FileDescriptorCache.getLength( FileDescriptorCache.java:148)
at com.zimbra.cs.store.BlobInputStream.<init>(BlobInp utStream.java:128)
at com.zimbra.cs.store.BlobInputStream.<init>(BlobInp utStream.java:72)
at com.zimbra.cs.store.file.FileBlobStore.getContent( FileBlobStore.java:325)
at com.zimbra.cs.store.file.FileBlobStore.getContent( FileBlobStore.java:319)
at com.zimbra.cs.store.MailboxBlobDataSource.getInput Stream(MailboxBlobDataSource.java:42)
at com.zimbra.cs.redolog.op.RedoableOpData.getInputSt ream(RedoableOpData.java:64)

By now I dont care how to fix this ZLIB-bug, I just need to get zimbra get online again. Its weird that one file seems to bring the whole zimbra down.

I cant delete the file via webdav cause mailboxd is not running and zmmailbox needs mailboxd running as well.

Am I doomed?
At least I'm definitely panicking !!

peter

ps: I tried to restart zimbra with zmcontrol and even /etc/init.d/zimbra stop|start as root
Reply With Quote
  #2 (permalink)  
Old 11-20-2009, 01:08 PM
Moderator
 
Posts: 1,147
Default

What error(s) do you see in the log when you try to start Zimbra?
Reply With Quote
  #3 (permalink)  
Old 11-21-2009, 01:38 AM
Senior Member
 
Posts: 54
Default confirmed bug, workaround found

This is a confirmed bug in the meantime, but the problem is not as severe as it seemed in the beginning.

The file really makes mailboxd crash, but its not stored in the briefcase so there is no need to remove it. The webdav-client had the file still in its cache and whenever mailboxd was started again, the smart client tried to "upload" the file and made mailboxd crash again. (at least dav2fs under linux is prepared for interrupted networkconnections and server-downtime and will sync its cache after reconnecting)

Solution: unmounting/disconnecting the webdav-client *and* (this is very important) manually purging its cache. the webdav2-filesystem in linux maintains a disk-based cache and even if you delete the problem-file on your harddisk, its still in the cache and will make mailboxd crash again and again ....

see details at : https://bugzilla.zimbra.com/show_bug.cgi?id=42833

the bug is still serious but if you disconnect the webdav-client/clean its cache you can at least start zimbra again.
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads

Why Join?

Registering let's you ask questions, makes it easier to search, displays any files attached to posts, and notifies you about replies.

blog.zimbra.com




 

SEO by vBSEO ©2011, Crawlability, Inc.